Tony Wickham
47c8561c1b
Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev am: 4b916764a4 am: 2a94943e5d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14884146
Change-Id: I162e69da40fec8a092d50ef67f2892128abbaf0b
2021-06-07 22:28:26 +00:00
Tony Wickham
2a94943e5d
Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev am: 4b916764a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14884146
Change-Id: I24b8f59eb427fb0da776982eceb88ac9d64fb8da
2021-06-07 22:09:18 +00:00
Tony Wickham
4b916764a4
Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev
2021-06-07 21:53:38 +00:00
TreeHugger Robot
cb60b5cb5d
Merge "Fixing taskbar window not collapsed after closing folder" into sc-v2-dev am: 8235469f43 am: 153ab1613c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849712
Change-Id: I6ce59685d842277cf857fd50e09cf443e625eeea
2021-06-07 21:04:27 +00:00
TreeHugger Robot
153ab1613c
Merge "Fixing taskbar window not collapsed after closing folder" into sc-v2-dev am: 8235469f43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849712
Change-Id: I56adafb7848d8836bace5c2f42ee4d5a77de5aa2
2021-06-07 20:43:32 +00:00
Tony Wickham
0dd8345085
Fix regression where nav bar shows when taskbar is showing
...
- Add mNavBarButtonAlpha to TaskbarStateHandler, and set it to the inverse of the taskbar alpha.
- Add mPendingSetNavButtonAlpha for when setNavBarButtonAlpha() is called before mSystemUiProxy is initialized.
Test: Go between various launcher states and ensure nav bar only shows up when taskbar hides.
Bug: 187353581
Change-Id: I4b79280d686c787e9128e753070ec591d1ab2e4d
2021-06-07 12:14:17 -07:00
Sunny Goyal
db904d4655
Fixing taskbar window not collapsed after closing folder
...
Bug: 187353581
Test: Manual
Change-Id: If55ef7c44a7e51f552eba3368edd2d8b5552ca99
2021-06-04 17:48:54 -07:00
Winson Chung
af77516899
Merge "Workaround for apps to stop before removing the task" into sc-v2-dev am: 98644240ca am: 0a6d517940
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14825900
Change-Id: I736ecf1b61d607a7dda40c5bd75ee283114274a2
2021-06-04 21:11:14 +00:00
Winson Chung
0a6d517940
Merge "Workaround for apps to stop before removing the task" into sc-v2-dev am: 98644240ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14825900
Change-Id: I12d07e3dbf5eeec81e89d4abdbf0c9c5f1e7e84d
2021-06-04 20:55:25 +00:00
Lucas Dupin
4035ce40f7
Merge "Remove blur from launcher when in overview" into sc-dev am: 997ac6cddc am: 32d8a953b4 am: 734f29a051
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14829892
Change-Id: Ie4b5f5ef3cfdb3e176224e3369c2dbae693a7f8c
2021-06-04 20:40:05 +00:00
Winson Chung
98644240ca
Merge "Workaround for apps to stop before removing the task" into sc-v2-dev
2021-06-04 20:38:06 +00:00
Lucas Dupin
734f29a051
Merge "Remove blur from launcher when in overview" into sc-dev am: 997ac6cddc am: 32d8a953b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14829892
Change-Id: I84235ab237bd15f5280277350e7598d1ee1c40f8
2021-06-04 20:18:42 +00:00
Lucas Dupin
32d8a953b4
Merge "Remove blur from launcher when in overview" into sc-dev am: 997ac6cddc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14829892
Change-Id: I715c8726e4223e749f01ff510f94bc3d54ef1bb9
2021-06-04 20:05:10 +00:00
Lucas Dupin
997ac6cddc
Merge "Remove blur from launcher when in overview" into sc-dev
2021-06-04 19:51:46 +00:00
Sunny Goyal
9d9930e2fc
Merge "Taskbar layout update" into sc-v2-dev am: a72e9e20bf am: f703600a8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722697
Change-Id: Idc4f8932d94a215231076269b2d6fb18611a8188
2021-06-04 18:35:22 +00:00
Vadim Tryshev
fc237929f8
Merge "Postponing CUJ_QUICK_SWITCH and CUJ_APP_CLOSE_TO_HOME" into sc-dev am: a5a61dddfd am: 896c4afbd0 am: fff7dad721
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805586
Change-Id: I5a3e124180f6a3fbbfffa5c121c14bd652bd539d
2021-06-04 18:35:16 +00:00
Sunny Goyal
f703600a8a
Merge "Taskbar layout update" into sc-v2-dev am: a72e9e20bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722697
Change-Id: Ib5ec5655ecc29ff8a98528dffed2cef76f6cf8a9
2021-06-04 18:20:25 +00:00
Vadim Tryshev
fff7dad721
Merge "Postponing CUJ_QUICK_SWITCH and CUJ_APP_CLOSE_TO_HOME" into sc-dev am: a5a61dddfd am: 896c4afbd0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805586
Change-Id: I0c83a637e545e5fa77b0971feb88a6e774035257
2021-06-04 18:20:19 +00:00
Sunny Goyal
a72e9e20bf
Merge "Taskbar layout update" into sc-v2-dev
2021-06-04 18:08:58 +00:00
Vadim Tryshev
896c4afbd0
Merge "Postponing CUJ_QUICK_SWITCH and CUJ_APP_CLOSE_TO_HOME" into sc-dev am: a5a61dddfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805586
Change-Id: Ib1058ed591817a1bf34bcda56f044d3ded556933
2021-06-04 18:05:55 +00:00
Lucas Dupin
258e4526b7
Remove blur from launcher when in overview
...
The App window will be under Launcher, so we can't actually blur
launcher at that time, otherwise the live window will also be blurred.
Test: manual
Bug: 189207458
Change-Id: Ie07449d29d3b0dc60d3787b6d32aa9e46e0bb613
2021-06-04 11:05:37 -07:00
Vadim Tryshev
a5a61dddfd
Merge "Postponing CUJ_QUICK_SWITCH and CUJ_APP_CLOSE_TO_HOME" into sc-dev
2021-06-04 17:57:00 +00:00
Winson Chung
ccda7bc725
Workaround for apps to stop before removing the task
...
- With live tile enabled, the race between destroying the task and
killing the process is more evident since the app may not get
stopped at all. For now, when dismissing, defer removing the
task until we've finished the recents animation to allow the
app to be stopped accordingly
Bug: 184899234
Test: Dismiss the task from overview, check that the app gets
lifecycle events
Change-Id: Ib3ea479643d65859fe4cd580b4c347b87130a69d
2021-06-04 17:21:17 +00:00
Yogisha Dixit
80abb18d53
Add new log events for widgets. am: 4ff5ee3a8f am: f8ef794774 am: 45491961d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425539
Change-Id: I519c29d4a047fc01e43f4642fa2f4345db39d387
2021-06-04 17:05:40 +00:00
Yogisha Dixit
45491961d5
Add new log events for widgets. am: 4ff5ee3a8f am: f8ef794774
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425539
Change-Id: I424b38bbae3c52af2ac567fbd25cc25250ab71c6
2021-06-04 16:51:17 +00:00
Yogisha Dixit
f8ef794774
Add new log events for widgets. am: 4ff5ee3a8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425539
Change-Id: Icfd93b918332a391602c788aa84f27d421c7ef14
2021-06-04 16:37:07 +00:00
Yogisha Dixit
4ff5ee3a8f
Add new log events for widgets.
...
Design doc: go/widgets-logging
Bug: 185778648
Test: manual
Change-Id: Ia3c6edb87766a33e77865e9461e7101a1df864c1
2021-06-04 14:52:37 +01:00
Vinit Nayak
26b0f313e4
Merge "Check for taskbar 3 button flag when initializing RotationContextualButton" into sc-v2-dev am: 759490be1d am: e98ef15f9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14826862
Change-Id: Ida69d5187715603b75eae06fb758ba92fecda614
2021-06-04 02:57:03 +00:00
Alex Chau
426a14bbfc
Merge "Make quick switch track finger 1:1" into sc-v2-dev am: f647016cce am: 9dee4f3b2a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817819
Change-Id: If34cc66acdbce5f504773b7cec3bf901c7bbe87b
2021-06-04 02:54:00 +00:00
Bill Lin
1cf3039c1e
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2 am: ae054d8584 am: b61a3850b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: Ib18d6c070199ec49afb96a69c5dac299f030e20f
2021-06-04 02:14:12 +00:00
Vinit Nayak
e98ef15f9b
Merge "Check for taskbar 3 button flag when initializing RotationContextualButton" into sc-v2-dev am: 759490be1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14826862
Change-Id: I2ee6ce03bb0a9cd96d47605cb0193c8780c4d5c8
2021-06-04 02:09:44 +00:00
Alex Chau
9dee4f3b2a
Merge "Make quick switch track finger 1:1" into sc-v2-dev am: f647016cce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817819
Change-Id: I7aa8796856e3f98041e0508005a07b5df756da85
2021-06-04 02:03:48 +00:00
Bill Lin
b61a3850b2
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2 am: ae054d8584
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: I775c0edcfe403c854a7c87104fa9aba78761f18d
2021-06-04 00:49:48 +00:00
TreeHugger Robot
e4e4541139
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-06-04 00:38:54 +00:00
Bill Lin
657a6da6fb
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: I717b55f90426b21c05370a0aeb731b960fb64bee
2021-06-04 00:33:43 +00:00
Bill Lin
ae054d8584
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: I7dd368b3289795396bcc967e3650abfb64e40390
2021-06-04 00:31:54 +00:00
TreeHugger Robot
04eff2698c
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-04 00:23:55 +00:00
TreeHugger Robot
6809a6af11
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-06-04 00:03:34 +00:00
Sunny Goyal
57b2279dcb
Taskbar layout update
...
> Calculating the hotseat padding statically
> Animating taskbar views individually when animating to home
instead of a layout animation
> Moving all navbar buttons to a separate layout/controller and independent
of Launcher
> Fixing RTL layout for taskbar and nav bar
Bug: 187353581
Test: Manual
Change-Id: If21696f38beee328f553e467394776a8e8ed4c3e
2021-06-03 16:10:02 -07:00
Vinit Nayak
759490be1d
Merge "Check for taskbar 3 button flag when initializing RotationContextualButton" into sc-v2-dev
2021-06-03 22:51:54 +00:00
Vinit Nayak
51ca609048
Check for taskbar 3 button flag when initializing RotationContextualButton
...
Fixes: 190063583
Change-Id: Ibc8ee6586cdf7316f61bae9fc5eff39b4b9992f1
2021-06-03 13:27:14 -07:00
Alex Chau
f647016cce
Merge "Make quick switch track finger 1:1" into sc-v2-dev
2021-06-03 19:44:55 +00:00
Bill Yi
06b9166f88
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9c3ef53a1d831f17490ee5b96c730ab10893223e
2021-06-03 19:03:31 +00:00
Bill Yi
1a01df7733
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Icd923fe6ba24436415e6a65c25dda49ee50a6164
2021-06-03 19:00:53 +00:00
Bill Yi
5821abb3e5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I463274ac8154729157b0fd623b966dba8ce36711
2021-06-03 19:00:20 +00:00
Zak Cohen
02da8d0782
Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919 am: 68df577307 am: 333fed77a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765
Change-Id: I0deb90d2dba4a075c05ce76b94ea7de8edcb8451
2021-06-03 17:59:20 +00:00
Bill Lin
a1221bcd53
2/ Notify adjust touch slop when one handed mode activated
...
When one handed mode activated, user swipe-up to exit usually
cross over the NavBar region, and then invoke TouchController
intercept touch event to trigger All Apps drawer on Home.
To enhanced the UX of gesture conflict of exit OHM & All Apps,
notify TouchController throught LauncherActivityInterface,
and Launcher dispatch onOneHandedModeStateChanged() event to
all mTouchControllers in DragLayer that touchController can
adjust the touch slop by it's SingleAxisSwipeDetector.
Test: manual trigger One handed mode and swipe-up to exit
Test: monitor minDisplacement of SingleAxisSwipeDetector
OHM activated : touchSlop x multiplier
OHM deactivated : touchSlop x 1
Test: check All Apps doesn't mis-trigger when exit one handed mode
Bug: 186235522
Change-Id: I7b9e6e7fa898231697d1866186a5f9b1717a9aa3
2021-06-04 01:44:51 +08:00
Bill Lin
945bb34b5e
1/ Provides feasibility to adjust touch slop in TouchController
...
There is a case when one handed mode triggered(Activated), all apps
drawer is very easy to trigger while user swipe up around NavBar
region to exit one handed mode. Since System Gesture monitor regsion
is small on screen bottom, swipe-up gesture usually cross over NavBar
monitor region and invoke launcher touch controller intercept touch
event and introduce unexpectedly trigger all apps drawer.
Adding onOneHandedModeStateChanged(boolean activated) for controller
be able to adjust the touch slop by multiplier, we can set a larger
multiplier when the visible window size translate become smaller
and make swipe gesture not too sensitive.
Test: manual swipe up to swich "home <-> all apps" and monitor
minDisplacement of SingleAxisSwipeDetector
Test: Trigger one handed mode and swipe up to exit one handed mode
check the minDisplacement of SingleAxisSwipeDetector
Bug: 186235522
Change-Id: I9729cd408d85b2b22582bf800e28d1471fc06980
2021-06-04 01:44:50 +08:00
Zak Cohen
333fed77a4
Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919 am: 68df577307
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765
Change-Id: If649266bbe8ff16829ea54a63ee80a131c0015e0
2021-06-03 17:44:40 +00:00
Zak Cohen
3ec119cbf3
Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765
Change-Id: Ie7dd16e9beae174ab9967eccc79d50267298be7e
2021-06-03 17:26:58 +00:00