Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot a7929aff08 Merge "Logging for artifacts not being created" into sc-v2-dev 2021-08-19 10:39:57 +00:00
IRIS YANG 829264a650 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev 2021-08-19 08:58:13 +00:00
shawnlin 4e15fe0726 [DO NOT MERGE] Update QuickStepContract.getWindowCornerRadius API
Update from getWindowCornerRadius(Resources) to
getWindowCornerRadius(Context)

Bug: 131221697
Test: make
Change-Id: Ia5f10e9292e205dab7e69d97dfc82d17690816fb
2021-08-19 15:52:10 +08:00
vadimt b29f63af3c Logging for artifacts not being created
Bug: 196820244
Test: presubmit
Change-Id: I8bcaa0a87d54adc122a71755746912112c4b83e1
2021-08-18 19:10:13 -07:00
Sunny Goyal 494bbb0b6c Merge "Moving all widget picker tests to instrumentation tests" into sc-v2-dev 2021-08-19 01:41:40 +00:00
TreeHugger Robot fe5ce7334a Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: If21b096b1d5ac025ffb4116c805d31acba6cc662
2021-08-19 00:57:46 +00:00
TreeHugger Robot 686d42a1d4 Merge "New app animation specs." into sc-qpr1-dev 2021-08-19 00:45:05 +00:00
TreeHugger Robot c799b9d239 Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev 2021-08-18 23:52:19 +00:00
Vinit Nayak b5a4e05e2a Null out reference to RemoteAnimationTargets when animation finishes
Bug: 195430732
Test: Re-ran FallbackRecentsTest#testOverview, passes
Change-Id: If9be3429516caface998561fbcc8223e256d0fdf
2021-08-18 16:37:14 -07:00
Sunny Goyal 177785eccf Moving all widget picker tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I946f29baedb2e6b29044f8df1bc73b74e9999efe
2021-08-18 15:06:53 -07:00
Sunny Goyal 11854ba48b Moving some utility tests to instrumentation tests
> Also removing some UI tests which are already covered by instrumentation

Bug: 196825541
Test: Presubmit
Change-Id: Ib39a81589d0bf55278623a596d444b752ca696e6
2021-08-18 15:00:45 -07:00
Lucas Dupin e85cd9310d [automerger skipped] Add depth to -1 screen am: 482f983a7b -s ours
am skip reason: Merged-In I9067b70d10497d4e16a5ef601161fbedfa9307e1 with SHA-1 87d752062e is already in history

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

Change-Id: Ieb2e4cb399d88c3e62ccb89a61cc226d1e08c969
2021-08-18 21:40:18 +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 741107cc53 Merge "Updating test build rules" into sc-v2-dev 2021-08-18 19:23:33 +00:00
Vadim Tryshev 543f73a09d Merge "Waiting for Launcher to restart after enabling test provider" into sc-v2-dev 2021-08-18 18:48:52 +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
Jon Miranda bda98de9f8 New app animation specs.
- New values and interpolators.

