Commit Graph

14731 Commits

Author SHA1 Message Date
Sunny Goyal 711c596c86 Binding Taskbar directly from Launcher model
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle

Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
2021-07-15 12:43:11 -07:00
Cyrus Boadway 1db10e2a3a Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: e08c377a72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: If16f06c6aa4d615df865a64f9327dcae9c131eaa
2021-07-15 18:56:08 +00:00
Cyrus Boadway 1df813a13e Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: eec4833b22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I8af5f490e5e4325f5034177b9eef249207c85301
2021-07-15 18:55:44 +00:00
Cyrus Boadway eec4833b22 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: Ie06393d266ff3e3d290f77fa9170df4d88604ab8
2021-07-15 18:40:38 +00:00
Cyrus Boadway e08c377a72 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I803a9decf159b4f2cdec9949e2af954fb81aa58a
2021-07-15 18:40:32 +00:00
TreeHugger Robot 8c4e93fe49 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:34:11 +00:00
Cyrus Boadway 66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Pat Manning 638ce7402f Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev am: d642b65137 am: 038eff4fba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15014310

Change-Id: I68fb5b2db82409e9c3cbed8518b7a543d2c8697e
2021-07-15 18:06:28 +00:00
Pat Manning 038eff4fba Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev am: d642b65137
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15014310

Change-Id: Ibc650a5ea903a84bd0027548e29b421de55a9610
2021-07-15 17:52:14 +00:00
Pat Manning d642b65137 Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev 2021-07-15 17:39:31 +00:00
Bill Yi ddedb86ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07a46873b25609c6626be27f535de361b199c313
2021-07-15 17:17:13 +00:00
TreeHugger Robot e66b2d42da Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev am: a1ef7b3c1b am: dc9de479ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220575

Change-Id: I5a5097d33fad78c97a8dbbdc4221df476ce258d7
2021-07-15 16:54:48 +00:00
TreeHugger Robot fbfb5d691f Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev am: eba399c130 am: 94ab05138f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299582

Change-Id: Idb1bb656ee9ce79dea91e108dfc164b1014b9821
2021-07-15 16:54:43 +00:00
TreeHugger Robot dc9de479ba Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev am: a1ef7b3c1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220575

Change-Id: I4ca1a0a55969e4aed11ea60caa7390d32fd57ed8
2021-07-15 16:40:36 +00:00
TreeHugger Robot 94ab05138f Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev am: eba399c130
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299582

Change-Id: If49e262fcf6c6df96035d3bc61d669cf34e67b6a
2021-07-15 16:40:11 +00:00
Pat Manning 8a6179bb7d Scale task rounded corners proportional to TaskView size.
Test: manual
Fix: 183936745
Change-Id: I2e2dd806826cba135d5a1e6ab9a5e80b8994d64d
2021-07-15 15:25:24 +00:00
Alex Chau 86ac825061 Move focused task to front when attaching RecentsView
- Only move focused task it's the first time attaching RecentsView
- Simpily remove and re-add focused task to move it to front

Bug: 192471181
Test: manual
Change-Id: I95b29c39328911beec7fd3d254f7a22be5e10cc1
2021-07-15 15:24:00 +01:00
Alex Chau 031373daa3 Reland "Snap to relative position to snappd task when dismissing"
This reland commit ba61b98fca accidentally reverted by http://ag/15162411

Bug: 188793333
Test: manual
Change-Id: Iae07a67d528aa80e8f87d37758244d0c46b61cf7
2021-07-15 15:12:34 +01:00
TreeHugger Robot 388a273885 Merge "Don't create gap between last task and clear all button" into sc-v2-dev am: 3df9de7cd0 am: 9c3968b231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220572

Change-Id: I278298d6d69345a5643c45a6e8cef09583bffba8
2021-07-15 11:15:32 +00:00
TreeHugger Robot 9c3968b231 Merge "Don't create gap between last task and clear all button" into sc-v2-dev am: 3df9de7cd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220572

Change-Id: I9d62767d88a4ffee1807651b78484aea467e2629
2021-07-15 11:01:22 +00:00
TreeHugger Robot 3df9de7cd0 Merge "Don't create gap between last task and clear all button" into sc-v2-dev 2021-07-15 10:54:47 +00:00
TreeHugger Robot a5e98ad98a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 01:06:14 +00:00
Hongwei Wang 3cecb769c2 Merge "Use display cutout info in auto-enter-pip transition" into sc-dev am: a35d7ec90e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15264643

Change-Id: I1dce131a88f408296eb0ec0cca5a79d73c37e16e
2021-07-15 00:08:27 +00:00
Hongwei Wang 986dd5d804 Merge "Use display cutout info in auto-enter-pip transition" into sc-dev am: a35d7ec90e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15264643

