Commit Graph

951 Commits

Author SHA1 Message Date
Greg Kaiser e755dc980a Merge "Revert "launcher: use a different task menu for foldables"" 2021-11-05 16:15:15 +00:00
Greg Kaiser 6f220d92b6 Revert "launcher: use a different task menu for foldables"
This reverts commit 238f630001.

Reason for revert: Root cause of P0 b/205278434
Bug: 205278434
Test: Local reverted and now launcher works on wembley

Change-Id: I5ee18d3ee1b671fcaedda633e7a268addd5c5c15
2021-11-05 16:12:47 +00:00
Alex Chau 5544cd254e Merge "Update overview clear all button to be larger" into sc-v2-dev am: 67ddd0fefd am: 9184e1f3f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183382

Change-Id: Ic9b9ca681e0030b3076f3607788c42b0f2a89019
2021-11-05 12:13:02 +00:00
Alex Chau 9184e1f3f4 Merge "Update overview clear all button to be larger" into sc-v2-dev am: 67ddd0fefd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183382

Change-Id: I5359d6320c9fb1d4a43f25d199d13b23170fb39a
2021-11-05 12:02:31 +00:00
Alex Chau 67ddd0fefd Merge "Update overview clear all button to be larger" into sc-v2-dev 2021-11-05 11:49:56 +00:00
Thales Lima 1a45c7a32f Merge "launcher: use a different task menu for foldables" into sc-v2-dev am: ed7a7b23d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16174368

Change-Id: Ifaf9694b327b05c0c1cd0915dc4df9960ac0f912
2021-11-05 10:29:22 +00:00
Thales Lima 10eb3cd98b launcher: use a different task menu for foldables
Foldables use a different menu from phones, positioned either to the
right or left of the app icon, and display an arrow. Since TaskMenuView
is very specific for handhelds, it was cleaner to create another class
to handle foldables case extending from ArrowPopup.

This creates a working menu, the correct style will come in later CLs.

Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
Merged-In: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
2021-11-04 16:40:37 +00:00
Alex Chau 56bd257478 Update overview clear all button to be larger
- Tuned the size and corner radius
- Tuned the margin from screen edge
- Tuned the vertical position

Bug: 204153113
Test: manual
Change-Id: Ibf3df599b31c7ecc2c9c951fc89e7e09c90253ef
2021-11-04 16:02:17 +00:00
Thales Lima 238f630001 launcher: use a different task menu for foldables
Foldables use a different menu from phones, positioned either to the
right or left of the app icon, and display an arrow. Since TaskMenuView
is very specific for handhelds, it was cleaner to create another class
to handle foldables case extending from ArrowPopup.

This creates a working menu, the correct style will come in later CLs.

Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
2021-11-04 14:40:47 +00:00
TreeHugger Robot 9008744ae9 Merge "Do not use shared lib resources" into sc-v2-dev am: 651b93bb53 am: 1ba47a8fd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166672

Change-Id: I1c0f92f939672ea8757235d465f408d2ef32d8e5
2021-11-01 21:10:19 +00:00
TreeHugger Robot 1ba47a8fd1 Merge "Do not use shared lib resources" into sc-v2-dev am: 651b93bb53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166672

Change-Id: Icac5cbbb004b8dcd3057c0c8e886848361a725d0
2021-11-01 20:53:51 +00:00
Nick Chameyev 5f11bf60a8 Do not use shared lib resources
Temporary removes usages of SysUI shared
resources as it leads to crashes in Launcher
tests.

Bug: 204727471
Test: install launcher, try autorotate suggestion
Change-Id: I1e3c1f5b331a22a753acc3fe0ee544d50fba5c18
2021-11-01 15:49:54 +00:00
Nick Chameyev e8dd2e16b8 Move floating rotation button handling to Launcher am: 0288d2e8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101502

Change-Id: I1ae7ea211aa8eafaaecbde5b2b356035fc254b6d
2021-11-01 12:50:26 +00:00
Nick Chameyev 0288d2e8bb Move floating rotation button handling to Launcher
Moves handling of floating rotation button when navigation
bar is not created to the launcher. This button was not
showing when taskbar is visible as it was initialized in
navigation bar (which is not created for large screens).

