Commit Graph

49925 Commits

Author SHA1 Message Date
Nick Chameyev 4ba48cdb8b Add quick search bar width unfold animation
Adds unfold animation to quick search bar in launcher
which changes the width of the quick search bar
from 70% to 100%.

Bug: 193795041
Test: manual
Change-Id: I8c55ca1cc5b5894847503beac8ecd8adec3e5674
2021-08-17 16:58:57 +01:00
Tony Wickham 2f245001b7 Merge changes from topic "taskbar-crop-tasks" into sc-v2-dev am: 40f86763bc am: 8372c17e9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587788

Change-Id: I41769ca27299760614bf370135a79b094347c42d
2021-08-17 15:26:56 +00:00
Tony Wickham 8372c17e9a Merge changes from topic "taskbar-crop-tasks" into sc-v2-dev am: 40f86763bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587788

Change-Id: I485467f809b6cd571915a7d5cfebc1a485987842
2021-08-17 15:14:09 +00:00
Tony Wickham 40f86763bc Merge changes from topic "taskbar-crop-tasks" into sc-v2-dev
* changes:
  Extend taskbar color to entire screen in overview
  Use WindowBounds#insets instead of WindowInsets in DeviceProfile
2021-08-17 14:52:50 +00:00
Alex Chau fa3a209537 Only add 2nd screen by default for split display
Fixes: 175939730
Fixes: 196951827
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Change-Id: I5b0acf162b7f63c6df8f55a6c7e2975e1748190a
2021-08-17 13:53:07 +00:00
Dave Mankoff 40e4ae6d1b Merge "Updates to constructor of PluginInstanceManager.Factory" into sc-v2-dev am: 6eeb12e3eb am: 04b24f0976
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558875

Change-Id: Ic592e3ff056b4b38c7ea85a2bdb4efa27855afad
2021-08-17 13:37:07 +00:00
Dave Mankoff 04b24f0976 Merge "Updates to constructor of PluginInstanceManager.Factory" into sc-v2-dev am: 6eeb12e3eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558875

Change-Id: Id308c83114e7ef42b665464b374609e2d31984ee
2021-08-17 13:20:23 +00:00
Dave Mankoff 6eeb12e3eb Merge "Updates to constructor of PluginInstanceManager.Factory" into sc-v2-dev 2021-08-17 13:07:50 +00:00
Alex Chau fbd553a947 Merge "Remove widget panel" into sc-v2-dev am: dc57b06e29 am: 6c0bd21c4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547451

Change-Id: If266743bc02e6367d881f5b85c9ef873b6bba324
2021-08-17 09:22:20 +00:00
Bill Yi d32a35b27b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib59fde9a1b087d927af5e3d96a75ce7ee2f748d6
2021-08-17 02:19:05 -07:00
Bill Yi 1fbeb066f1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I73ea13220c10502c794c16674a34ae336e788b89
2021-08-17 02:17:46 -07:00
Bill Yi fd68c8bdeb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic974cc411ced8abc87034adcf2e079f42202b98e
2021-08-17 02:17:05 -07:00
Bill Yi f07084c8f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e99b63e1092bd252b2052280d05e765cbe799ac
2021-08-17 02:16:14 -07:00
Bill Yi da89927fb8 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e 2p: cc78c86459
Blank merge reason: parent was merged -s ours

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326