Change-Id: I87f2cc29b1f9845fca3da5c62c6e186bc7904847
2021-07-15 00:07:30 +00:00
Hongwei Wang a35d7ec90e Merge "Use display cutout info in auto-enter-pip transition" into sc-dev 2021-07-14 23:52:42 +00:00
Bill Yi 83d5e8ca39 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I59d3343c23a12713e00ff0f3b5c96eea4ffb437e
2021-07-14 21:40:23 +00:00
Hongwei Wang cac1186336 Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev am: 3c4f60900d am: 9d6f0f106e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15275760

Change-Id: Idcbbe8fb110954f6473e0d0fb4fe84c7e101615c
2021-07-14 21:13:19 +00:00
Hongwei Wang 9d6f0f106e Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev am: 3c4f60900d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15275760

Change-Id: I09597013a0a43f509815bb50c13079630ed99268
2021-07-14 21:12:44 +00:00
Hongwei Wang 3c4f60900d Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev 2021-07-14 21:00:47 +00:00
Cyrus Boadway 1cf5527ae8 Keep transparent drawable for clipping outline during launch animation
During the widget-activity transition, the widget foreground loses its
clipping radius, if the clipping is determined by a drawable. We remove
the drawable through the animation.

For widgets where there is content being clipped by the background's
corener radius, this results in the widget window appearing square
through the entire animation, then snapping in rounded corners on
animation-complete.

To solve this, we leave a transparent clone of the drawable in the
original drawable's place, for the balance of the animation, providing
the outline for clipping.

Manual testing against 20 Google widgets showed no regression in
behaviour in other cases.

Bug: 193665108
Test: manual

Change-Id: I3db31e4634c8dd6b22a513a976386d396445ebc2
2021-07-14 19:21:16 +00:00
TreeHugger Robot e9b4712cfa Merge "Notify System UI about taskbar state" into sc-v2-dev am: 6224eaea29 am: d258acb0b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15162411

Change-Id: Ifc44c34ce18153e1f94270406e68a7a2dccfff09
2021-07-14 11:27:30 +00:00
TreeHugger Robot d258acb0b8 Merge "Notify System UI about taskbar state" into sc-v2-dev am: 6224eaea29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15162411

Change-Id: Ie894f5483ba5b35f204ca49af46df39adc88a347
2021-07-14 11:15:15 +00:00
TreeHugger Robot 6224eaea29 Merge "Notify System UI about taskbar state" into sc-v2-dev 2021-07-14 10:59:26 +00:00
Thales Lima 00f57e0c74 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev am: 03f0c67420 am: 9ddcedd49a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273350

Change-Id: I2ca15b7f9b8c182fe4f2ed49960fe55b923c5ec0
2021-07-14 10:20:23 +00:00
Thales Lima 9ddcedd49a Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev am: 03f0c67420
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273350

Change-Id: Ida8a2d63d6570812555ad55155e9e6111dd06377
2021-07-14 10:09:54 +00:00
Thales Lima 03f0c67420 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev 2021-07-14 09:54:10 +00:00
Bill Yi 3d7e1ff8f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bd29843a664b6a0a4c106f0f7ac4a7505ef7602
2021-07-14 04:26:27 +00:00
Schneider Victor-tulias 49f0d07354 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231 am: 38a6d462a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I4278cc685f2a335b4842d0e26b883bcf9ac4396c
2021-07-13 23:58:10 +00:00
Schneider Victor-tulias 00adfcee2c Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231 am: c564a2487c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I5f52e76ad326b4027369af33c280b3fd80ec43e4
2021-07-13 23:57:50 +00:00
Schneider Victor-tulias 38a6d462a2 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: Icb5e7cdca02fab3c6c165ab3c612ee943d97d947
2021-07-13 23:41:14 +00:00
Schneider Victor-tulias c564a2487c Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I58b6a988f34c8ac41cc9eed5575861dac66e6036
2021-07-13 23:40:33 +00:00
Schneider Victor-tulias 2a594ef1d7 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I4a24b10e0535791030ca7d5d0a1b05fe6a2d2eb3
2021-07-13 23:40:22 +00:00
Schneider Victor-tulias ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +00:00
TreeHugger Robot 35142c17fc Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev am: a23590411f am: 4271b2f39e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273390

Change-Id: I09e2e98e580e4816e3f3e754703fc159938be1b4
2021-07-13 21:05:27 +00:00
TreeHugger Robot 4271b2f39e Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev am: a23590411f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273390

Change-Id: Ib5725aa16038f74a9c74951c5add10a475bf5b68
2021-07-13 21:02:05 +00:00
TreeHugger Robot a23590411f Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev 2021-07-13 20:45:55 +00:00
Hongwei Wang 854fbf8d23 Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
Merged-In: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:24:57 -07:00
Hongwei Wang 70d4e3e2df Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:22:42 -07:00
Galia Peycheva 22271a5e69 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3 am: 8982384ca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: Iac2abdf5e242f0fa6882eca376f812cda731dc9f
2021-07-13 19:58:59 +00:00
Galia Peycheva 2b14d11a3e Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3 am: 8017c9b236
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I126b3516830708351f29177d7d2fb6eb8ec24904
2021-07-13 19:57:16 +00:00