Bug: 200103245
Test: rotate phone when autorotate disabled on inner screen
Test: showing rotate suggestion when gesture nav enabled/disabled
Change-Id: I13dd555bcd811f1524be7ab9ad51b2b012b3b749
2021-11-01 10:36:34 +00:00
Bill Yi 8a573dda95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib01aa951a3dbdff0e66f9f7591538bbf508a7e8c
2021-10-30 01:24:28 +00:00
Bill Yi dee85291d4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a64b39bfc779dc7c8261f0571aee1b4e53ea605
2021-10-30 01:20:28 +00:00
Nick Chameyev 5c446d9ed4 Move floating rotation button handling to Launcher
Moves handling of floating rotation button when navigation
bar is not created to the launcher. This button was not
showing when taskbar is visible as it was initialized in
navigation bar (which is not created for large screens).

Bug: 200103245
Test: rotate phone when autorotate disabled on inner screen
Test: showing rotate suggestion when gesture nav enabled/disabled
Change-Id: I13dd555bcd811f1524be7ab9ad51b2b012b3b749
2021-10-29 10:17:18 +00:00
TreeHugger Robot 6fef5f8579 Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f am: 9531506a3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: I08a3f1b2aa478bf1439c67e011f59ac9492517e8
2021-10-28 11:41:25 +00:00
TreeHugger Robot 9531506a3a Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: Ie6b8a70a19c67de942edb094a46a328f5a45b2f2
2021-10-28 11:24:08 +00:00
TreeHugger Robot ce597d786f Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev 2021-10-28 11:19:39 +00:00
Schneider Victor-tulias 66b2aa07fd Update the hotseat edu layout for foldable devices. am: 9188b6b993 am: 494de979db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I3c022d1727679b23d80eb5e158b65b0d900538fe
2021-10-27 22:02:21 +00:00
Schneider Victor-tulias 494de979db Update the hotseat edu layout for foldable devices. am: 9188b6b993
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I48c6528cc857d138da7f0dc3754e0d1c661b4ccb
2021-10-27 21:42:38 +00:00
TreeHugger Robot 90db092f3e Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094 am: 19fbe33337
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ida8d9d27084f85271f51d71f6a23c75c0cf8407a
2021-10-27 18:20:41 +00:00
TreeHugger Robot 19fbe33337 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ia63d6288408804d5a91d33f73e33f88b96f8329d
2021-10-27 18:02:02 +00:00
Schneider Victor-tulias 9188b6b993 Update the hotseat edu layout for foldable devices.
Test: ran the hotseat edu on folded and unfolded foldable device in portrait and landscape mode and in three-button and gesture nav mode. ran hotseat edu on regular phone
Fixes: 203734732
Change-Id: Iea2140c8241cdea60cb5db37fbfb7f7701d63bd6
2021-10-27 17:48:46 +00:00
TreeHugger Robot 3edb8de094 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev 2021-10-27 17:45:38 +00:00
TreeHugger Robot 6f758ff59f Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7 am: ebe19c9517
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: Iac047c8ac675ad5cae9213e53e5a907e327f89a5
2021-10-26 20:40:05 +00:00
TreeHugger Robot ebe19c9517 Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: I4307baa8c2e1a5e197bc5f1cd33c8a046aa72932
2021-10-26 20:20:46 +00:00
TreeHugger Robot 3cbee2d1d7 Merge "Using a different transition for All-set activity" into sc-v2-dev 2021-10-26 20:00:21 +00:00
TreeHugger Robot 3cdf909905 Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca am: 6130758570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: I56d5244c52abb0bb57e6b893ea48c69a26161667
2021-10-26 19:35:47 +00:00
TreeHugger Robot 6130758570 Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: Ib5d0e865339ec91c20ccd4d4f4280db9eab30b78
2021-10-26 19:14:47 +00:00
TreeHugger Robot 766549a4ca Merge "Fix overview clear all tasks button text color." into sc-v2-dev 2021-10-26 18:37:58 +00:00
Sunny Goyal eed4bbfb49 Using a different transition for All-set activity
Bug: 201797003
Test: Manual
Change-Id: I33b342ca224ab283e2ac475d4defe2eac6a87bb8
2021-10-26 11:25:32 -07:00
Vinit Nayak 3e9bd87ca9 Prevent launching app in split if task split is unsupported
Bug: 204026157
Change-Id: Ie13ac74e0c1d357db242d49083be97f0f45e6ca5
2021-10-26 11:10:23 -07:00
Schneider Victor-tulias 1bda3e7424 Fix overview clear all tasks button text color.
Test: checked button on dark/light mode on a wallpaper similar to bug
Fixes: 203198804
Change-Id: I03e663422d2cdba63f3c5953741b5c0bd722fccf
2021-10-25 16:49:36 -07:00
Bill Yi 76b605fc1c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2336f08f63d0779f7e8715f71ab93853407162ba
2021-10-21 04:26:34 +00:00
Bill Yi 74016ae10e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib93913a6e2542bc96b74cf0d3bdd042a82af7ed1
2021-10-21 04:22:26 +00:00
Schneider Victor-tulias e61fd5f316 Add mock animated taskbar to gesture nav tutorial for foldable devices.
Bug: 198434693
Test: launched and completed tutorial on regular phone and foldable device.
Change-Id: Id378e9bdd21fdfbc880ef528cb040b6390699d43
2021-10-20 16:16:10 -07:00
Schneider Victor-tulias 11c6ecd1df Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev am: b4307ff8aa am: 1f056c5544
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15952947

