Commit Graph

7983 Commits

Author SHA1 Message Date
Vinit Nayak 9c8bf15e17 Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev am: f8d55e0e2a am: 2b79ee7200
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15590495

Change-Id: I858d68cb3d5367fb6add19e419b9869acb220666
2021-08-18 23:36:20 +00:00
Bryce Lee 1c907a3fdc Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev am: 6e2d149ac7 am: 1815efeaa8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15614359

Change-Id: I4a33c6c7a97cb58b906b563e5b453d86e4c62933
2021-08-18 21:30:41 +00:00
Vinit Nayak 2b79ee7200 Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev am: f8d55e0e2a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15590495

Change-Id: I183d36b6cea375d05dacd11a998a7afafecb6ee6
2021-08-18 21:25:26 +00:00
Bryce Lee 1815efeaa8 Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev am: 6e2d149ac7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15614359

Change-Id: Ib16ea6a8c019f03f6145aa5f6768606be07b2ef2
2021-08-18 21:21:42 +00:00
Vinit Nayak f8d55e0e2a Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev 2021-08-18 20:54:09 +00:00
Bryce Lee 6e2d149ac7 Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev 2021-08-18 20:51:05 +00:00
Bryce Lee a997ca437a Revert "Draw rounded corners above the taskbar"
This reverts commit 157d3b950d.

Reason for revert: b/197129604
Bug: 197129604
Change-Id: Idf2267528fade23291aedea9787d98601495537c
2021-08-18 20:50:58 +00:00
Sunny Goyal 8942838089 Merge "Updating test build rules" into sc-v2-dev am: 741107cc53 am: 19994afa41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15605214

Change-Id: Ibe7c1ef6ba2b77c3f93fae8f7b18a23baaf415a8
2021-08-18 20:03:20 +00:00
Sunny Goyal 19994afa41 Merge "Updating test build rules" into sc-v2-dev am: 741107cc53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15605214

Change-Id: I3f62661c7597cb262393d7338906dbef44a2be6c
2021-08-18 19:47:25 +00:00
Sunny Goyal 741107cc53 Merge "Updating test build rules" into sc-v2-dev 2021-08-18 19:23:33 +00:00
Tracy Zhou 9370c8b184 Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev am: d571905aa6 am: 9dd5f3ed6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602959

Change-Id: I5464e448caf20a0c6a891440173396b0442e222d
2021-08-18 19:00:50 +00:00
Tracy Zhou 9dd5f3ed6d Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev am: d571905aa6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602959

