Alex Chau
5180f06252
Merge "Detect force visible nav bar based on kids mode." into tm-qpr-dev am: ccc55f1668
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18910230
Change-Id: I77bba64ee7931a8ea32499a7421b991b5a42df2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 14:27:08 +00:00
Alex Chau
ccc55f1668
Merge "Detect force visible nav bar based on kids mode." into tm-qpr-dev
2022-06-16 13:55:14 +00:00
Alex Chau
b583f18e35
Merge "Animate inline QSB between home and apps" into tm-qpr-dev am: a5ae4c2e57 am: 7e77cda9d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18799573
Change-Id: I3dae91a244c996474f4ec31a950323c1fc5c2716
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 08:49:02 +00:00
Alex Chau
7e77cda9d6
Merge "Animate inline QSB between home and apps" into tm-qpr-dev am: a5ae4c2e57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18799573
Change-Id: I189fa4adfad99c21a9edbb88c34682b1f3c52d84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 08:20:50 +00:00
Schneider Victor-tulias
e164995f9e
Fix taskbar unstash animation delay when launching a split task.
...
Fixes: 232033354
Test: switched between split and unsplit tasks using 3 button nav and gesture nav
Change-Id: I9a4e2eb08e9970540093e3dc60b64a372be2052f
2022-06-15 14:55:37 -07:00
Alex Chau
c1d26448c5
Animate inline QSB between home and apps
...
- Added a QSB to taskbar to be animated between inline QSB and taskbar
- Passed endValue of taskbar animator to TaskbarController to have aniamtion variation between home -> app and app -> home
- Tuned duartion of taskbar animation and also stagger animation when taskbar is present
- Disabled scaling down of taskbar and inline QSB for home -> app
- Disabled stagger animation of taskbar and inline QSB for app -> home
Bug: 220733187
Test: manual
Change-Id: I4aac0bbc343b992a0472298595770e2bf2a55990
2022-06-15 22:12:29 +01:00
Vinit Nayak
d18304ca15
Close all open views for 1P and 3P launchers
...
* Previously TaskView was closing task menu view, but
that got removed since launcher was doing that on
state transition.
* Only 1P launcher was doing that and not 3P launcher,
moved call to remove open views to parent class
Test: Invoking split on 3P launcher doesn't result in a crash
Bug: 199342537
Change-Id: I6afbe7640ede362a677e15a33409a7cabdb8cca9
2022-06-15 14:09:49 -07:00
Tony Wickham
bed0d636fe
Proper fix for gesture nav flicker using runOnPageScrollsInitialized()
...
I root caused the two areas causing the flicker:
A. If page scrolls aren't initialized when we get onActivityInit(), the first scroll even after linkRecentsViewScroll() will jump based on min scroll (due to Clear all button). Fix is to defer linking until page scrolls are initialized.
B. If page scrolls aren't initialized when the gesture starts, RecentsView can jump to the min scroll when calling showCurrentTask(), since that calls setCurrentPage(getRunningTaskIndex()) which might be out of bounds. Fix is to defer that setCurrentPage() until page scrolls are initialized.
Test: open a random app that hasn't been opened in a while, touch down
on nav handle and see if RecentsView scrolls partially or fully
offscreen; repeat 20 times to be sure
Fixes: 233112195
Change-Id: I000960775f8735920d97c87942065a430c9dce0c
2022-06-15 19:08:32 +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
Pat Manning
c773d7cdc8
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
2022-06-15 15:03:52 +01:00
Winson Chung
3a22bcb180
Merge "Snap to running task if it's offscreen when back is invoked" into tm-dev am: 7d54b06c29 am: 43f3398d25 am: 4d5ce7c16c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18897728
Change-Id: I37b7618386077a8dc3e11873239883a357b1555a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:39:48 +00:00
Winson Chung
4d5ce7c16c
Merge "Snap to running task if it's offscreen when back is invoked" into tm-dev am: 7d54b06c29 am: 43f3398d25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18897728
Change-Id: Iaf6037519f6985c44d6198bc772f3a6ef375b87f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:23:50 +00:00
Winson Chung
e9ab04e140
Merge "Snap to running task if it's offscreen when back is invoked" into tm-dev am: 7d54b06c29 am: 17418a422c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18897728
Change-Id: I7ff8a51c80d3c07c9849cb4851311f305dc25ee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:23:09 +00:00
TreeHugger Robot
c28a0e4bb9
Merge "Prevent showing divider if launcher was never shown" into tm-qpr-dev am: ec8a85099e am: e4882a9761
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18764766
Change-Id: Iea5987760fa71f8b1b0f25d7aa1281964d21d8f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:08:22 +00: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
c8a05f37ba
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: Id2ac0ef7aa79e9df3f03ffc1970e9ffe2ea954f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 04:04:21 +00:00
TreeHugger Robot
e4882a9761
Merge "Prevent showing divider if launcher was never shown" into tm-qpr-dev am: ec8a85099e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18764766
Change-Id: Ia57d6313907621316143983257ff04f5da5aef13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 03:32:10 +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
TreeHugger Robot
ec8a85099e
Merge "Prevent showing divider if launcher was never shown" into tm-qpr-dev
2022-06-15 03:29:21 +00:00
Tracy Zhou
8cb12a7f69
Merge "Fix "software rendering doesn't support hardware bitmaps" from task bar all apps" into tm-qpr-dev am: 51ceb5f200 am: fc8e332deb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18866023
Change-Id: Icd6dbd27143df36e16b3aeaeedb5be10212d9db2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 23:09:05 +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
Tracy Zhou
fc8e332deb
Merge "Fix "software rendering doesn't support hardware bitmaps" from task bar all apps" into tm-qpr-dev am: 51ceb5f200
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18866023
Change-Id: I25914e1cacbffa98fbfa2822515d5ae65706c824
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 22:39:23 +00:00
Tracy Zhou
51ceb5f200
Merge "Fix "software rendering doesn't support hardware bitmaps" from task bar all apps" into tm-qpr-dev
2022-06-14 22:08:05 +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
Tracy Zhou
f3b2bd67d4
Merge "Use withLayer for live tile layering" into tm-qpr-dev am: 844efbaa75 am: b0a6846c48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18820874
Change-Id: I32cf12308bc2f3c48b8843b24635b61f5245f1c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 19:04:01 +00:00
Tracy Zhou
b0a6846c48
Merge "Use withLayer for live tile layering" into tm-qpr-dev am: 844efbaa75
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18820874
Change-Id: I324e87f148f9a45934212f0c4b0ac9554f866340
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 18:34:35 +00:00
Tracy Zhou
844efbaa75
Merge "Use withLayer for live tile layering" into tm-qpr-dev
2022-06-14 18:12:03 +00:00
Winson Chung
3c105a7cd6
Merge "Updating call to match change in interface" into tm-dev am: baf27c1b5b am: c692e966c7 am: 519882d21f am: 68e5aa47ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18800135
Change-Id: Ide0668ea54803ba80da150f7b70794318ab94def
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 18:06:39 +00:00
Winson Chung
68e5aa47ed
Merge "Updating call to match change in interface" into tm-dev am: baf27c1b5b am: c692e966c7 am: 519882d21f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18800135
Change-Id: I4f48506507c937d86a3e2a32aa4be2296df2c3e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 17:16:31 +00:00
Winson Chung
519882d21f
Merge "Updating call to match change in interface" into tm-dev am: baf27c1b5b am: c692e966c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18800135
Change-Id: I3480d7b9671b059abda4c391abb67fe8e50d7bdc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 16:52:30 +00:00
Winson Chung
e98f53fdd3
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: I44601c828b1b6384db8aa5430cd7eeb8ab4aaf7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 16:05:18 +00:00
Winson Chung
baf27c1b5b
Merge "Updating call to match change in interface" into tm-dev
2022-06-14 13:56:10 +00:00
Schneider Victor-tulias
2fefed2d5e
Merge "Forcefully move focused task to front when triggering the recents animation in 3-button nav" into tm-qpr-dev am: 3bc7b93ea5 am: 5fa9598b11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521813
Change-Id: Iecadfe4df316a8ed47da1cbcef70793891dad464
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-13 19:10:24 +00:00
Schneider Victor-tulias
5fa9598b11
Merge "Forcefully move focused task to front when triggering the recents animation in 3-button nav" into tm-qpr-dev am: 3bc7b93ea5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521813
Change-Id: Idb59db057d8a8d30d2d512888c81d50def129dfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-13 18:38:48 +00:00
Schneider Victor-tulias
3bc7b93ea5
Merge "Forcefully move focused task to front when triggering the recents animation in 3-button nav" into tm-qpr-dev
2022-06-13 18:17:56 +00:00
TreeHugger Robot
660190c593
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-06-13 16:40:31 +00:00
Yunfan Chen
b302179557
Merge "Modify the way of providing insets per WM change" into tm-qpr-dev am: 04d206b675
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17800082
Change-Id: If0c0985dc2e5b17a378aa1eef90ed1d3de9fefbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-13 11:59:22 +00:00
Yunfan Chen
04d206b675
Merge "Modify the way of providing insets per WM change" into tm-qpr-dev
2022-06-13 11:38:14 +00:00
Tracy Zhou
b93f59719a
Fix "software rendering doesn't support hardware bitmaps" from task bar all apps
...
The issue is that there is a delay between when the task bar all apps view is removed and another task bar dispatching draw of an all apps icon. When the window is removed, isHardwareAcceleration() returns false, causing the crash.
This crash further restarts launcher, causing launcher to be in the wrong state for a number of things. And hence, this fix should make all the other crashes moot.
Fixes: 234617317
Test: Keep dragging all apps icons to split
Change-Id: Ifc272d82c1deac8485801473919602563bb3caf0
2022-06-13 05:21:36 +00:00
Bill Yi
f268e2a97e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ifaa1e19e0c07523260aeeb96586b080d998ac4f5
2022-06-11 15:00:54 -07:00
Bill Yi
ee3fd154be
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7a1d86f4723d95af04a75244215fb83ea825c1a6
2022-06-11 14:59:31 -07:00
Bill Yi
5631bd53de
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I52a5996d0ae9d6305629b7cf6d2f3168e5729a17
2022-06-11 03:32:19 -07:00
Hongwei Wang
5c6d09ce33
Merge "Call setCanAffectSystemUiFlags(false) only for PiP" into tm-qpr-dev am: bf8528c21b am: b6e6511bb3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18815765
Change-Id: Ib3525c4eb71f4e13094881ad688d93085ec3e9e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 22:15:27 +00:00
Hongwei Wang
b6e6511bb3
Merge "Call setCanAffectSystemUiFlags(false) only for PiP" into tm-qpr-dev am: bf8528c21b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18815765
Change-Id: I8683c0aba058961f0afbfa372110f4a4da7b9fc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 22:05:35 +00:00
Hongwei Wang
bf8528c21b
Merge "Call setCanAffectSystemUiFlags(false) only for PiP" into tm-qpr-dev
2022-06-10 21:51:14 +00:00
Schneider Victor-tulias
920a86969a
Forcefully move focused task to front when triggering the recents animation in 3-button nav
...
Quickly tapping the recents button can start a recents animation while a quick switch is running. This causes the the wrong page index to be used as the focused task index.
Test: manual on large screen
Fixes: 227562351
Change-Id: If99f74477e52ed0c7f7c5fd7b3dc8b201627068b
2022-06-10 20:11:18 +00:00
Yunfan Chen
5f59801139
Merge "Modify the way of providing insets per WM change"
2022-06-10 05:09:24 +00:00
TreeHugger Robot
f66282dc04
Merge "Add grid_x field to DeviceSearchResultContainer." into tm-dev am: a37556ae5c am: 40ad40ed49 am: adc7347719 am: 69463d8d67
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18722495
Change-Id: Ibf52c61f8a678191c50335069461e27930d5fc1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 00:12:45 +00:00
Tracy Zhou
92b49faa79
Use withLayer for live tile layering
...
Bug: 233007237
Test: make sure live tile ordering in overview is correct
Change-Id: I239949878634ff9a46975e7e6b92dc3be797ea88
2022-06-10 00:08:24 +00:00
TreeHugger Robot
69463d8d67
Merge "Add grid_x field to DeviceSearchResultContainer." into tm-dev am: a37556ae5c am: 40ad40ed49 am: adc7347719
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18722495
Change-Id: I2f0806de5bdff1257da629d7b283efadf5e99e51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 23:51:22 +00:00