Change-Id: I716bf7efcd18e2c543ab7a3ac1563c35b32c665c
2021-10-19 18:23:52 +00:00
Schneider Victor-tulias 1f056c5544 Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev am: b4307ff8aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15952947

Change-Id: Ib4847f452b588a4da7ff4f87ca6b628975f91e34
2021-10-19 18:13:51 +00:00
Schneider Victor-tulias b4307ff8aa Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev 2021-10-19 17:59:31 +00:00
Mady Mellor dc0aa95242 Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev am: 20c05fbd4c am: 228537ec0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910463

Change-Id: I0a76e9d33c2617d6708b72458c013ddc2b448428
2021-10-18 20:00:16 +00:00
Mady Mellor 228537ec0b Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev am: 20c05fbd4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910463

Change-Id: I77c022b28d907cd7077b45c06539712f24de7a9a
2021-10-18 19:44:17 +00:00
Mady Mellor 20c05fbd4c Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev 2021-10-18 19:35:05 +00:00
Samuel Fufa de36e9cf2d Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev am: 4ff90a435e am: 201d221400
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049078

Change-Id: If40a07ee2003b1c62b6910b47062e27e79df3bc8
2021-10-16 04:57:00 +00:00
Samuel Fufa 201d221400 Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev am: 4ff90a435e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049078

Change-Id: Ic29aebfb262f1efd9fabadd737b2c90e6d8da812
2021-10-16 04:44:53 +00:00
Samuel Fufa 4ff90a435e Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev 2021-10-16 04:28:23 +00:00
sfufa@google.com 7a620d3673 [Search] Hide A-Z list when search is entered from QSB
preview attached to bug report

Bug: 201781284
Test: manual
Change-Id: I572360d2d49b38577a7d77115aede4c3269d42e9
2021-10-15 15:49:43 -07:00
Vinit Nayak f037534622 Merge "Align 3 button nav with hotseat" into sc-v2-dev am: 2a7c0c4ed8 am: da87bc753d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16045012

Change-Id: I0ff83b0cc9840948b62a4d675787e72f4724c1a6
2021-10-15 15:46:57 +00:00
Vinit Nayak da87bc753d Merge "Align 3 button nav with hotseat" into sc-v2-dev am: 2a7c0c4ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16045012

Change-Id: I80e0ea7e4f363b20e43f2c11b16b8cc8fb853c81
2021-10-15 15:35:55 +00:00