Pat Manning
04fb4ae959
Detect force visible nav bar based on kids mode. am: 6d17a71d19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038728
Change-Id: Ia20e24d018d102e511d142e15183b4fd4ee96890
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 23:06:53 +00:00
Pat Manning
6d17a71d19
Detect force visible nav bar based on kids mode.
...
WM was changed to use NAV_BAR_KIDS_MODE instead of NAV_BAR_FORCE_VISIBLE, this needs to update to match.
Fix: 229580780
Test: manual.
Change-Id: I38fb23dcc85676593a3f8f0851676bc526802d2e
(cherry picked from commit c773d7cdc8 )
2022-06-22 21:27:27 +00:00
Alex Chau
94a2da3d22
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: Ic00ba33ae3b4e7b0c77c865a760d83ca29ca735d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:21:48 +00:00
Alex Chau
ed2e7719cb
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev
2022-06-22 11:59:31 +00:00
Sunny Goyal
506165689f
Revert "Finish recents animation on activity destroyed."
...
This reverts commit 0fd3b13d01 .
Reason for revert: b/236514960
Bug: 228137694
Bug: 230373809
Change-Id: Ifed5f2a13fda4409982d548e3212bd16c81b63bc
2022-06-22 11:59:13 +00:00
Schneider Victor-tulias
c4831dbd10
Fix All set activity not drawing on initial swipe. am: 4d18da78c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18930603
Change-Id: I11b034bb911935e7eaf1373c3a4e2c667c0922d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 07:31:46 +00:00
Bill Yi
fa9f6501e9
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I010fafdf9fc78b15763a183684aa0ab77ee66281
2022-06-19 09:03:48 -07:00
Schneider Victor-tulias
4d18da78c0
Fix All set activity not drawing on initial swipe.
...
The launcher was not properly preloading upon launching the All Set Activity. The Launcher would only start loading once the user started swiping up. This would stop the all set activity from drawing.
Test: Factory reset with a restore and tested the all set page.
Fixes: 234536107
Change-Id: I6bcb805ea6c43fb993f2b57499444ea62bcc37e1
2022-06-16 20:38:24 +00:00
Tony Wickham
50f86b10a2
Merge "Clear MotionPauseDetector onRecentsAnimationCanceled()" into tm-dev am: 9d5f64adf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18914942
Change-Id: I157da85409d44c803eab3fb5a712ef17cf1aeae0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 15:09:04 +00:00
Tony Wickham
9d5f64adf1
Merge "Clear MotionPauseDetector onRecentsAnimationCanceled()" into tm-dev
2022-06-16 14:55:48 +00:00
Tony Wickham
a379435d04
Clear MotionPauseDetector onRecentsAnimationCanceled()
...
Fixes: 234022857
Test: Open ImCapture and swipe up to home; repeat 20 times and ensure never see empty overview tasks over launcher
Change-Id: Icef6d7a54000e1e21453feeae7e207679077b772
2022-06-15 11:59:59 -07:00
Winson Chung
17418a422c
Merge "Snap to running task if it's offscreen when back is invoked" into tm-dev am: 7d54b06c29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18897728
Change-Id: I563bb3016d35a08fbfb96b81d8a2496efcf127b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:04:44 +00:00
Winson Chung
7d54b06c29
Merge "Snap to running task if it's offscreen when back is invoked" into tm-dev
2022-06-15 03:30:16 +00:00
Winson Chung
e4b1c0bcc5
Merge "Updating call to match change in interface" into tm-dev am: baf27c1b5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18800135
Change-Id: I381746b7c54fc546ee9fb4419b4d83de794d92c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 22:42:54 +00:00
Winson Chung
2345fee566
Snap to running task if it's offscreen when back is invoked
...
- If the user has scrolled the running task offscreen, then
snap back to the task if back is invoked.
Bug: 233952141
Test: Swipe to overview, scroll away from the current task
and then go back
Change-Id: Icc5040d4b38c97e0329f937e24bd517a71a32f13
2022-06-14 21:20:05 +00:00
Winson Chung
baf27c1b5b
Merge "Updating call to match change in interface" into tm-dev
2022-06-14 13:56:10 +00:00
TreeHugger Robot
f1a56dd852
Merge "Add grid_x field to DeviceSearchResultContainer." into tm-dev am: a37556ae5c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18722495
Change-Id: I8fb021e285eb5529f2732cb438627a4af69d5ba1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 22:46:43 +00:00
TreeHugger Robot
a37556ae5c
Merge "Add grid_x field to DeviceSearchResultContainer." into tm-dev
2022-06-09 22:30:17 +00:00
Alex Chau
9fb5f5d2f3
Merge "Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for getDisplays" into tm-dev am: 1965e1309c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18756727
Change-Id: I2b6d59953e0c6e28b873e82b992fc3ffc98faacc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 18:07:52 +00:00
Alex Chau
1965e1309c
Merge "Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for getDisplays" into tm-dev
2022-06-09 17:40:07 +00:00
Alex Chau
2545e92264
Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for getDisplays
...
Bug: 227459045
Bug: 221071695
Test: manual
Change-Id: I8c1587e05a30abf75a01a84ebda6522606abb99b
2022-06-09 12:12:57 +00:00
Jerry Chang
ffe3f4aed5
Merge "Prevent wallpaper flicker while entering split screen from overview" into tm-dev am: 0b944f6a4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18797269
Change-Id: I3563f65eea46fe1acc311f82673f717ee1efd095
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 00:53:32 +00:00
Jerry Chang
0b944f6a4d
Merge "Prevent wallpaper flicker while entering split screen from overview" into tm-dev
2022-06-09 00:32:49 +00:00
Winson Chung
883facf091
Updating call to match change in interface
...
Bug: 235273016
Test: Start up several apps and take a heap dump and verify the buffers
have been preemptively closed prior to the next GC
Change-Id: If7e46e668efa101d4257dd174f31e5e366a02c9d
2022-06-08 23:31:15 +00:00
Becky Qiu
40059b55cc
Merge "[Toast] Add query_length for launcher latency logging." into tm-dev am: fe83fce489
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18783028
Change-Id: Ibecd39ae00198dbf352a5d7cdfe450320fe7d1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 18:25:08 +00:00
Becky Qiu
fe83fce489
Merge "[Toast] Add query_length for launcher latency logging." into tm-dev
2022-06-08 18:02:07 +00:00
Jerry Chang
c04af333f5
Prevent wallpaper flicker while entering split screen from overview
...
When launching a pair of apps from overview panel, it will perform
cross-fade animations to transit from overview to the split pair. But
wallpaper might be visible for a while when both overveiw and split pair
is transparent during the transition. This updates to not fade-out
overview until the split pair is finishing showing in foregorund to
prevent the flicker of wallpaper.
Bug: 235137249
Test: swipe to home and enter overview panel, select and swipe down to
enter a split pair, verified there's no flicker.
Change-Id: Iec1dc49e260f6e46640d47295d7f65dad5c24ab5
2022-06-08 15:26:25 +00:00
Winson Chung
76863f9602
Merge "Revert changes waiting for launcher to resume when transitioning to home" into tm-dev am: 46c9c66048
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18764661
Change-Id: I0d24651cff26d9a7030c0ad8742b01f21ba52a0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 03:19:07 +00:00
Winson Chung
46c9c66048
Merge "Revert changes waiting for launcher to resume when transitioning to home" into tm-dev
2022-06-08 03:11:16 +00:00
TreeHugger Robot
df4ac7549c
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-06-08 02:31:19 +00:00
Jon Miranda
2f753f10d3
Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev am: 2dac4f7f4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18673700
Change-Id: I1049ce2cd2ac6974aa2e412796ae4a005e69b6c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 00:38:05 +00:00
Jon Miranda
2dac4f7f4c
Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev
2022-06-08 00:15:35 +00:00
Anushree Ganjam
8763cb57d4
Add grid_x field to DeviceSearchResultContainer.
...
Bug: 233297670
Test: Manual. https://paste.googleplex.com/4745437455056896
Change-Id: I63a0b2ad52282dbf836e5a26c983d3253d2aec43
2022-06-07 22:30:32 +00:00
Becky Qiu
a61a2cc962
[Toast] Add query_length for launcher latency logging.
...
Bug: 235249335
Test: no test needed.
Change-Id: Ia16c241a2eb3cb50a17713216182192f7902be9e
2022-06-07 14:20:52 -07:00
Bill Yi
774a541d61
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6b3c69716125ca572ccb9b5cbd35831c60620519
2022-06-07 13:55:30 -07:00
Winson Chung
29c68e73dc
Revert changes waiting for launcher to resume when transitioning to home
...
- This was added for Go when they had their own recents implementation
and isn't necessary for the default implementation
Bug: 229668039
Test: Follow steps using test apk from the bug
Change-Id: I0c36f98683e1bf9a3dc11cde2d1113ed1c4d6448
2022-06-06 22:28:09 +00:00
TreeHugger Robot
abbb482160
Merge "Don't allow swiping to HintState if we're already in HintState" into tm-dev am: c012085c6c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521352
Change-Id: I7abe815c7ca7801d7172663ff8370a84ff8cc973
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-04 02:00:37 +00:00
TreeHugger Robot
c012085c6c
Merge "Don't allow swiping to HintState if we're already in HintState" into tm-dev
2022-06-04 01:38:29 +00:00
Tony Wickham
8d72018a87
Don't allow swiping to HintState if we're already in HintState
...
Context: there was a bug where you could get stuck in HintState if you
did the following (timing is critical):
1. Short swipe from nav region towards HintState, but not far enough or
fast enough to commit before letting go; this cancels the state
animation, returning towards Normal (but, crucially, StateManager
still has state set as Hint)
2. While previous animation is animating back to Normal, swipe up again,
but this time faster/farther to actually reach Hint; this time, the
animation does go towards Hint, but gets stuck there. The reason it
gets stuck is because StateManager thinks we're already in Hint from
step 1, so doesn't call onStateTransitionEnd(Hint) in step 2. Thus,
we never get QuickstepLauncher#onStateSetEnd(Hint), which is what we
rely on to return to Normal.
The simple fix is to prevent the second swipe in the first place.
Test: short swipe followed immediately by fast fling from nav region on home successfully stays in Normal state intead of getting stuck in HintState
Test:
NexusLauncherOutOfProcTests: com.google.android.apps.nexuslauncher.TaplTestsNexus
Fixes: 228276181
Change-Id: I54c371c8518a9a220e75c98003331b552d8bf8af
2022-06-03 14:56:04 -07:00
Jon Miranda
46ecc0ca08
Pause expensive view updates before setting hw/sw layers.
...
Prevents widgets from updating mid animation.
Also pauses view updates during app close animation.
Bug: 220939231
Bug: 230617085
Bug: 226171754
Test: manual
Change-Id: I0138d57e6a7b2c22fd9a029e971b3e27c7e9f22e
2022-06-02 12:21:01 -07:00
Winson Chung
9f5d1568bc
Merge "Ignore pinned tasks for purposes of gesture nav" into tm-dev am: 238f380853
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18638308
Change-Id: I8afff3488f55a2bd94b1d6adbf412aab9a63cf2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-01 22:23:34 +00:00
Winson Chung
238f380853
Merge "Ignore pinned tasks for purposes of gesture nav" into tm-dev
2022-06-01 22:06:48 +00:00
Luca Zuccarini
f518ba7289
Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev am: 46338b09e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18670230
Change-Id: I3369902633ced33389b31f04916222cfe714c7d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-01 09:53:14 +00:00
Winson Chung
7ca87c785a
Ignore pinned tasks for purposes of gesture nav
...
Bug: 234170890
Test: Enter content pip, swipe up and see if a duplicate stub taskview
is created
Change-Id: I62a994749fcaeff48901410ede26b848fa15b830
2022-05-31 23:32:26 +00:00
Luca Zuccarini
a36af25ab7
Remove workspace fade from ALL_APPS > NORMAL transition.
...
This applies to phones only for the one-off transition (Home gesture or
swipe back. See before and after videos in the bug.
Bug: 234359814
Test: manual
Change-Id: I8f4fc9ec40687b641a721bd28b32fcf50514861f
2022-05-31 15:46:28 +00:00
TreeHugger Robot
6f1e20041f
Merge "Use DeviceProfile.widthPx to initialize Taskbar touchableRegion" into tm-dev am: 192b3c3118
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18634727
Change-Id: I1fc2475e6102d2cbc0c64a29989ae5e73faeef5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-27 23:33:36 +00:00
Brian Isganitis
e59a175c66
Merge "Have separate DeviceProfile instances for taskbar and all apps windows." into tm-dev am: deaf8985f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18618746
Change-Id: Iee264fcac7409d83676907f48bd5ee641ba966ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-27 17:57:11 +00:00
Alex Chau
4eebbac3b7
Use DeviceProfile.widthPx to initialize Taskbar touchableRegion
...
- TaskbarDraglayer.width isn't initialize when Taskbar is recreated before layout, so use DeviceProfile.widthPx instead
- Also listen for DeviceProfile change in TaskbarInsetsController to update Taskbar touchableRegion
Fix: 233316713
Test: Switch to 3 button, nav button works. Swtich to gesture nav, taskbar icon can be tapped
Test: Rotate deice, whole Taskbar should still be touchable
Change-Id: I29ff86fd8616a620f98d9b5438cc586bd69fac33
2022-05-27 18:35:26 +01:00
Brian Isganitis
deaf8985f6
Merge "Have separate DeviceProfile instances for taskbar and all apps windows." into tm-dev
2022-05-27 17:25:16 +00:00
Vinit Nayak
fa886a3edf
Merge "Limit starting bounds of swipe to animation start rect" into tm-dev am: e8a4e0e2dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18607508
Change-Id: I1cd0d663d6183ff28a30993e4bc8c84688e055e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-27 03:11:02 +00:00