Change-Id: Idcce77cf8c3dd95f19ac16722a6a9d9d849be1c5
2021-08-18 18:46:14 +00:00
Tracy Zhou d571905aa6 Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev 2021-08-18 18:32:35 +00:00
Sunny Goyal 4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
Vinit Nayak 54dccc2465 Respect StatusBarManager back/home disable flags
* Also use the same signals provided by SysUi flags
instead of directly from the disable API just for
consistency. (Disable2 flags still need to be migrated
over, so we're keeping the API for now).

Bug: 194870114
Test: Locking screen w/ 3 button nav
w/ various keyguards

Change-Id: I858ea36876061cddf0debbd43e8fcfe1d5712839
2021-08-18 07:44:50 -07:00
TreeHugger Robot 7a3ad90e88 Merge "Logging for Nexus home activity appearing after to-home gesture in L3." into sc-v2-dev am: a7f7c4b432 am: 433ef28f91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602542

Change-Id: I13b2f88a69b80aa96ea896905f0da583a180cfc0
2021-08-18 11:45:50 +00:00
TreeHugger Robot 433ef28f91 Merge "Logging for Nexus home activity appearing after to-home gesture in L3." into sc-v2-dev am: a7f7c4b432
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602542

Change-Id: I4d3a7bf32903836d37f2cb5fbc32d46c7a1677e5
2021-08-18 11:32:26 +00:00
TreeHugger Robot a7f7c4b432 Merge "Logging for Nexus home activity appearing after to-home gesture in L3." into sc-v2-dev 2021-08-18 11:19:26 +00:00
Alex Chau 3a97c736a1 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728 am: 3328b32054
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I59fdfa471d8f29524179517cee156baf006ee512
2021-08-18 09:08:57 +00:00
Alex Chau 3328b32054 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I554e432e4a06e5fcece33efb39dde074a1873ada
2021-08-18 08:56:27 +00:00
Alex Chau 2683bd7728 Merge "Support different task icon margin for grid tasks" into sc-v2-dev 2021-08-18 08:41:42 +00:00
Tracy Zhou 334cae420e Tint task bar based on sampling of colors in the area
TODO: Add transition animation

Bug: 193938970
Test: manual
Change-Id: I0ffb94e0f11d47685a268ee8d057b6997f3a2ff6
2021-08-17 23:26:28 -07:00
TreeHugger Robot 9082490cd9 Merge changes Ibc81d80b,I51d99207 into sc-v2-dev am: 89d3f7d12a am: 5df63f61b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15589042

Change-Id: I6bd2bfdca1e8885783ec80bd16d9417a76b8b05d
2021-08-18 01:27:18 +00:00
Vinit Nayak 5bfc125bde Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev am: ca1d523734 am: 7afaf2731e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467633

Change-Id: If6bd74213f1da7a4a76e42fb4c5e44b36b14edf8
2021-08-18 01:24:56 +00:00
vadimt bc79473313 Logging for Nexus home activity appearing after to-home gesture in L3.
Utilities.IS_RUNNING_IN_TEST_HARNESS is used as a condition
for logging in the background NexusLauncher where sDebugTracing is
not set.

Bug: 192018189
Test: presubmit
Change-Id: Ib08656a12c778b7bf968532e3ba899a03031fd7b
2021-08-17 18:13:50 -07:00
TreeHugger Robot 5df63f61b5 Merge changes Ibc81d80b,I51d99207 into sc-v2-dev am: 89d3f7d12a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15589042

Change-Id: Ib20a5bd4d13a4f8d48d8520c7f550b26ff23bcd2
2021-08-18 00:22:11 +00:00
TreeHugger Robot 89d3f7d12a Merge changes Ibc81d80b,I51d99207 into sc-v2-dev
* changes:
  Don't draw taskbar background during gestures
  Draw rounded corners above the taskbar
2021-08-18 00:05:13 +00:00
Vinit Nayak 7afaf2731e Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev am: ca1d523734
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467633

Change-Id: Ib8fe63c243f3e4b15503c6d9c95a311666718ecb
2021-08-17 23:43:12 +00:00
Vinit Nayak ca1d523734 Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev 2021-08-17 23:26:53 +00:00
Tony Wickham 3974edc46a Don't draw taskbar background during gestures
In this case, the ScrimView for BackgroundAppState will handle drawing behind the whole screen, and prevents taskbar from drawing the rounded corners on top of TaskViews.

Added a hack to defer resuming last task by a frame to ensure taskbar is drawing first.

Test: Quick switch to an app, ensure it isn't covered by the taskbar's rounded corner
Bug: 196257194
Change-Id: Ibc81d80bc3bf1d908e6912b179cbcafbdcc56c0f
2021-08-17 15:07:50 -07:00
Tony Wickham 157d3b950d Draw rounded corners above the taskbar
- Increase height of taskbar window, but not contentInsets
- Draw the inverted corners as part of TaskbarDragLayer#dispatchDraw() (which handles the background already)

Test: visual

Bug: 196257194
Change-Id: I51d992078579e877c85a1d71ee4c00d85fd9db2e
2021-08-17 15:06:18 -07:00
Vinit Nayak 17c4b33db6 Add GroupedTaskView for gestures in staged split.
* Currently only works for portrait 50/50 split
* Have gesture swipe animation flow use multiple
TaskViewSimulators, one for each app in split
* Added new APIs in shell to query for actively running
tasks to determine if we're in split screen
* Lots of UI polish needed during gesture
* Launching into staged split after live tile ends
not implemented yet.

Bug: 181704764
Change-Id: Ib90e99e1e10b19121e8709385e1334b9380d6502
2021-08-17 13:46:43 -07:00
TreeHugger Robot 30a62d835e Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-08-17 20:15:56 +00:00
TreeHugger Robot f8d92e0a48 Merge changes I2cc102d7,Ifba9aa59 into sc-v2-dev am: 54ce7e6cf8 am: 4079cdbb74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465222

Change-Id: I07e79c417528a08896ce07213e5476d771de545c
2021-08-17 19:55:01 +00:00
TreeHugger Robot 4079cdbb74 Merge changes I2cc102d7,Ifba9aa59 into sc-v2-dev am: 54ce7e6cf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465222

Change-Id: I9de621c74f2a47f893d309031ea61e0b25763fcf
2021-08-17 19:39:18 +00:00
TreeHugger Robot 6a384092a3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:31:34 +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
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
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
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