Ats Jenk
4d397e2ebb
Add empty view to desktop tile in overview
...
Show an empty view when there are no tasks on the desktop.
Bug: 267326725
Test: have a fullscreen task, open overview, observe empty view for
desktop tile
Test: have a desktop task, open overview, observe desktop task thumbnail
is shown in overview and empty view is hidden
Change-Id: Ifb6d96d42bf602e9cc9e397efc0e07e2accdf16b
2023-02-17 16:48:47 -08:00
Jon Miranda
ddb909603a
Remove setImeIsVisible/setTouchesEnabled as its already handled by insets.
...
Bug: 260101467
Test: manual
Change-Id: Iba22a6db61abd4be0b2a15b2e4099d9bc03ddbc9
2023-02-18 00:27:03 +00:00
Ale Nijamkin
7729aa4cc6
Merge "[Launcher] App grid support for reset (1/4)." into tm-qpr-dev
2023-02-18 00:14:25 +00:00
Andy Wickham
4f0d0a2666
Set All Apps scale to 1 to start.
...
This avoids a bug on the first back gesture in All Apps from
search back to the A-Z list, where the apps scaled to 0-1 quickly
as part of the reset logic added in ag/21182334.
Bug: 269541162
Test: Install launcher, open all apps, tap search bar, go back.
Change-Id: I0dbd7275a80b585acf6f05ef1ef25c7c47f59ff6
2023-02-18 00:01:17 +00:00
Andy Wickham
5969e0524a
Merge "Reset fast scroller when All Apps resets." into tm-qpr-dev
2023-02-17 23:57:56 +00:00
Stefan Andonian
bcfc5acb9a
Merge "Revert "Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and"" into tm-qpr-dev am: 8989f839f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21142878
Change-Id: I0b9740a98594304cca9603dc53583655dc6db976
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 23:54:49 +00:00
Schneider Victor-tulias
0bba3d6184
Keyboard quick switch polish
...
- Added support for escape(backtick on some keyboards) keyboard keys
- Added support for d-pad left and right keyboard keys
- Fixed janky behaviour when quick switching too quickly.
- Removed unused code
Bug: 269618928
Test: Tried quick switch very quickly, tried escape, d-pad left and right keys in RTL and LTR modes
Change-Id: Ie03207cb349891e9c2de18502f3f65b7c8f9c018
2023-02-17 15:44:04 -08:00
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
Winson Chung
785f15d965
Merge "Only call per-user calls for gesture settings observer" into tm-qpr-dev am: 192e7afc3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21459072
Change-Id: Ia6ba4cf78923ee0d2b7cba88be4482c09e05b524
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 21:22:56 +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
85d15e78d0
Merge "Adding support for customizing shortcut pinning logic" into tm-qpr-dev
2023-02-17 20:45:58 +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
Alex Chau
cc7fc9f5cc
Merge "Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed" into tm-qpr-dev am: ac4c866538 am: e892b3e4c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21467064
Change-Id: Ia9fb0b47902f28cbc9eaa5157aefc4fc779cf55e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 19:53:29 +00: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
Winson Chung
192e7afc3c
Merge "Only call per-user calls for gesture settings observer" into tm-qpr-dev
2023-02-17 19:44:52 +00:00
Winson Chung
0371d0f699
Only call per-user calls for gesture settings observer
...
Bug: 231648761
Fixes: 269392826
Test: Unable to reproduce 269392826, but verified this doesn't
break existing paths to adjust the insets
Change-Id: I8aa82f3fb77e627ac02352ef31b788b81c2ca901
2023-02-17 19:44:29 +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
Alex Chau
e892b3e4c5
Merge "Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed" into tm-qpr-dev am: ac4c866538
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21467064
Change-Id: Ic7965790ddf7f1e7930428df77b1ac7e7e550f09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 18:51:11 +00: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
Alex Chau
ac4c866538
Merge "Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed" into tm-qpr-dev
2023-02-17 17:49:18 +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
Luca Zuccarini
ddd8d00361
Introduce launchable versions of common view types.
...
These can be used instead of the base types by views that want to use
container launch animations, to avoid duplicated boilerplate due to
implementing LaunchableView.
Bug: 250588519
Test: manual
Change-Id: I355b1a8de933c61313372fc7e00791cd0faef629
2023-02-17 13:33:42 +00:00
TreeHugger Robot
5c6ae93724
Merge "Hide smart actions if we enter split select from home" into tm-qpr-dev am: b26e558cb0 am: 810a82f4ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21430441
Change-Id: Ibb5763d549d7976fbfb82bb3d798ea177cf81272
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 06:28:24 +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
TreeHugger Robot
7fb0cf84ec
Merge "Suppress transient Taskbar features EDU in overview." into tm-qpr-dev am: 4c6f172a62 am: 9eeb09c948
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21451980
Change-Id: Ife97530d5a24a4ce18034a5242cd0a6327f1900a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 06:21:03 +00:00
TreeHugger Robot
810a82f4ab
Merge "Hide smart actions if we enter split select from home" into tm-qpr-dev am: b26e558cb0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21430441
Change-Id: I5b381a5253b052e3bee8c77da42edc4fc56efe50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 00:03:02 +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
TreeHugger Robot
9eeb09c948
Merge "Suppress transient Taskbar features EDU in overview." into tm-qpr-dev am: 4c6f172a62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21451980
Change-Id: Id081e2eba6f776b573cecda740184f7f4bbfb5e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 00:02:28 +00:00
TreeHugger Robot
b26e558cb0
Merge "Hide smart actions if we enter split select from home" into tm-qpr-dev
2023-02-16 23:33:07 +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
TreeHugger Robot
4c6f172a62
Merge "Suppress transient Taskbar features EDU in overview." into tm-qpr-dev
2023-02-16 23:18:48 +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
Federico Baron
79572f6a21
Fix margins/padding in widget picker
...
Widget picker had weird issues because when we adjusted margin/padding on orientation change we were changing margin/padding of things that didn't have that amount set initially. The function onContentHorizontalMarginChanged was changing the margin/padding of recyclerviews and the stickyheaderlayout. This corrects the issue and there should be no margin/padding errors when we rotate, as the recyclerviews and stickyheaderlayout have the right margin set from the beginning.
Fix: 269348654
Test: Go to widget picker on tablet, rotate to landscape/portrait, rotate back to landscape/portrait. Verify that marins on the sides of widget picker are correct.
Change-Id: If5a26ae23b440c8a4a55cd0029042b2a5d5398b3
2023-02-16 20:57:37 +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
Alex Chau
9a647d53cb
Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed
...
Bug: 269409332
Test: manual
Change-Id: I0ff4be33b1e621b0e1a837f8211eb70c27368be1
2023-02-16 18:56:13 +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
Vinit Nayak
ec5759b509
Merge "Add overview taskbar split support for 3P launcher" into tm-qpr-dev am: 0a9056502b am: 5c64c1dcb7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21311163
Change-Id: I1a3433b8b327abf466f0149a8747a67a01c799f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-16 02:25:03 +00:00
Vinit Nayak
5c64c1dcb7
Merge "Add overview taskbar split support for 3P launcher" into tm-qpr-dev am: 0a9056502b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21311163
Change-Id: I83f88af4546c81b8fc5a8f231ff2883f91d5e0b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-16 01:26:25 +00:00
Jagrut Desai
2f0b433e57
Merge "Making taskbar to stay stashed if user launches app for split screen view from all apps view" into tm-qpr-dev am: 4ffc71262d am: f13a3413a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20840305
Change-Id: If38a667631f3e68316b510a2d26af32b2d8d870a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-16 00:42:07 +00:00
Vinit Nayak
0a9056502b
Merge "Add overview taskbar split support for 3P launcher" into tm-qpr-dev
2023-02-16 00:33:46 +00:00