Commit Graph

33301 Commits

Author SHA1 Message Date
Ryan Savitski b0cb9e75e4 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: ad9addd590 -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/+/14936970

Change-Id: Ia4aba271856a449a7119220a6f4b3cf91227db0e
2021-06-10 16:15:57 +00:00
Ryan Savitski 5bd2f65258 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: I4259af112c4c59f4537fe785982369b9937525bd
2021-06-10 16:00:06 +00:00
Ryan Savitski 55e7fc6841 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -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/+/14936970

Change-Id: I06e7124fd696e419e531d3fc2ab983c86f1459be
2021-06-10 16:00:05 +00:00
Ryan Savitski 04dd2e4f9b Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: Ia57de8ee289f2cef2af64fe0bdeff5c99aef12d5
2021-06-10 15:59:37 +00:00
Ryan Savitski ad9addd590 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -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/+/14936970

Change-Id: Ia0c3dee0bbab4383825e91fffd4b24acc0cb166d
2021-06-10 15:59:36 +00:00
Steven Ng bc5099e9a6 Fix height estimation of the widgets recommendation table
There are two vertical paddings
1. Table padding
2. Widget cell padding

We haven't taken account the widget cells padding

Test: Manual
Bug: 189814077
Change-Id: I9b1dc9e880d4402b9c461d0024a0748c0afc408a
2021-06-10 16:57:40 +01:00
Tony Wickham 51edca003c Merge "Reorganize taskbar controllers" into sc-v2-dev 2021-06-10 15:38:00 +00:00
Stevie Kideckel 1059c30f3a Account for header margin depending on which header is selected
This removes jitter from incorrectly counting or not the margins for the
headers near the top of the widget picker list.

Bug: 189956230
Test: verified locally
Change-Id: I3eeddbf8a1fb7cca31fe2a12c28b0eb444de631b
2021-06-10 15:29:46 +00:00
Ryan Savitski 5af0edefdb Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
Fixing build by getting rid of the erroneously merged conflict markers,
and applying the end state of ag/14651125.

Bug: 183927137
Merged-In: I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394
Change-Id: I70acd4ce48853be728be1fb80b4b885d00a059a9
2021-06-10 15:51:50 +01:00
Ryan Savitski b1b76c34f5 Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip>
This reverts commit 1aa95b8400.

Reason for revert: automerger got confused by the revert of a merge, and
skipped it downstream.

NB: resending this as a standalone patch, NOT generated via Gerrit's
"revert" functionality, to avoid confusing AM further (I'm told there
are hidden tags involved).

IGNORE_MERGE_CONFLICT_CHECK=="trying to fix the build, see the rest of the topic"

Since the revert was skipped downstream, using a merged-in tag to also
stop this change from propagating.

Bug: 183927137
Merged-In: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
Change-Id: I541eeb1cc1b589dc0134a5e2e4c16be9f658fbbb
2021-06-10 15:50:37 +01:00
Alina Zaidi dca47432fc Flip ArrowTipView when it goes beyond screen height.
Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I5d1c9e4b8bc3ae89834bc198016ffa409a2b28ad
2021-06-10 15:43:30 +01:00
Alina Zaidi ecdf6575ec Add more education tips for widgets. (3/3)
Show tip on reconfigurable widget in launcher.

Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I08154c944285cac6a21c3ef4aafd878bbbccf44b
2021-06-10 14:23:47 +01:00
Takeshi Hagikura 43d53432aa Update the colors of the tabs of work profile pagination
Update the tab colors based on the discussion in the bug and the
design mock.
Rename the color/all_apps_tab_bg to
color/all_apps_tab_background_selected to make the usage of the color
explicit.
(Confirmed it's only used for the color of the selected tab)

Bug: 189488670
Test: Visual inspection
Change-Id: I6ac38f71a8dd8852e1ab2e70f2f8434e9101daa1
2021-06-10 18:55:59 +09:00
Vinit Nayak 1e846622c7 Merge "Check for null shortcut before adding new split select options" into sc-v2-dev 2021-06-10 05:38:34 +00:00
Hyunyoung Song 93652af586 Merge "Revert the squish translate from all apps" into sc-dev am: 8f3d9eba02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14921510

Change-Id: I334d8dce46078223f7302e4dfdcafa9727e57230
2021-06-10 04:07:27 +00:00
Hyunyoung Song 8f3d9eba02 Merge "Revert the squish translate from all apps" into sc-dev 2021-06-10 03:53:33 +00:00
Yogisha Dixit c0f29c6f95 Add a content description for the widget reconfigure button.
Bug: 186761890
Test: manual
Change-Id: Ia36972b606a524827ade8bd1c191f8b972bbb382
2021-06-09 22:47:40 +01:00
Vinit Nayak be00d16934 Check for null shortcut before adding new split select options
Bug: 190494300
Test: Manual
Change-Id: I8fe2b2fa0b1d9d4300b0bc306aa2e0667e5faa1c
2021-06-09 14:21:24 -07:00
Alex Spradlin a6b92660d8 [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: fc89cdfce4 -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: Ief85c66d1c1104cfac8081f5beb9f8388b08c3a3
2021-06-09 20:34:01 +00:00
Jon Miranda 532ddaeb85 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: d997f9957d -s ours am: b581582a9c -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: I332133457545efd0675fac38373165599b0dec70
2021-06-09 20:33:57 +00:00
Alex Spradlin 9d4d5f75e9 [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: 6c7752625e -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: Ia79355a6cc11fe14ee1f89db3728b3b5dec39eb0
2021-06-09 20:33:50 +00:00
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