Luca Zuccarini
3e91646d12
Animate depth from the right value on Taskbar All Apps launches.
...
`MyDepthController` in `QuickstepTransitionLauncher` assumes that we
want the background to always animate the same way, matching the rest
state of the workspace (depth == 0). However, in Taskbar All Apps the
background is visible, and depth != 0. We now initialize the one-off
`DepthController` for launches to take into account the latest depth set
by the top level `DepthController`, so there is no jumpcut at the
beginning of the animation.
Note that in my opinion we should use the same `DepthController` for all
cases, rather than having this one-off. I'm looking into the feasibility
of that change, but for now this fixes the issue at hand.
Fix: 292959100
Flag: N/A
Test: manual, see videos in the bug
Change-Id: Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca
(cherry picked from commit 627d67549f )
2023-07-27 13:33:21 +00:00
Luca Zuccarini
e2d31192a4
Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-qpr-dev am: cf5703f614 am: 79fff57106
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24209925
Change-Id: I32abafb8a87a7f9e4cb56f7f6240a5bcf472f9c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 11:42:19 +00:00
Luca Zuccarini
79fff57106
Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-qpr-dev am: cf5703f614
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24209925
Change-Id: If01e1bae7860e2bc8764a95a77add08f349a5831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 11:01:43 +00:00
Luca Zuccarini
cf5703f614
Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-qpr-dev
2023-07-27 09:58:26 +00:00
Brandon Dayauon
d28f3ad2bb
Merge "enable flags: ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev am: d6c00c7114 am: 446453603f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24163382
Change-Id: Ida795595d1c09e2d0e5c8a8d80278fbe47a0fa1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 00:35:00 +00:00
Brandon Dayauon
446453603f
Merge "enable flags: ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev am: d6c00c7114
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24163382
Change-Id: I7a773cfd6959eef080cb735b690bbd7e4d8d7eef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 23:24:31 +00:00
Android Build Coastguard Worker
204d223048
Snap for 10566461 from 372f88dd23 to udc-qpr1-release
...
Change-Id: Iad3535753bedd8247d378f8082481dc3d3d6403a
2023-07-26 23:19:37 +00:00
Brandon Dayauon
d6c00c7114
Merge "enable flags: ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev
2023-07-26 22:51:55 +00:00
Schneider Victor-tulias
9dfffc7df1
Merge "Fix flaky RuntimeException in CellLayout." into udc-qpr-dev am: 06ca4d9c6e am: 12c0933c6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24212787
Change-Id: Ibfce519ee888b3652e76eac6ac1b60d75c92867b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 22:17:24 +00:00
Schneider Victor-tulias
12c0933c6a
Merge "Fix flaky RuntimeException in CellLayout." into udc-qpr-dev am: 06ca4d9c6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24212787
Change-Id: Id4452b6a2ad19f09b112407c31762cfb2cd3f1e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 21:25:39 +00:00
Andy Wickham
be8981442a
Revert^2 "Change Overview Actions to round buttons."
...
f849f2856f
Fix: 293081298
Change-Id: Iaf1553770329ec3a6c6d8a2d9d81b60203e79ed8
2023-07-26 20:56:05 +00:00
Bill Yi
0aa222932a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7b62446d097c5c0cf9b0d627661f71f7b7e1ca02
2023-07-26 13:42:51 -07:00
Bill Yi
ca00f219c2
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I129f717c91f3f0cce914a9e6c0a0315ef3720cac
2023-07-26 13:41:04 -07:00
Schneider Victor-tulias
06ca4d9c6e
Merge "Fix flaky RuntimeException in CellLayout." into udc-qpr-dev
2023-07-26 20:35:15 +00:00
Liran Binyamin
f172c0b3b5
Set the stash handle bounds deterministically
...
The bounds of the bubble stash handle is calculated based on the bounds of
the bubble bar. The problem is that the bubble bar could be invisible, which
results in incorrect bounds set for the handle.
This change sets the bounds for the handle based on the width of the screen.
Fixes: 290992144
Test: Manual
- Remove bubbles
- Restart Launcher
- Open the bubble test app and double tap on a chat
- Observe that the handle animates in
Change-Id: Ida260014d59b88387de010891c18057f3b091e93
2023-07-26 15:38:58 -04:00
Liran Binyamin
95d84f5e06
Don't animate in the bubble bar unless there are bubbles
...
Fixes: 290608658
Test: Manual:
- Remove all bubbles
- Lock and unlock device
- Observe that bubble bar is not displayed
- Remove all bubbles
- Restart launcher process
- Observe that bubble bar is not displayed
Change-Id: I850d307394230968f86abc23ba0b4e94f55e10f0
2023-07-26 15:38:47 -04:00
Treehugger Robot
560d1dcf1a
Merge "Add one flaking view to alpha-jupms ignore list" into udc-qpr-dev am: 372f88dd23 am: 27b259a174
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24183862
Change-Id: I91c81d250fe377bd657ccdc7d3b3aa60cf8ee663
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 19:21:14 +00:00
Treehugger Robot
29809a1aaf
Merge changes I45b6f858,I28120248 into udc-qpr-dev am: 17988825f2 am: eebc14aef1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24180083
Change-Id: Iaa092606e44cec2550c631408ace321793202ba5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 19:21:04 +00:00
Ats Jenk
8057383830
Merge "Use hasBeenResumed() for checking if launcher is resumed" into udc-qpr-dev am: 38a7faf04e am: acec8ea55e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24182810
Change-Id: Ifa5663b45a1c5a110b7be7b75af63ca7342343f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 19:20:40 +00:00
Treehugger Robot
9ba1be46b9
Merge "Add jank monitor for CUJ_QUICK_SWITCH from home screen" into udc-qpr-dev am: 46c1b631d6 am: d71d9ee41e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24168094
Change-Id: I282136acd9971971abe2681680e2a553e736d23d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 19:15:23 +00:00
Treehugger Robot
27b259a174
Merge "Add one flaking view to alpha-jupms ignore list" into udc-qpr-dev am: 372f88dd23
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24183862
Change-Id: I29f428b1f50034259cc48cf80d75410ea2cf2186
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 19:05:25 +00:00
Treehugger Robot
372f88dd23
Merge "Add one flaking view to alpha-jupms ignore list" into udc-qpr-dev
2023-07-26 18:49:20 +00:00
Treehugger Robot
eebc14aef1
Merge changes I45b6f858,I28120248 into udc-qpr-dev am: 17988825f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24180083
Change-Id: Ic5141bb6234ff00db7b0a03e5f824500de7d9598
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 18:44:33 +00:00
Treehugger Robot
17988825f2
Merge changes I45b6f858,I28120248 into udc-qpr-dev
...
* changes:
Verifying that ViewCapture data is not empty
Restoring starting capturing existing activity.
2023-07-26 18:33:07 +00:00
Ats Jenk
acec8ea55e
Merge "Use hasBeenResumed() for checking if launcher is resumed" into udc-qpr-dev am: 38a7faf04e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24182810
Change-Id: I5fc014e3c14ae836c49f6b7555aa739dfe7fda68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 18:20:44 +00:00
Ats Jenk
38a7faf04e
Merge "Use hasBeenResumed() for checking if launcher is resumed" into udc-qpr-dev
2023-07-26 18:18:11 +00:00
Treehugger Robot
d71d9ee41e
Merge "Add jank monitor for CUJ_QUICK_SWITCH from home screen" into udc-qpr-dev am: 46c1b631d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24168094
Change-Id: If633bd1c47467be91fcf9134cdc9c1cfed471d92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 18:12:50 +00:00
Schneider Victor-tulias
750c5af2da
Fix flaky RuntimeException in CellLayout.
...
Changing the grid while a previous loader is running (more likely to happen in test) can cause a saved item info to have a cell position outside the bounds of the new grid. This should just be handled the same way as other item infos being loaded in an occupied space.
Flag: not needed
Fixes: 233989158
Test: changed grid sizes multiple times
Change-Id: Ibba337c224e7a08533331a87b1369ebf96e3c9a3
2023-07-26 10:20:24 -07:00
Treehugger Robot
46c1b631d6
Merge "Add jank monitor for CUJ_QUICK_SWITCH from home screen" into udc-qpr-dev
2023-07-26 16:16:47 +00:00
Luca Zuccarini
627d67549f
Animate depth from the right value on Taskbar All Apps launches.
...
`MyDepthController` in `QuickstepTransitionLauncher` assumes that we
want the background to always animate the same way, matching the rest
state of the workspace (depth == 0). However, in Taskbar All Apps the
background is visible, and depth != 0. We now initialize the one-off
`DepthController` for launches to take into account the latest depth set
by the top level `DepthController`, so there is no jumpcut at the
beginning of the animation.
Note that in my opinion we should use the same `DepthController` for all
cases, rather than having this one-off. I'm looking into the feasibility
of that change, but for now this fixes the issue at hand.
Fix: 292959100
Flag: N/A
Test: manual, see videos in the bug
Change-Id: Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca
2023-07-26 15:37:44 +00:00
Bill Yi
7350b79bfb
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I96cce710ae4548fa8f50f996e2f4528ce35c6840
2023-07-26 08:01:31 -07:00
Bill Yi
d8cca7c8cb
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ica6034d7c219f6275ea2110d1689a15fa34c69c5
2023-07-26 07:59:31 -07:00
Bill Yi
efdab72c00
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4e2edca61ed43c235d0ad175d9c763f137a1858d
2023-07-26 07:58:46 -07:00
Vinit Nayak
841d577849
Merge "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD" into udc-qpr-dev am: dc53fdc717 am: 7b35f7a3e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24152622
Change-Id: I07318e5e4cb72074f016e2a458714b375ee2b3dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 02:07:51 +00:00
Vinit Nayak
7b35f7a3e0
Merge "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD" into udc-qpr-dev am: dc53fdc717
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24152622
Change-Id: Id8e2dd6741f4fcd224e8f2836fa4cae7f4ebe767
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 01:19:00 +00:00
Android Build Coastguard Worker
e55a79dab0
Merge cherrypicks of ['googleplex-android-review.googlesource.com/24156953'] into udc-release.
...
Change-Id: I71b8f9eb54de40db3e5f2f7ced6c44d1d817e75d
2023-07-26 00:57:32 +00:00
randypfohl
c59599dc19
Removing obsolete call to start home activity with shell transitions
...
- The second start activity was causing issues with 3p launchers which
may not expect another new intent (ie. if it handles gestures at
the bottom of the screen). We can't completely remove this logic
because for button navigation we don't want to fall through to the
launch-next-task animation below, but we can can continue to
finish the recents animation immediately.
- With shell transitions, leashes for opening apps are always hidden
by default so when transitioning to a 3p launcher from
RecentsActivity we also need to show the surface if we want to
animate it in
Bug: 289609734
Test: Set 3p Launcher as default, in both gesture & button navigation
- Go from 3p home -> overview, then overview -> 3p home
- Go from app -> 3p home
- Go from app -> overview, then overview -> 3p home
- Quickswitch from app
Signed-off-by: Winson Chung <winsonc@google.com >
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2b3dc6f73007f8b7d97ae2972e37c5d055659c8b )
Merged-In: I6875083931de63a8097d23d180553885ed7cfb01
Change-Id: I6875083931de63a8097d23d180553885ed7cfb01
2023-07-26 00:57:07 +00:00
Vinit Nayak
dc53fdc717
Merge "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD" into udc-qpr-dev
2023-07-26 00:50:33 +00:00
Android Build Coastguard Worker
955d29dfc1
Snap for 10557896 from d33fc05022 to udc-qpr1-release
...
Change-Id: Ia92614b6b387f40d0e135aac49eef8b5767338d2
2023-07-25 23:19:07 +00:00
Anushree Ganjam
135eee0410
Post the mSearchUiManager.resetSearch() to next frame.
...
SearchBox gets cleared in the current frame even before we read the
input entered by the user. So clear the searchbox in next frame after
onAllAppsTransitionEnd is completed.
See ag/22266746 where this change was introduced and I want to move the resetSearch() call to next frame.
Bug: 287693114
Test: Manual . Tested with both Floating search box on and off.
Flag: NA
Change-Id: I11509cf652f96847ad3c54f20a76f2a728775fe3
2023-07-25 22:34:54 +00:00
randypfohl
b4910b7cf9
Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: b947238a9e am: 19df558574 am: 4fd2323f31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953
Change-Id: I187ac67900de77d859c21a53da9209e6cc3bb2f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:56:47 +00:00
Schneider Victor-tulias
ba31fc7917
Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev am: c73b653e1d am: e07ea9d25c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24180027
Change-Id: I064a701cb7c72af53113cffbdb10bf586926ae9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:55:49 +00:00
Tracy Zhou
2d74c470d1
Merge "Add quick switch to trackpad gesture tests" into udc-qpr-dev am: 2a8a40c4a8 am: f20eff274c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24034416
Change-Id: I67a093384a8f1ec28e2342e9ac8272358cf6680f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:54:24 +00:00
randypfohl
d1280f0ae8
Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: d6091ac2d7 am: 3998e16bba am: cd52ebd386
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953
Change-Id: I3d877972e27feba07eb098969652ca709eabd539
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:52:06 +00:00
randypfohl
bc0811d336
Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: b947238a9e am: d2739609b5 am: 100f56a01c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953
Change-Id: I5a374bb1bf9d9f18e449081ea98f4f91bab22d2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:47:55 +00:00
Ats Jenk
cf25610a28
Flag stashing desktop when going home
...
Put logic to stash desktop apps behind a flag. Turn it off by default.
Bug: 292109910
Flag: persist.wm.debug.desktop_stashing
Test: turn off the flag, open an app on the desktop and go home
observe that user is taken to home screen and subsequent launches
are in full screen
turn on the flag, open app on the desktop and go home
observe that there is a toast shown for desktop and next app is
launched to desktop
Change-Id: Ic6f9a3644bb09d4fb877f4694843a7c20969f925
2023-07-25 14:20:00 -07:00
randypfohl
4fd2323f31
Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: b947238a9e am: 19df558574
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953
Change-Id: I2415f46efa04762f2e624d403dd882563dad16ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:04:34 +00:00
Schneider Victor-tulias
e07ea9d25c
Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev am: c73b653e1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24180027
Change-Id: Ie3e87773aec19fb4bc933299ef55d2205d277c66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:04:06 +00:00
Tracy Zhou
f20eff274c
Merge "Add quick switch to trackpad gesture tests" into udc-qpr-dev am: 2a8a40c4a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24034416
Change-Id: I07e7f841bbc2e2e7d5526ae9f88d217aa725ff0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:03:33 +00:00
randypfohl
cd52ebd386
Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: d6091ac2d7 am: 3998e16bba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953
Change-Id: I56e15729d4e59b87d45150e4356f7bf0192f2cc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:02:06 +00:00