Change-Id: I8f43c4251709951eb4c7152b7df7e69127c8a4b3
2021-08-17 09:15:36 +00:00
Bill Yi b40b16f35c [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326

Change-Id: Idc53bbfe4477e888acc4098262b31f98bacc9973
2021-08-17 09:15:33 +00:00
Bill Yi cc78c86459 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326

Change-Id: I4778f193e34722e0c2d24f769e54b4ff6c7f0f43
2021-08-17 09:15:33 +00:00
Bill Yi c864f6c50e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7fb2cb94cefd0abab06ebaf0f6a54d5ef2b225aa
2021-08-17 02:15:20 -07:00
Bill Yi 42476b5bb0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie3d9b9856af9a823121595b8f6c880d4a5b3c891
2021-08-17 02:12:27 -07:00
Alex Chau 6c0bd21c4e Merge "Remove widget panel" into sc-v2-dev am: dc57b06e29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547451

Change-Id: I9b5638d2abdfe85f2bb86caaeb884c3d082bc1de
2021-08-17 09:11:46 +00:00
Bill Yi af65b6d3d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I945a5fbf0a31fe983fe20c6f173d80e6d9423e26
2021-08-17 02:11:45 -07:00
Bill Yi eba1588dcc [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cea66b3a81 2p: b03a16f3c6
Blank merge reason: parent was merged -s ours

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595229

Change-Id: I8118c23c8cf8a6c5a7da54961be1e6e505ad3cfb
2021-08-17 09:11:16 +00:00
Bill Yi 049c6cb59f [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cea66b3a81
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595229

Change-Id: Id7128e13afc746901ad8d6f4a2b0f6a9b795fc16
2021-08-17 09:11:13 +00:00
Bill Yi b03a16f3c6 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cea66b3a81
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595229

Change-Id: I19e40ee61c961636687b735f3aa2cf41b4f95633
2021-08-17 09:11:13 +00:00
Bill Yi cea66b3a81 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1827e8d2469c9c7993b5b15ea5a964e1fa562dbb
2021-08-17 02:11:04 -07:00
Alex Chau dc57b06e29 Merge "Remove widget panel" into sc-v2-dev 2021-08-17 08:48:26 +00:00
vadimt fa56d3ed27 Waiting for Launcher to restart after enabling test provider
Bug: 188806432
Test: presubmit
Change-Id: Ie821c7641c351e0926fff1b7218c4ed745d2dd8f
2021-08-16 18:37:28 -07:00
Vadim Tryshev 5eddbd8551 Merge "Revert "Removing old workaround"" into sc-v2-dev am: 0ec3e647ba am: 01627fb235
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587972

Change-Id: Ie09130f15909a44c36ddccd014b686f1b0fcaa9b
2021-08-17 01:32:24 +00:00
Vadim Tryshev 01627fb235 Merge "Revert "Removing old workaround"" into sc-v2-dev am: 0ec3e647ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587972

Change-Id: I742efdbd334bc5c6ee57429facf150f03f658b08
2021-08-17 01:31:52 +00:00
Tracy Zhou 5b3a46445b Merge "Update LauncherInstrumentation to consider tablet w/o nav bar" into sc-v2-dev am: 180a7d97d7 am: 46f24850ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15556449

Change-Id: I5b842a7735886fb719ddd599ac74583021c7bb8e
2021-08-17 01:31:47 +00:00
Vinit Nayak bc90338c7d Merge "Add logs when clearing TaskViewId" into sc-v2-dev am: 2ad3d6b4c3 am: 974f20f333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15584532

Change-Id: I71b0bfc78cca0cd719b903b6beaf04a342ffe264
2021-08-17 01:31:33 +00:00
Vadim Tryshev 0ec3e647ba Merge "Revert "Removing old workaround"" into sc-v2-dev 2021-08-17 01:20:24 +00:00
Tracy Zhou 46f24850ed Merge "Update LauncherInstrumentation to consider tablet w/o nav bar" into sc-v2-dev am: 180a7d97d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15556449

Change-Id: I7a51badb5f4ce4fade888c02ef20e24c5a21a272
2021-08-17 01:15:56 +00:00
Vinit Nayak 974f20f333 Merge "Add logs when clearing TaskViewId" into sc-v2-dev am: 2ad3d6b4c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15584532

Change-Id: If371285b5388c3cbf4bb8d09b7cb2d40368d32af
2021-08-17 01:15:45 +00:00
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