Commit Graph

16456 Commits

Author SHA1 Message Date
Stefan Andonian 8989f839f5 Merge "Revert "Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and"" into tm-qpr-dev 2023-02-17 23:12:08 +00:00
Sunny Goyal 0db958a5a2 Merge "Using internal format cache for loading user badged label" into tm-qpr-dev am: 82864d5e13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21237542

Change-Id: I31d942a466e30684a9a2e40f7923410dda1b9019
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 21:27:22 +00:00
Sunny Goyal ba88f8f880 Merge "Adding support for customizing shortcut pinning logic" into tm-qpr-dev am: 85d15e78d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21325312

Change-Id: I7139850ec1f679d983463cd2f6e12f588950f094
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 21:24:21 +00:00
Sunny Goyal 82864d5e13 Merge "Using internal format cache for loading user badged label" into tm-qpr-dev 2023-02-17 21:09:26 +00:00
Sunny Goyal 4d18ad4825 Simplifying some scrollbar binding logic in all-apps
Bug: 256684299
Test: Manual
Change-Id: I1cee6cb783f0f805d9a0f0a4b2b668a709cacf1a
2023-02-17 12:28:46 -08:00
Robin Lee aafeb82613 Revert "Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and"
This reverts commit 2a58ddb89f.

Reason for revert: b/266987957

Change-Id: I4a4a1f01a693d703f4dc87e8169fbf374729d274
2023-02-17 19:45:27 +00:00
Jon Miranda 13e9b9f889 Translate the taskbar icons to match nav handle shape.
- We need to reset icon alignment whenever icon layout bound
  changes. This fixes the issue where we build an icon
  alignment animator before any of the views are laid out.
- Separated animation logic between.
  createTransientAnimToIsStashed and createAnimToIsStashed
* The values still require a bit more tuning but this gets us
  a lot closer to spec for many of the motion polish.

Bug: 267806083
Bug: 246634367
Bug: 246635237
Test: manual
Change-Id: Id122134b22ef4e418ce632e4a8137239dc8bb313
2023-02-17 10:56:59 -08:00
Sunny Goyal 239d6e9b8d Adding support for customizing shortcut pinning logic
> Allowing support for overring shortcut badge
> Updating pendingShortcutInfo so that the
  handler can be easily overridden

Bug: 268253894
Test: Verified on device
Change-Id: I3184cb6494bc98c7eed33798b35b4e6e6a1e7ddc
2023-02-17 18:07:23 +00:00
Sunny Goyal efad3c2f92 Using internal format cache for loading user badged label
Bug: 267683009
Test: Manual
Change-Id: I7d1df2704c4513bd80e2b6adb7a3921637fa617b
2023-02-17 18:05:25 +00:00
Helen Cheuk 29bd828965 Merge "Pad large screen hotseat in RTL 3 button nav mode by swapping left and right padding to avoid overlapping with nav buttons" into tm-qpr-dev am: 6187ecc12b am: f88e21fa21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21440210

Change-Id: Ie209633e4cb3de60afc2ee035719adc4814eb71b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 17:24:09 +00:00
Helen Cheuk f88e21fa21 Merge "Pad large screen hotseat in RTL 3 button nav mode by swapping left and right padding to avoid overlapping with nav buttons" into tm-qpr-dev am: 6187ecc12b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21440210

Change-Id: Ie3b866115c0273d68d2637e8324ca65970354c46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 16:24:20 +00:00
Helen Cheuk 6187ecc12b Merge "Pad large screen hotseat in RTL 3 button nav mode by swapping left and right padding to avoid overlapping with nav buttons" into tm-qpr-dev 2023-02-17 15:44:54 +00:00
Sunny Goyal 3425e350ac Merge "Using DiffUtil for calculating widget diff instead of a custom implementation" into tm-qpr-dev am: cc10ed5532 am: 75db2c1f59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21381953

Change-Id: I5dee1553d80878417ef18425e5ff626fc80326e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 06:26:58 +00:00
Sunny Goyal 75db2c1f59 Merge "Using DiffUtil for calculating widget diff instead of a custom implementation" into tm-qpr-dev am: cc10ed5532
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21381953

Change-Id: I42080a592bef63d0cb7e55189a1a6249f331220a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 00:02:41 +00:00
Sunny Goyal cc10ed5532 Merge "Using DiffUtil for calculating widget diff instead of a custom implementation" into tm-qpr-dev 2023-02-16 23:28:19 +00:00
Fengjiang Li e8055802c8 Merge "[Predictive Back] Widget to home polish: show extra rows at bottom during animation" into tm-qpr-dev am: 56ebfc4900 am: cec6df5774
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21390394

