Tracy Zhou
180a7d97d7
Merge "Update LauncherInstrumentation to consider tablet w/o nav bar" into sc-v2-dev
2021-08-17 01:01:49 +00:00
Vinit Nayak
2ad3d6b4c3
Merge "Add logs when clearing TaskViewId" into sc-v2-dev
2021-08-17 00:59:41 +00:00
Tony Wickham
635e180e56
Extend taskbar color to entire screen in overview
...
Only when taskbar is unstashed in apps:
- Scrim workspace with the taskbar color when opening apps and in BackgroundAppState
- Crop opening apps to above the taskbar
- Crop TaskViews to above the taskbar during gestures
If taskbar is stashed in apps, behavior is the same as before, i.e. no scrim over the wallpaper and no cropping of tasks.
Added a field DeviceProfile#taskbkarPresentInApps to distinguish these cases. LauncherTaskbarUIController and TaskbarStashController ensure this value is set appropriately.
Test: Ensure tasks don't appear behind taskbar when it's unstashed; set ENABLE_SCRIM_FOR_APP_LAUNCH = true to test the whole screen scrimming when opening an app
Bug: 196257194
Fixes: 190681228
Change-Id: I481501457a5a6d49c380feea3db3b4058e4cf3f8
2021-08-16 16:50:52 -07:00
Tony Wickham
f5ce2f624d
Use WindowBounds#insets instead of WindowInsets in DeviceProfile
...
This reports more consistently and is cheaper.
Test: Log windowBounds.insets.bottom vs windowInsets.getSystemWindowInsetBottom() and note that the former is correct after fold/unfold even though the latter starts reporting 0
Bug: 196874770
Change-Id: I41eb0ab51d3761a988e680cd6d61e40bcacf567f
2021-08-16 16:45:12 -07:00
Android Build Coastguard Worker
e5c825988c
Snap for 7645588 from 32e573162d to sc-v2-release
...
Change-Id: I44c42ea0d3cbc24c132765f257008f784619d598
2021-08-16 23:08:05 +00:00
Vadim Tryshev
f11d0fac78
Revert "Removing old workaround"
...
This reverts commit 714d071f76 .
Reason for revert: Perhaps caused b/196876329
Change-Id: I0763c44d54134034885471ce74324a8c6c6c296e
Test: presubmit
Bug: 196876329
2021-08-16 22:54:30 +00:00
Vinit Nayak
dda7772452
Add logs when clearing TaskViewId
...
Bug: 195430732
Change-Id: I0554f27e6b82d98dd585afb895b8ee5eababff9e
2021-08-16 14:56:56 -07:00
Thales Lima
47e0bfa104
Merge "overview: rebalance hidden tasks in grid" into sc-v2-dev am: 242c8c0b0f am: 65dc11d1b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453918
Change-Id: I0cbcf90477d70eef2bfd1680428c4997860488f1
2021-08-16 19:44:01 +00:00
Thales Lima
65dc11d1b4
Merge "overview: rebalance hidden tasks in grid" into sc-v2-dev am: 242c8c0b0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453918
Change-Id: I6616a2077517ed66de775cded571cfecccc78f20
2021-08-16 19:33:25 +00:00
Thales Lima
242c8c0b0f
Merge "overview: rebalance hidden tasks in grid" into sc-v2-dev
2021-08-16 19:16:30 +00:00
Sunny Goyal
42384dec50
Merge "Fixing header jump" into sc-v2-dev am: 48b012b148 am: ea35a6edcb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092
Change-Id: I78d9fdb9cd3301a614bf063e4886692a67083f2a
2021-08-16 18:46:53 +00:00
Sunny Goyal
ea35a6edcb
Merge "Fixing header jump" into sc-v2-dev am: 48b012b148
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092
Change-Id: Ie59fd030a058a75346869e854ee3549fb1977580
2021-08-16 18:30:47 +00:00
Sunny Goyal
48b012b148
Merge "Fixing header jump" into sc-v2-dev
2021-08-16 18:20:00 +00:00
Jon Miranda
26de7be984
Fix NPE when converting final screen to empty screen.
...
Bug: 194553613
Test: manual
Change-Id: Id29b8574964688f6f6aa96dd5b1b8a4d8b9110c0
2021-08-16 16:47:11 +00:00
Sunny Goyal
77acf12905
Fixing header jump
...
Linking header position to an empty entry in the recyclerView,
instead of calculating the vertical scroll position. This
allows the header to be in sync with the recyclerView scroll and
item animations
Other simplifications:
> Moving top collapse handle out of header view (it doesn't scroll)
> Removing background clipping logic from full-sheet
> Moving tab bar inside the header view
Bug: 196464142
Test: Verified on device
Change-Id: Iae5a0ae9af7ce258e1b391b8e85c5c270fe56197
2021-08-16 09:45:14 -07:00
Dave Mankoff
423112d1d7
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev am: 9847a6a75b am: 685338f7c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558874
Change-Id: I20cf971bd58253cb7e50da22fe411571fdcd711d
2021-08-16 15:43:05 +00:00
Dave Mankoff
191e328477
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev am: d72a60f953 am: cc81d631b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558873
Change-Id: I21f5ec132f552eed8e097fd5307b61863cfdbe1a
2021-08-16 15:42:01 +00:00
Thales Lima
4a08ce60dc
overview: rebalance hidden tasks in grid
...
The tasks that are not showing in the screen will be rearranged. This
doesn't change anything for tasks before the dismissed task because the
grid is already balanced there.
Fixes: 194189955
Test: manual with 10 tasks, normal and RTL mode
Change-Id: I07ddbb752110339751bd1ed6056fe9f645b5497f
2021-08-16 16:24:35 +01:00
Dave Mankoff
685338f7c6
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev am: 9847a6a75b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558874
Change-Id: If1b3510161b952ef3df9876810f314dd771d84e1
2021-08-16 15:23:45 +00:00
Dave Mankoff
cc81d631b5
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev am: d72a60f953
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558873
Change-Id: I23f99561eecd0d2f705d5a2166b9e1e17aa7666a
2021-08-16 15:22:34 +00:00
Dave Mankoff
9847a6a75b
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:05:20 +00:00
Dave Mankoff
d72a60f953
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:04:52 +00:00
TreeHugger Robot
476b7b69ca
Merge "Removing unnecessary logging" into sc-v2-dev am: 32e573162d am: d393a1ce9f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535164
Change-Id: Ia0465a03b107c38b832a7463ed48dd32e33ce61e
2021-08-16 10:50:43 +00:00
TreeHugger Robot
339f367922
Merge "Removing old workaround" into sc-v2-dev am: 77c08b045e am: 4a9bf5ab91
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535538
Change-Id: If259b13ab777993002a471c541e80bd77e31e905
2021-08-16 10:50:35 +00:00
TreeHugger Robot
d393a1ce9f
Merge "Removing unnecessary logging" into sc-v2-dev am: 32e573162d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535164
Change-Id: I6493664251d01e53ee267b886d006bdf64f6ffd1
2021-08-16 10:36:58 +00:00
TreeHugger Robot
4a9bf5ab91
Merge "Removing old workaround" into sc-v2-dev am: 77c08b045e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535538
Change-Id: I90431ad3e1773c909d94fc7b0aeacf77c439af24
2021-08-16 10:36:53 +00:00
TreeHugger Robot
32e573162d
Merge "Removing unnecessary logging" into sc-v2-dev
2021-08-16 10:22:34 +00:00
TreeHugger Robot
77c08b045e
Merge "Removing old workaround" into sc-v2-dev
2021-08-16 10:21:45 +00:00
TreeHugger Robot
53239c93a2
Merge "Removing old workaround" into sc-v2-dev am: e22e3aaa9a am: e46b0caee1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534469
Change-Id: I4bcde01e4feba458ca4597409fddcd2c76980b46
2021-08-16 07:11:17 +00:00
TreeHugger Robot
e46b0caee1
Merge "Removing old workaround" into sc-v2-dev am: e22e3aaa9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534469
Change-Id: Ie05de12b6a74e7cb7f0582791d264ae2557031dd
2021-08-16 07:01:19 +00:00
TreeHugger Robot
e22e3aaa9a
Merge "Removing old workaround" into sc-v2-dev
2021-08-16 06:45:19 +00:00
Android Build Coastguard Worker
f5560f14dd
Snap for 7643177 from e262aede47 to tm-release
...
Change-Id: If7178ccae71a372117de8bd6ea5fad77a5f0e8ef
2021-08-15 01:08:02 +00:00
Android Build Coastguard Worker
a1edf6b6e6
Snap for 7642774 from 348065811f to sc-v2-release
...
Change-Id: Iaeda5fa18f6a74bb81ff50f39fda86935c7052bd
2021-08-14 21:08:41 +00:00
Xin Li
b252da0e67
Merge sc-dev-plus-aosp-without-vendor@7634622
...
Merged-In: Ic51ea9d199e6a072168365aeb7553203cd2c43c6
Change-Id: I73e01a9461ec61f09c776977b1ecb49ad9de991d
2021-08-14 06:31:03 +00:00
Android Build Coastguard Worker
4c43a5299a
Snap for 7641883 from bf7f0e5426 to tm-release
...
Change-Id: I6b94f8dd558c31ad28ed7c4a93b7c1ab495e9b0f
2021-08-14 05:08:43 +00:00
TreeHugger Robot
e262aede47
Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f am: 33120900b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665
Change-Id: I58c2006e93d83fa6aa8917b159cef33736ed7507
2021-08-14 01:26:35 +00:00
TreeHugger Robot
33120900b8
Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665
Change-Id: Ib61704ae9fd492a7569e191059f3de0acc560073
2021-08-14 01:11:33 +00:00
Android Build Coastguard Worker
fb36d832d4
Snap for 7639977 from 99b5d13952 to sc-v2-release
...
Change-Id: I47f71514fc9243a0701ebee91d216d516357c8f4
2021-08-14 01:10:50 +00:00
TreeHugger Robot
348065811f
Merge "Constrain scroll amount" into sc-v2-dev
2021-08-14 00:57:13 +00:00
TreeHugger Robot
3fe559de9c
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev am: a4937b2270 am: e1b5c7b417
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15562850
Change-Id: I4dada14d21d1d7258e0fccceb9f9aa1e46e8814e
2021-08-14 00:32:42 +00:00
Dave Mankoff
bf7f0e5426
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec am: f3658027c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514
Change-Id: Ib91cd33e8f57b79b61790baa0c9f895ee2f49d7f
2021-08-14 00:24:21 +00:00
TreeHugger Robot
e1b5c7b417
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev am: a4937b2270
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15562850
Change-Id: I1e4f48f0d0fc375c13091297c30cc0f73f454010
2021-08-13 23:37:21 +00:00
Dave Mankoff
f3658027c3
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514
Change-Id: I886ec469bea76555fa07452c4f730ed17cd7e456
2021-08-13 23:29:45 +00:00
TreeHugger Robot
a4937b2270
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev
2021-08-13 23:27:18 +00:00
Lucas Dupin
b259a896f5
Constrain scroll amount
...
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
2021-08-13 15:57:41 -07:00
Alex Chau
f551c876e4
Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990 am: 298db67fd8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531
Change-Id: I82d22dcb706ca5ab2ba83a5994e801c3f369d022
2021-08-13 22:10:36 +00:00
TreeHugger Robot
219dff2349
Merge "launcher: correct the amount of padding for preview" into sc-v2-dev am: f952fd9256 am: 9f76d9d09a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547452
Change-Id: I1dd9dd360249bdc6545e53498e632a5bad977586
2021-08-13 22:07:49 +00:00
Alex Chau
298db67fd8
Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531
Change-Id: Ifd297a22641a8d3a074c27d637ee895a1fc24de0
2021-08-13 21:59:14 +00:00
Vadim Tryshev
169c4e88cd
Revert "Not using shell command to enable test provider"
...
This reverts commit 5f80e92bda .
Reason for revert: We need to see if this has caused b/196586808
Bug: 196586808
Test: presubmit
Change-Id: I078f0d4e83f5f1db19e9e0a5afec4f3058156745
2021-08-13 21:56:07 +00:00
TreeHugger Robot
9f76d9d09a
Merge "launcher: correct the amount of padding for preview" into sc-v2-dev am: f952fd9256
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547452
Change-Id: I1aa02ab7eb194e41a4ecce64a9d849c0d64c0fb6
2021-08-13 21:40:54 +00:00