Commit Graph

58436 Commits

Author SHA1 Message Date
Vadim Tryshev 489537fe17 Merge "Waiting for Launcher to restart after enabling test provider" into sc-v2-dev am: 543f73a09d am: 1a4f7da58e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15589916

Change-Id: Ifd760c546c303ca00cd0edb1abbb127334ccee3c
2021-08-18 19:01:22 +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
Vadim Tryshev 1a4f7da58e Merge "Waiting for Launcher to restart after enabling test provider" into sc-v2-dev am: 543f73a09d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15589916

Change-Id: Iced63264da9739f437aa8302d1050f1841a3268d
2021-08-18 18:51:07 +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 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
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
Sunny Goyal 6c6d6d18f1 Merge "Removing widget preview caching" into sc-v2-dev am: 7dcf197821 am: 35dd7566b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15568034

Change-Id: I0e83784e0bb5bc8afdac9d395547e4cd1fa16f4a
2021-08-18 16:46:00 +00:00
Sunny Goyal 35dd7566b1 Merge "Removing widget preview caching" into sc-v2-dev am: 7dcf197821
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15568034

Change-Id: Icdb867fce1aa484595eb217191c646b826166966
2021-08-18 16:31:45 +00: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 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 0d6835fccd Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev am: 8782ad4f99 am: 04c4f94223 am: 10a305ef62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524186

Change-Id: Iadeb22c5e1dcf1c90e9f6edcdca9e34151cadf30
2021-08-18 05:51:55 +00:00
TreeHugger Robot 7be5631a35 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev am: 8782ad4f99 am: bf22a7effd am: e0028c1016
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524186

Change-Id: I1a20df63eba0b9a39af9ca33c43cd721d4ca8b4b
2021-08-18 05:51:44 +00:00
TreeHugger Robot 10a305ef62 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev am: 8782ad4f99 am: 04c4f94223
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524186

Change-Id: Ib8c152b2c7b73190438087e3d72bfce99d4f0ceb
2021-08-18 05:38:24 +00:00
TreeHugger Robot e0028c1016 Merge "Fixing ModelPreload cancelling existing load" into sc-qpr1-dev am: 8782ad4f99 am: bf22a7effd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524186

Change-Id: I9afb8a7e7cf562bc5ae646421342bf86e3559420
2021-08-18 05:37:52 +00: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 bf22a7effd 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: Idc7677fb242c6c85385d6ee701f1cf155ba9d961
2021-08-18 05:21:29 +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
Android Build Coastguard Worker dc4aa1f76a Snap for 7651577 from a595fef63b to tm-release
Change-Id: I3b93301d0ba52819902b1bd22bef59fbad6d8423
2021-08-18 03:08:41 +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
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
Bill Yi 917416cffa [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours am: e0b69a2ae5 -s ours am: 008f2fea1e -s ours am: acbbd5024f -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: I778f07efb00f1ff830ba25693eaba7918806fa84
2021-08-18 01:08:10 +00:00
Bill Yi 8787f69682 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cea66b3a81 -s ours am: 0610d4c802 -s ours am: 565616ae6e -s ours am: 88650210a4 -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: If6667bb6fd81d0cf8099496f3fa6e6cd4662d48b
2021-08-18 01:06:59 +00:00
Bill Yi 590275a399 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours am: e0b69a2ae5 -s ours am: 6c1d6c3e4e -s ours am: 454fecff24 -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: If389006abe4594067462b2a8f28a7fa1b26a8390
2021-08-18 01:03:39 +00:00
Bill Yi 7fc5a4e836 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cea66b3a81 -s ours am: 0610d4c802 -s ours am: 4240e33c67 -s ours am: 6a7f14d2ea -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: I984502552b79cf02cc1de5c96f2b27b6d3507f60
2021-08-18 01:02:23 +00:00
Bill Yi b121b60115 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3b8415e58a -s ours am: 816ba91b21 -s ours am: 4b7e273ca8 -s ours am: 2ec90ffa45 -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: Idad6ca7819260e1f1047979d1f7396f904e39043
2021-08-18 01:01:05 +00:00
Bill Yi ed52348863 Merge changes from topic "presubmit-am-7e1940cadd2a43ad94282dd8aef456b4" into sc-dev-plus-aosp am: 3939db651c am: 8b31baa6d9 am: 87104f6bb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595326

Change-Id: Ic5faaad6428d75869f848c2e50961c3c301eb969
2021-08-18 00:58:41 +00:00
Bill Yi b95d04517f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c864f6c50e am: b40b16f35c -s ours am: 0484ab6cb7 -s ours am: f5f3900b4a -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: Ie6263e22c3be8c81eaed7695de08c3a02565c5e7
2021-08-18 00:58:40 +00:00
Bill Yi 50be624e52 Merge changes from topic "presubmit-am-dd3c36e3866a44d6b7f93a76c12cd46d" into sc-dev-plus-aosp am: 4d3edb5d91 am: 9b1030e65c am: 7021004a6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15595229

Change-Id: I0e062442696b4ebc4a9654432f3dd5156efd642f
2021-08-18 00:51:21 +00:00
Bill Yi cea75495e6 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cea66b3a81 am: 049c6cb59f -s ours am: 5d0627e910 -s ours am: a3c8b87e55 -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: I8e3394cca686dccc7c11baa6c00111d979d0cb37
2021-08-18 00:51:20 +00: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 79466fc936 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 5baa4e8c45 -s ours am: 94398a0461 -s ours am: 25b2ff077e -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: Ic3f58a7d6b6bc141eec175737ed4f5b79b00fd4c
2021-08-18 00:49:07 +00:00
Bill Yi 7084dfcefb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: af65b6d3d2 -s ours am: df27435106 -s ours am: 92817cb2a6 -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: Ia729d0365f2e5558f36c9cc0c965a7d14dfa5b0b
2021-08-18 00:34:30 +00:00
Xin Li 59bac6e4c5 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: b252da0e67 -s ours am: 40df1d25c3 -s ours am: 5fc990a2e5 -s ours am: dec70bc2cd -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: I3f3612477d1565fd16d6a78f9888ff0f72e44655
2021-08-18 00:23:26 +00: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