Commit Graph

34630 Commits

Author SHA1 Message Date
Jon Miranda c0efd4535d [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: 7f721c7fda -s ours am: 8b38024f05 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 b62fba0d01 is already in history

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

Change-Id: Iec20a43b85796da44d17dc27490c4d2d0d0593a6
2021-06-09 20:33:21 +00:00
Tony Wickham 36696d62b0 Reorganize taskbar controllers
Organize existing properties as follows:
- TaskbarViewController contains properties affecting TaskbarView (though child icons are still supplied by TaskbarHotseatController)
- TaskbarDragLayerController contains properties related to TaskbarDragLayer itself
- Renamed NavbarButtonUiController to NavbarButtonsViewController, following the pattern of TaskbarViewController and TaskbarDragLayerController
- TaskbarControllers contains the different controllers to make it easier to construct, initialize, destroy, and pass them around
- Removed TaskbarIconController as its responsibilities were moved to more specific controllers

Test: compiles and runs, manually tested
Bug: 187353581
Change-Id: Idccd95d47117101bf9617e5532a5b87635d2b8f6
2021-06-09 13:27:02 -07:00
Alex Spradlin fc89cdfce4 [automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours am: dfb73707c4 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.

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

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

Change-Id: I4040483db1251062b77b5be7d798fa7068fbecc0
2021-06-09 20:14:58 +00:00
Jon Miranda b581582a9c [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: d997f9957d -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history

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

Change-Id: I6f44a01322735d30bc3d8318e0d625968a4fd363
2021-06-09 20:14:26 +00:00
Alex Spradlin 6c7752625e [automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours am: 4d6b4665b1 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.

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

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

Change-Id: I11705d9925cadb4aa0c2aaaf15b8499ea5e41675
2021-06-09 20:14:01 +00:00
Jon Miranda 8b38024f05 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: 7f721c7fda -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 b62fba0d01 is already in history

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

Change-Id: I604e0597b3b4570a85e0e1df5506009c764153f4
2021-06-09 20:13:56 +00:00
Samuel Fufa b21f9d8c08 [AllApps][Work] Introduce work toggle Fab am: 08cca82eca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14724697

Change-Id: Ie775dacc94be5295329f7dd2c20908eed4c099fd
2021-06-09 19:58:42 +00:00
Alex Spradlin dfb73707c4 [automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.

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

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

Change-Id: I0b8bdf6cc00750811e041bcc864660fa2fa4ab8f
2021-06-09 19:58:39 +00:00
Jon Miranda d997f9957d Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127

Change-Id: I0b07eb2d2a7838d35f3b70e8059daa3d483bc267
2021-06-09 19:58:34 +00:00
Alex Spradlin 4d6b4665b1 [automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.

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

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

Change-Id: Idc27b6e16f539702cacf917fc495d04182d96703
2021-06-09 19:58:08 +00:00
Jon Miranda 7f721c7fda Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127

Change-Id: I2813a0e56b5469fd2e9e0d630a42cbd4000d7028
2021-06-09 19:58:04 +00:00
Alex Spradlin 1aa95b8400 Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3"
This reverts commit 1d41f93c37.

Reason for revert: Accidental submission

Change-Id: I3adaefa202ccbd027083a8fe1b5df349172de9a6
2021-06-09 19:44:31 +00:00
Jon Miranda 1d41f93c37 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127

Change-Id: I212eb6d6b35459087fe894fe057d6a4a4901f674
2021-06-09 19:36:09 +00:00
Jon Miranda 5785789dc3 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127

Change-Id: I309d1c1671abc7b2a035e69606d14e1f90c17f71
2021-06-09 18:43:10 +00:00
Alex Chau 3f88ded2bc Merge "Use FINAL_FRAME for leaving grid animation" into sc-v2-dev 2021-06-09 18:00:50 +00:00
Jon Miranda 3c3e3e0737 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127

Change-Id: I6416a7a9e9639a6881d54314a26fafa2c1ed4cfa
2021-06-09 17:57:36 +00:00
Alex Chau 2f05076711 Merge "Avoid unnecessary onLayout if gesture is going to HOME" into sc-v2-dev 2021-06-09 17:50:32 +00:00
Samuel Fufa 08cca82eca [AllApps][Work] Introduce work toggle Fab
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: I69ffa0ef367b182688e69c730fc9dee1afa7cadd
2021-06-09 17:13:07 +00:00
Jon Miranda f564b65f2a Folder preview polish.
- Fixes notification dot not aligning in 4x5 grid
- Fixes clipping issues with large folders
- Fixes clipping issues with preview item animations

Bug: 188095988
Test: manual

Change-Id: I6821b3cb3c65e5928c7be1cddd7f292a37842698
2021-06-09 10:04:39 -07:00
Hyunyoung Song afa327d176 Revert the squish translate from all apps
Bug: 189973274
Bug: 189975416

Test: manual, attached video on the bug
Change-Id: I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394
2021-06-09 09:47:29 -07:00
Pat Manning 206db75b87 [DO NOT MERGE] Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks.
Test: manual
Fix: 188453992
Bug: 188453992
Change-Id: I661c7a2900118ea02e4947feed99308d1a3a5619
2021-06-09 16:17:29 +00:00
Lucas Dupin 19f5430b8a Merge "Update blur radius" into sc-dev am: 14e1f2a6bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14914218

Change-Id: Ie42858a54d56e6f634a191442d530f7eac07ef5a
2021-06-09 15:44:15 +00:00
Lucas Dupin 14e1f2a6bb Merge "Update blur radius" into sc-dev 2021-06-09 15:32:35 +00:00
Alex Chau 6f736fac65 Avoid unnecessary onLayout if gesture is going to HOME
Fixes: 186508379
Test: manual swipe up to carousel, then to home
Change-Id: I97a642a6fc4c4d0ca3805b79db60b6dfdaea1315
2021-06-09 13:07:32 +01:00
Alex Chau 838414ab3a Use FINAL_FRAME for leaving grid animation
Bug: 14844554
Test: manual
Change-Id: I9a8cf94a448de2520c4cc434f15377fa1f2d202e
2021-06-09 10:41:02 +01:00
Lucas Dupin 76877fda73 Update blur radius
Bug: 189976220
Test: manual
Change-Id: If5e6d6be7314dacfad8c501a5ae2da6556ca3cea
2021-06-08 21:51:47 -07:00
TreeHugger Robot bf9b2ca0bd Merge "Fix wrong highlighted personal | work tab" into sc-dev am: 962b212c9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14904550

Change-Id: I4921e484d4762ca2a6425613eef58e4243c04acf
2021-06-09 03:03:57 +00:00
TreeHugger Robot 962b212c9e Merge "Fix wrong highlighted personal | work tab" into sc-dev 2021-06-09 02:41:40 +00:00
Shawn Lin 34be7f366b Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev am: f0ebf00394
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14878297

Change-Id: Ie63f9cc2645c21c4a3de111b9c3411ff66616c6d
2021-06-09 02:05:24 +00:00
Shawn Lin f0ebf00394 Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev 2021-06-09 01:39:49 +00:00
TreeHugger Robot 7e019e8a47 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: I0833ea17df3ef812c13168f3c503ae7b90586078
2021-06-09 01:06:26 +00:00
TreeHugger Robot 285c50740a Merge "[AA+] Reset search manager when exiting all apps." into sc-dev am: e57006fe63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14804874

Change-Id: I074e33f790758400825ee4aa34f9628207d71f96
2021-06-09 00:52:10 +00:00
TreeHugger Robot 93e232a57b Merge "Re-enable swipe up view inflation test." into sc-dev 2021-06-09 00:47:11 +00:00
Vinit Nayak d897514642 Merge "Support A11y contextual button" into sc-v2-dev 2021-06-08 22:07:53 +00:00
TreeHugger Robot e57006fe63 Merge "[AA+] Reset search manager when exiting all apps." into sc-dev 2021-06-08 21:50:31 +00:00
Sunny Goyal 1721ccf385 Simplifying the drop animation code
> Removing some unused parameters

Bug: 190524398
Test: Manual
Change-Id: Iea0c2e7a9d30a10fd7443ea57992c59ea60badf8
2021-06-08 14:43:57 -07:00
zakcohen 284eef2bf9 Re-enable swipe up view inflation test.
Disable chips by default as they are not plan of record for launch.

Bug: 141579810
Test: Local and ran test
Change-Id: Iae270c6ac4bbec4f7c29b1137cf926383443e85e
2021-06-08 14:24:20 -07:00
TreeHugger Robot 437b22e203 Merge "Make all tasks in intermediate carousel have the same size" into sc-v2-dev 2021-06-08 20:49:38 +00:00
TreeHugger Robot d57f845bc5 Merge "Set folder dot color to spec." into sc-dev am: 827ff401b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14904195

Change-Id: I6b40985162e5713c577c7380b5ce9a1bcbb80a5d
2021-06-08 19:43:49 +00:00
TreeHugger Robot 827ff401b9 Merge "Set folder dot color to spec." into sc-dev 2021-06-08 19:39:33 +00:00
Steven Ng ccaa1c2c4a Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev am: 4716ab3037
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881309

Change-Id: Ib8aaaf71f69c669c42692ee11aecf6d73fa4cd1a
2021-06-08 19:12:17 +00:00
Steven Ng 0ed1b41464 Merge "Exact widget sizes functionalities into an utility class" into sc-dev am: 84fe7e3a1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881307

Change-Id: I5202727f975ce463179674cd54ba8d4b75063f9d
2021-06-08 19:12:12 +00:00
Steven Ng 4716ab3037 Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev 2021-06-08 19:11:25 +00:00
TreeHugger Robot 010e3dfb26 Merge "Consider TaskView's scale when calculating corner radius" into sc-v2-dev 2021-06-08 19:04:27 +00:00
Steven Ng 84fe7e3a1e Merge "Exact widget sizes functionalities into an utility class" into sc-dev 2021-06-08 18:55:07 +00:00
Alex Chau 36e9de1199 Make all tasks in intermediate carousel have the same size
- Replace fullscreen translation/scale with nonGrid, which applies whenever tasks are not in grid, so that intermediate carousle's tasks have the same size as focused task
- Avoid showing task icon in intermediate carousel as its scaled up. During swipe up, all task icons only appear after gesture is finished consistenly, regardles if it's running task.
- When swipe up from home, make tasks join the grid immediately
- Make pageOffset calculation consider task scale
- Tuned resistance and scale when RecentsView is swiped up

Bug: 187417137
Test: manaul
Change-Id: Ide55a32241a3551a58e12c399c22420562848c70
2021-06-08 19:47:50 +01:00
Samuel Fufa e721f7272c Fix wrong highlighted personal | work tab
Bug: 189915880
Test: Manual
Change-Id: I3e8687038d4f0bfdd1c5b7d8c444520730a2bcd4
2021-06-08 13:31:40 -05:00
Vinit Nayak e568781206 Support A11y contextual button
Also migrate to only using sysui state flags
for ime/switcher visibility instead of 2 separate
methods.

Bug: 180046394
Test: Tested w/ 1 a11y service, then 2 services for
long click. Tested with IME switcher enabled and then
also suggested rotation button.
A11y takes precedence over IME switcher, but rotation button
takes precedence over a11y as is in phone mode today.

Change-Id: I9289165c8ca98d7ee432bd7145122d6a519600f6
2021-06-08 11:25:44 -07:00
Jon Miranda 9b4448f477 Set folder dot color to spec.
Bug: 188095988
Test: manual
Change-Id: Idf4d7f7b8f95d1d112ece8cd03d9c7d441a5fe0f
2021-06-08 10:55:58 -07:00
Alex Chau bc42ba836e Consider TaskView's scale when calculating corner radius
Bug: 190139030
Test: Manual
Change-Id: I43fcb67848d30491bbfa58624f088c98ce433de4
2021-06-08 18:15:13 +01:00