Commit Graph

47938 Commits

Author SHA1 Message Date
TreeHugger Robot 96273bf2ff Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:39:01 +00:00
TreeHugger Robot 6a384092a3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:31:34 +00:00
TreeHugger Robot 4e9974d48f Merge "Adding NavigationModeSwitch to testOverviewActions" into sc-v2-dev am: c71f82291d am: c32306a774
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535068

Change-Id: I2f097141e04f6c46b5a4ef87a600ce5bbbdb5ec7
2021-08-17 19:15:35 +00:00
Nick Chameyev d1b2bd4b6f Merge "Add quick search bar width unfold animation" into sc-v2-dev am: caa713bc1a am: 8b7226abee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547447

Change-Id: I5e51979f6eb8d08205ee35ff49f1e6354d23f2f7
2021-08-17 19:15:27 +00:00
TreeHugger Robot 54ce7e6cf8 Merge changes I2cc102d7,Ifba9aa59 into sc-v2-dev
* changes:
  Only show Taskbar Edu once (first time an app is opened).
  Adds initial Taskbar Edu implementation.
2021-08-17 19:13:31 +00:00
Xin Li 40df1d25c3 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: b252da0e67 -s ours
am skip reason: Merged-In Ic51ea9d199e6a072168365aeb7553203cd2c43c6 with SHA-1 4b3c24d0d3 is already in history

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

Change-Id: I48bec9307c0b9a015ae63ec906995b0549339cd1
2021-08-17 18:35:32 +00:00
TreeHugger Robot c32306a774 Merge "Adding NavigationModeSwitch to testOverviewActions" into sc-v2-dev am: c71f82291d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535068

Change-Id: Ie7411ab86184732ebf34b523a3a4b98c84b1ec1a
2021-08-17 18:22:14 +00:00
Nick Chameyev 8b7226abee Merge "Add quick search bar width unfold animation" into sc-v2-dev am: caa713bc1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547447

Change-Id: I97f1262eb7302cbf7c244cd187969fb3822c4d60
2021-08-17 18:21:59 +00:00
TreeHugger Robot c71f82291d Merge "Adding NavigationModeSwitch to testOverviewActions" into sc-v2-dev 2021-08-17 18:02:19 +00:00
Nick Chameyev caa713bc1a Merge "Add quick search bar width unfold animation" into sc-v2-dev 2021-08-17 17:58:50 +00:00
Alex Chau eaa6d682d4 Support different task icon margin for grid tasks
- Focused and non focused grid now have differnt margin between icon and snapshot
- The overall margin above snapshot is still the same
- Invoke updateChildTaskOrientations when focus task changes to update the margin
- Also lowered the row spacing according to spec

Bug: 194194694
Test: manual
Change-Id: I25267bef19d5a8b1dc1cf96fc1babdc3ebc39330
2021-08-17 18:33:21 +01:00
Andy Wickham b8eac86b63 Only show Taskbar Edu once (first time an app is opened).
Bug: 180605356
Test: Manual
Change-Id: I2cc102d7ce36e0b1c2c75482e2bbb97218618e61
2021-08-17 09:57:55 -07:00
Andy Wickham 13f3ffed95 Adds initial Taskbar Edu implementation.
Currently it just pops up with one placeholder image for splitscreen.
The Next button doesn't do anything.

Screenshots:
Light: https://screenshot.googleplex.com/B27CwBcwobHTghN.png
Dark: https://screenshot.googleplex.com/48EuJZv8evd5RGW.png

Known issues:
 - Back gesture is picked up behind by the app behind the taskbar.
 - When the flag is enabled, the Edu shows up each time you open
   an app, rather than only the first time.

Bug: 180605356
Test: Manual
Change-Id: Ifba9aa59abf1501b5f8ddebb3fcc13df85f6efaa
2021-08-17 09:57:47 -07:00
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