Change-Id: If6378ef2f30f604a3daf7f69f0d3a97af8040277
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 21:29:02 +00:00
Fengjiang Li cec6df5774 Merge "[Predictive Back] Widget to home polish: show extra rows at bottom during animation" into tm-qpr-dev am: 56ebfc4900
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21390394

Change-Id: Ieae318ba634c55b7081559f78236446de3980792
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 20:08:22 +00:00
Fengjiang Li 56ebfc4900 Merge "[Predictive Back] Widget to home polish: show extra rows at bottom during animation" into tm-qpr-dev 2023-02-16 19:40:24 +00:00
Alejandro Nijamkin e8dd1a78ff [Launcher] App grid support for reset (1/4).
This CL chain provides a rewritten implementation of the UI for the app
grid selector which supports the new wallpaper picker "reset"
functionality. A previous attempt that kept the UI's old implementation
required the introduction of many hacks in classes that are shared
across multiple selector-like experiences.

Bug: 267804479
Test: unit and integration JUnit tests added for the data, domain, and
ui layers of the wallpaper picker code
Test: manually made sure that the selector works to switch between
different launcher app icon grid options; the preview of the launcher
updates correctly; when exiting back to the main wallpaper picker
screen, the reset button appears and the section item is updated to show
the currently-selected option; touching the reset button and confirming
the reset correctly reverts to the original option, updating the section
item as well

Change-Id: If1f8c96ef5004125b61ff6b4ae19848932693e0f
2023-02-16 11:34:07 -08:00
Jagrut Desai 24e2c3cf09 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev am: 202c68c8a2 am: 594f47ebef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21255946

Change-Id: I66a73aba273072836873c02a41089e1046728dff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 19:11:43 +00:00
Jagrut Desai 594f47ebef Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev am: 202c68c8a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21255946

Change-Id: I9e93c745ae24ac50afe6cb354efec18393601582
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 18:27:25 +00:00
Jagrut Desai 202c68c8a2 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev 2023-02-16 17:39:35 +00:00
Helen Cheuk e76291f55c Pad large screen hotseat in RTL 3 button nav mode by swapping left and right padding to avoid overlapping with nav buttons
Hotseat was overlapped with 3 navigation buttons in large screen RTL mode. This fix is to pad hotseat properly by swapping the left and right paddings in RTL mode
Bug: 268178394
Test: manual

Change-Id: I2b073a1b532bf3aae3ab1bec98ad70713742c672
2023-02-16 14:43:01 +00:00
Fengjiang Li cb640da2bb [Predictive Back] Widget to home polish: show extra rows at bottom during animation
1. setClipChildren(false) for WidgetFullSheet and content view during animation
2. setClipToOutline(true) for WidgetsRecyclerView and provide ViewOutlineProvider to expand bottom by 5% of height
3. Override calculateExtraLayoutSpace() for ScrollableLayoutManager
4. Manually modify AbstractSlideInView#mContent's background drawable during scale animation

bug: b/260956481
Test: manual

Change-Id: Ic391639de887cf4a70bc4965dc0b1fd9bc12dd2c
2023-02-15 15:33:29 -08:00
TreeHugger Robot b0321f97b6 Merge "Making ReorderWidget test more reliable" into tm-qpr-dev am: 1b7a140693 am: f351bd7c6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21091023

Change-Id: Iaeda98eb011c28cc9e682a6fc07fa64fb4028a15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:58:03 +00:00
Stefan Andonian 24cff2fa3e Merge "Refactor Workspace Loading / Processing code." into tm-qpr-dev am: 3a14f1331d am: 8775725e06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544534

Change-Id: I41e7ca11f4462407f73ac6ec4dc16d9fa619a1ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:57:29 +00:00
TreeHugger Robot f351bd7c6c Merge "Making ReorderWidget test more reliable" into tm-qpr-dev am: 1b7a140693
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21091023

Change-Id: I4d861e9c566303aa9fb41bebaccf6369ef1411df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:57:04 +00:00
Stefan Andonian 8775725e06 Merge "Refactor Workspace Loading / Processing code." into tm-qpr-dev am: 3a14f1331d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544534

Change-Id: I9185bbd2b89d0f40ce85ae4e4b2843643d9ecce8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:54:49 +00:00
TreeHugger Robot 1b7a140693 Merge "Making ReorderWidget test more reliable" into tm-qpr-dev 2023-02-15 22:50:20 +00:00
Stefan Andonian 3a14f1331d Merge "Refactor Workspace Loading / Processing code." into tm-qpr-dev 2023-02-15 22:16:29 +00:00
Liahav Eitan 6b67ef6391 Merge "Update strings when work apps are paused" 2023-02-15 20:54:54 +00:00
TreeHugger Robot 31e8e2ac10 Merge "Deferred widget update" into tm-qpr-dev am: 3f07d154fb am: 8df8b19411
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21405131