Bug: 173107751
Test: open apps from different parts of the home screen
Change-Id: I81bec0221aec9c04dac0bb3e926c879999699e57
2021-08-18 18:26:46 +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
Tony Wickham ee2e28fae8 Allow clipping individual direction of TaskView
- Only clip the nav bar (taskbar), and always do that in tablets regardless of whether taskbar is stashed, so TaskView always have the same ratio (mocks: https://docs.google.com/presentation/d/1_3zQak_C9FzDPCcIdYagfUit4QyqfdRxetkim3dI9rY/edit#slide=id.ge211eb96a5_5_8)
- When taskbar is present, don't use full thumbnail to avoid TaskView resizing in fullscreen: http://dr/file/d/18C8DSygPBU1gkmMQPPIIa2NqQESFurxW/view?resourcekey=0-8W79f31gstzI_1ZPpHulBQ
- When taskbar is stashed, we still need full thumbnail to gradually crop out the taskbar in overview

Test: Open Chrome, swipe up and ensure status bar inset stays in overview but taskbar stays clipped out from the onset.
Bug: 190681228
Change-Id: I9d563572f2e6800e90d567c2bfae4528a126f24e
2021-08-18 18:09:55 +01:00
Nick Chameyev 875c1b2735 Update unfold transition package name
These changes contain only updating of the package name.
Changing it to more specific package name in order to
not confuse with Android SDK classes.

Bug: 190818044
Test: manual
Change-Id: I9434ef1b82ebfe9bd032637276873777297c9022
2021-08-18 17:22:17 +01:00
Sunny Goyal 7dcf197821 Merge "Removing widget preview caching" into sc-v2-dev 2021-08-18 16:13:22 +00:00
Lucas Dupin 482f983a7b Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
Merged-In: I9067b70d10497d4e16a5ef601161fbedfa9307e1
(cherry picked from commit 87d752062e)
2021-08-18 15:34:45 +00: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 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 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 04c4f94223 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev am: 8782ad4f99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524186

Change-Id: Ib89cd2bbe854242c87f52d2edc384ae864af01c2
2021-08-18 05:21:30 +00:00
TreeHugger Robot 8782ad4f99 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev 2021-08-18 05:09:49 +00:00
Iris Yang 2cdc359b84 Move/Launch task on the TaskView's display.
Add ActivityOptions#setLaunchDisplayId to the display that the TaskView
is currently on. So the task will be moved to the display as the user is
interactiving with.

Bug: 183461428
Test: Manually tested using Exo. Open appliction(e.g.Calculator) on
Exo virtual display, and tapping on the phone's recents to bring the
application back to phone.
The demo video  https://drive.google.com/file/d/1JMncvsI-VPosK4ql2xeVA8csVAF7Rb16/view?usp=sharing&resourcekey=0-PYRw1k3KdtY0-KZNo6OqjQ

Change-Id: Iaed5aed4d698b71b0d0fc2b78843f4aedd586ecb
2021-08-18 04:34:08 +00:00
vadimt 272d622bc4 Improving diags for containers disappearing while getting children
Bug: 184609576
Test: presubmit
Change-Id: I7f527a9991a58fd148b17783078b5ac80979a5b3
2021-08-17 18:47:12 -07: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
Sunny Goyal ed2a55f413 Removing widget preview caching
> All previews are generated on demand when the corresponding
  header expands
> Using ItemAnimator to animate layout changes when preview loads

Bug: 196238313
Test: Manual
Change-Id: I0cb859c8443c2c536399e4063f58baecfc7416ad
2021-08-17 17:50:30 -07: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 ca1d523734 Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev 2021-08-17 23:26:53 +00:00
Bill Yi 008f2fea1e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours am: e0b69a2ae5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2c716517dde4f73a071c4b31d63b6913e368069d
2021-08-17 22:36:06 +00:00
Bill Yi 565616ae6e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cea66b3a81 -s ours am: 0610d4c802 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I903c572336a7c80f35c3619a12ef40a0b17a9cb1
2021-08-17 22:35:47 +00:00
Bill Yi e0b69a2ae5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9d66bd5008a21418a1e061329c1dcb20ea0c91ed
2021-08-17 22:23:00 +00:00
Bill Yi 0610d4c802 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cea66b3a81 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If74688fff1cbeb04de75f0da8908642d485c4186
2021-08-17 22:22:24 +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
Bill Yi 3b8415e58a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-17 22:05:47 +00: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 0aa2549a2f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 5baa4e8c45 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6f2087aade15e5d863636819a70f442b5c725d35
2021-08-17 19:56:24 +00:00
Bill Yi 877d24ee45 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: af65b6d3d2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I08726275c50a21bcba9ee0457fc2c4b87a949ec0
2021-08-17 19:56:09 +00:00
TreeHugger Robot 5baa4e8c45 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-17 19:54:28 +00:00
TreeHugger Robot cceef46f16 Merge "Only add 2nd screen by default for split display" into sc-v2-dev 2021-08-17 19:45:48 +00:00
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