Change-Id: Iffa89c1e592b75c0e563192298bb5dc0e0ddb176
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 20:37:03 +00:00
TreeHugger Robot 8df8b19411 Merge "Deferred widget update" into tm-qpr-dev am: 3f07d154fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21405131

Change-Id: I20005f8053c4b8935b040febc0dc4efff074ac98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 20:25:31 +00:00
TreeHugger Robot 3f07d154fb Merge "Deferred widget update" into tm-qpr-dev 2023-02-15 20:01:07 +00:00
Stefan Andonian aa03be3a16 Merge "Migrate IDP_GRID_NAME usage to LauncherPrefs" into tm-qpr-dev am: 3788da6285 am: 844dc76a25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21359246

Change-Id: I77d01b752d13a823b6d41db0b52e62ef46985675
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 19:40:23 +00:00
Stefan Andonian 844dc76a25 Merge "Migrate IDP_GRID_NAME usage to LauncherPrefs" into tm-qpr-dev am: 3788da6285
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21359246

Change-Id: If917934e6739a9085ed893ca8d3ff49549f0c45e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 19:37:26 +00:00
Stefan Andonian 3788da6285 Merge "Migrate IDP_GRID_NAME usage to LauncherPrefs" into tm-qpr-dev 2023-02-15 18:58:41 +00:00
Stefan Andonian 05ca3a8089 Refactor Workspace Loading / Processing code.
There are no behavioral changes (other than we no longer are recycling
objects while processing workspace items), but this refactor will setup
the next change to load the first workspace page before other workspace
pages.

Bug: 251502424
Test: Workspace, app widgets, and containers loaded properly.
Change-Id: I437aab40000d841d7fcc4380d05ab4a8f5d5c2ad
2023-02-15 17:36:27 +00:00
Charlie Anderson 8c9bffbcd7 Merge "adding the new Material U App Shortcut Popup design" into tm-qpr-dev am: 9af03389d6 am: f7fb5c268f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20931443

Change-Id: I770674a086e93360e65bdd6e5c93dcf8e94b025a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 16:59:25 +00:00
Charlie Anderson f7fb5c268f Merge "adding the new Material U App Shortcut Popup design" into tm-qpr-dev am: 9af03389d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20931443

Change-Id: I119677894eacb30cbe724aa5534aab9208f52092
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 16:07:53 +00:00
Charlie Anderson 9af03389d6 Merge "adding the new Material U App Shortcut Popup design" into tm-qpr-dev 2023-02-15 15:11:49 +00:00
Luca Zuccarini 185d98c48b Merge "[Toast] Disable decorator updates if background drawables are used." into tm-qpr-dev am: 190992e6fb am: 04a674494c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21339901

Change-Id: I031311a6750d8f4531847de84744f1be27574a25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 13:05:11 +00:00
Luca Zuccarini 04a674494c Merge "[Toast] Disable decorator updates if background drawables are used." into tm-qpr-dev am: 190992e6fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21339901

Change-Id: Iacb6189d2b243f66bd9e41bb8144b6f9ee3256a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 12:11:04 +00:00
Luca Zuccarini 190992e6fb Merge "[Toast] Disable decorator updates if background drawables are used." into tm-qpr-dev 2023-02-15 11:37:11 +00:00
Stefan Andonian 6f9a57186c Migrate IDP_GRID_NAME usage to LauncherPrefs
Bug: 251502424
Test: Grid functionality still worked just fine on device when I tested
it locally.

Change-Id: I23676572637f194e1f739e4b39159311870abc32
2023-02-15 06:01:47 +00:00
Schneider Victor-tulias 80ff12850a Merge "Enable ENABLE_KEYBOARD_QUICK_SWITCH on master" 2023-02-15 04:34:37 +00:00
Sebastián Franco ce5e4efcc7 Merge "Fix issue where bottom scrim appears in homescreen when it shouldn't" into tm-qpr-dev am: aa6f00af01 am: 36ce2d3124
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21409546

Change-Id: I6258d18c0acae93a9791920b99477337a9a03701
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 02:38:42 +00:00
Sebastián Franco 36ce2d3124 Merge "Fix issue where bottom scrim appears in homescreen when it shouldn't" into tm-qpr-dev am: aa6f00af01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21409546

Change-Id: Ib982fecabf6465fb2a7771af3914a90fbbdcb6d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 02:32:30 +00:00
Federico Baron 131ebabfec Merge "Remove unused file WidgetsListSearchHeaderHolder" into tm-qpr-dev am: e958fb2e7f am: 6af03a2895
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21418366

Change-Id: Iff939a8064300674b4f9c59c1b7217f706e5ddf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 02:26:44 +00:00
Sebastián Franco aa6f00af01 Merge "Fix issue where bottom scrim appears in homescreen when it shouldn't" into tm-qpr-dev 2023-02-15 01:57:03 +00:00