Commit Graph

78507 Commits

Author SHA1 Message Date
Liran Binyamin a87abece5a Handle taps on the animating bubble
Make the animating bubble touchable and expand the bubble bar when tapping on it.

Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/c4wBVtrT5YIgxL5kVuuoDU

Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Bug: 280605846
Test: atest BubbleBarViewAnimatorTest
Change-Id: I09281c2ebc9921750ada42dfc27e95d1ad0bd83b
2024-04-18 13:52:22 -04:00
Sunny Goyal b895788424 Merge "Using applicationId instead of packageName for xml substitution for increased compatibility" into main 2024-04-18 17:30:31 +00:00
Brandon Dayauon fe791d11aa Fix install apps button
- Setting the button's user via iteminfo to the privateprofile user
doesn't let the user to go into the play store. This was initially done so that
we can check the itemInfo to see if item is private space instead of just checking
if the item has a decorationInfo for collapse animation.
- The itemInfo change is reverted and we can check that case by checking with instanceOf PrivateSpaceInstallAppButtonInfo

bug:335600922
Test manually video: https://drive.google.com/file/d/1N2zOHvPmBptBaBf8SCqjBAM6UhV0lQBI/view?usp=sharing
Flag: ACONFIG com.android.launcher3.enable_private_space TRUNKFOOD

Change-Id: I09f22c9df5b4f9408eea6995eafea83e30c93a0d
2024-04-18 16:59:49 +00:00
Shamali P 50bf021b02 Use same margins for widgets bottom sheet as all apps.
* Per UX discussion with jane and david, the full width looks too large
for the app info -> long press -> widgets bottom sheet.
* Earlier during POR, we decided to match them all, but after trying it out, we think smaller is better for the app specific bottom sheet.

* http://screencast/cast/NTg1Njk1MDUxOTU5NTAwOHxiMDU0YWJhMi04MQ
* http://screencast/cast/NjU0NjQyODgwMDI3MDMzNnw4NDNhMGVjMy0yMg


Bug: 328812171
Test: screencast
Flag: N/A
Change-Id: I9b0a996f80bac2639bcadf85480468ac886c7093
2024-04-18 16:58:39 +00:00
Brandon Dayauon cf0ae01a51 Private space header to support RTL
bug:335658774
Test manually:
before: https://drive.google.com/file/d/1N8kFl28OhCJ7kTTo8VK74x-Mvaqi8GJ4/view?usp=sharing
after:https://drive.google.com/file/d/1N6AyVXcOSA48NveklIeqypueu7WLfP0V/view?usp=sharing
Flag: ACONFIG com.android.launcher3.enable_private_space TRUNKFOOD

Change-Id: I1c80e33f84251d42cd5821735457548de41db40d
2024-04-18 09:50:39 -07:00
Liran Binyamin b8ae441c10 Give bubble team owners on launcher bubble dirs
Flag: N/A
Test: treehugger
Bug: none
Change-Id: Ic5f69f34a1561ffb5a879a88b1532754e4b38f42
2024-04-18 12:18:21 -04:00
Liran Binyamin a7d2658d96 Merge "Update new bubble animation" into main 2024-04-18 15:51:39 +00:00
Mykola Podolian 3291b85e5e Merge "Update bubble bar to match visual spec" into main 2024-04-18 15:09:34 +00:00
Eghosa Ewansiha-Vlachavas f6ea0a3a2b Merge "Gate new desktop task menu button with device config check" into main 2024-04-18 15:02:52 +00:00
Eghosa Ewansiha-Vlachavas e885e54d90 Gate new desktop task menu button with device config check
Desktop windowing is enabled only when the desktop windowing flag is
enabled and the device is supported through setting a device config
flag. Add this device config check to the desktop task menu button so it
does not appear if the device is not compatible.

Flag: NONE
Fixes: 335178869
Test: atest -c NexusLauncherTests:com.android.quickstep.DesktopSystemShortcutTest
Change-Id: Ia2559c1ff57bb7921867e69a47d868c03eae57e7
2024-04-18 11:47:55 +00:00
mpodolian d25c65f9f2 Update bubble bar to match visual spec
Made bubble bar icon size adjustable and listen to the task bar
icon size changes. Additionally fixes an issue where the pointer arrow
could be misplaced.

Test: BubbleBarViewAnimatorTest.kt
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Bug: 295027436
Fixes: 334781761
Change-Id: Ie4ceee84cc00baa0186a3d5b431080c8495c7285
2024-04-18 10:00:42 +01:00
Sunny Goyal 29586169aa Using applicationId instead of packageName for xml substitution for increased compatibility
Bug: 335280439
Test: Presubmit
Flag: None
Change-Id: Ic0932224b964bfb57571adfc27ffdfd1ab716b45
2024-04-17 23:24:17 -07:00
Sunny Goyal a82ce1feda Merge "Making moving getDisplayType to DisplayController so that it can be accessed without IDP" into main 2024-04-18 05:51:58 +00:00
Anushree Ganjam 9afa9dd331 Merge "Add FastScrollSectionInfo with "info icon" when work educard exists." into 24D1-dev am: 3a3978cb7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26947056

Change-Id: I037cf3efc3b07775f2605883f405484cf95bf663
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 03:46:16 +00:00
Anushree Ganjam 3a3978cb7a Merge "Add FastScrollSectionInfo with "info icon" when work educard exists." into 24D1-dev 2024-04-18 03:28:40 +00:00
Fengjiang Li 240dbab022 Merge "[Predictive Back] Swipe back within taskbar all apps should only scale down content view, rather than whole all apps sheet" into main 2024-04-18 03:20:59 +00:00
Sebastian Franco 6aa4389285 Add testing for GridMigration.
Bug: 325286145
Flag: ACONFIG grid_migration_fix disabled
Test: GridMigrationTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:851b1f3b1c103b28d6df6653693ee132c92086e7)
Merged-In: I49fd32be895f3a05204775373b9eec62d9026f3b
Change-Id: I49fd32be895f3a05204775373b9eec62d9026f3b
2024-04-18 01:17:24 +00:00
Sebastian Franco 0312ec60a3 Refactor migrateGridIfNeeded to pass the grid states and make it easier for unit testing
No-op change

Bug: 325286145
Flag: NA
Test: compiling
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c3ffd41ff0f150ea91ad2a324dd4613b7d0cd89f)
Merged-In: I703c08059b81e20111c17a142dc54335f18a5a87
Change-Id: I703c08059b81e20111c17a142dc54335f18a5a87
2024-04-18 01:17:18 +00:00
Android Build Coastguard Worker 3f5d7b1f15 Snap for 11728787 from da1a7162e3 to 24Q3-release
Change-Id: Ic613f24c3550d59f1fc5fbd51279ed9139e988ba
2024-04-17 23:22:20 +00:00
Fengjiang Li 1529052dcf [Predictive Back] Swipe back within taskbar all apps should only scale down content view, rather than whole all apps sheet
Bug: 335467443
Test: manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TRUNKFOOD
Change-Id: I45980329f70ac1a8a8fc0e84be007f3385e40f58
2024-04-17 16:09:21 -07:00
Brandon Dayauon ef051ce98d Merge "Instead of popup to show letters, show private space icon on fast scrolling" into main 2024-04-17 22:32:59 +00:00
fbaron dd00e61874 Make hotseat column span responsive am: 6fba6cdb85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26998643

Change-Id: I42c79fa7cc4640bb8a771b691c8bb2703e79a46e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 22:11:48 +00:00
Fengjiang Li af20dc761c [Predictive Back] Swipe back within workspace all apps should only scale down content view, rather than whole all apps sheet
Fix: 335467443
Test: manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TRUNKFOOD
Change-Id: I97f2bfa47dbb7d4866c5d2864ee9cd059a94ca5c
2024-04-17 15:03:58 -07:00
Treehugger Robot f7d105bf5c Merge "Adds AssistStateManager#supportsShowWhenLocked." into main 2024-04-17 20:46:50 +00:00
Brandon Dayauon a1af2cee1c Instead of popup to show letters, show private space icon on fast scrolling
Use spannableString to show the icon instead of regular letters for the private space icons.

bug:304752744
Test manual: https://drive.google.com/file/d/1LFy4-bu69Kuo8eV4erjJOsbkiQJs09kC/view?usp=sharing
Flag: None

Change-Id: I149d7aba6b0a4fdafacd2684e56827c7e1b9d724
2024-04-17 12:37:38 -07:00
fbaron 6fba6cdb85 Make hotseat column span responsive
Flag: NONE
Test: DeviceProfileDumpTest, DeviceProfileAlternativeDumpTest, HomeScreenImageTest
Bug: 325084912
Change-Id: Ifa9e8066662a1ab053f66b8800b739d813d2dab8
(cherry picked from commit e4b0b71faa)
2024-04-17 17:56:58 +00:00
Liran Binyamin da1a7162e3 Merge "Suppress bubble animation when bar is hidden" into main 2024-04-17 17:45:14 +00:00
Sunny Goyal 25c4276ba9 Making moving getDisplayType to DisplayController so that it can be accessed without IDP
Bug: 335280439
Test: Presubmit
Flag: None
Change-Id: Ib1ef3c970a56044c81e36c4af67981715fe50a9e
2024-04-17 10:39:50 -07:00
Fengjiang Li 34f2c92e39 Merge "[Predictive Back] If back swipe while widget picker is in search mode, we should scale down the content view, rather than the bottom sheet" into main 2024-04-17 16:53:54 +00:00
Sebastián Franco f0c030380a Merge "When getting a widget provider by name, check all categories" into main 2024-04-17 16:24:21 +00:00
Liran Binyamin 0b114ebd46 Suppress bubble animation when bar is hidden
This change suppresses the new bubble animation when the notification shade is open and when the device is locked.

Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Fixes: 332912942
Test: manual
     - Use test app to trigger a bubble with delay
     - Lock the device/pull down the notification shade
     - Observe the bubble is not animating
     - Unlock/collapse the shade
     - Observe new bubble was added to the bubble bar
Change-Id: I0b1d42a9d57b29807f113ae45ff60349341272ef
2024-04-17 11:22:04 -04:00
Luca Zuccarini 840e67c17d Settle without jumping at the end of the home transition.
We dynamically target the actual position of the icon during the
animation, instead of the final position. This way, whenever we catch up
we can swap to the actual icon seamlessly. If we don't do this, the
spring ends before the scale and the is a snap from the final position
to the currently scaling position.

Bug: 298089923
Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED
Test: see videos in b/298089923#comment9
Change-Id: I36f19416552d4981b3d9f62a6eb387a08432dd4f
2024-04-17 14:33:01 +00:00
Luca Zuccarini 2fb15b12d5 Merge "Fix a bug where the status bar scrim doesn't animate." into main 2024-04-17 14:06:34 +00:00
Jakob Schneider 4a3de3bd64 Promote tests because they are stable again: http://shortn/_xVIYIenvfl
Change-Id: I22eff490f01d42a92ed4af58cee5761e968a0684
2024-04-17 13:29:12 +00:00
Lynn Yeh 9ebefa5ec9 [automerger skipped] Merge "Update KQS task view layouts to new specs" into 24D1-dev am: 4a01d58d9a -s ours
am skip reason: Merged-In I2b20100ddeb562291edf5f0bacbce916002eee45 with SHA-1 dba7cbae1a is already in history

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

Change-Id: I01aba71c90755e32c840727a3cf58eccfcf9434b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:35:25 +00:00
Schneider Victor-tulias 81ea709526 [automerger skipped] Update KQS task view layouts to new specs am: 3d001dee6b -s ours
am skip reason: Merged-In I2b20100ddeb562291edf5f0bacbce916002eee45 with SHA-1 dba7cbae1a is already in history

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

Change-Id: If058c61e306c5d8c37735719c59890876545b24b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:35:22 +00:00
Lynn Yeh 4a01d58d9a Merge "Update KQS task view layouts to new specs" into 24D1-dev 2024-04-17 08:20:55 +00:00
Holly Jiuyu Sun 66a112a67d Merge "[omni] Enable CUSTOM_LPH_THRESHOLDS." into main 2024-04-17 00:52:41 +00:00
Holly Jiuyu Sun 5388adb001 Merge "[omni] Make AssistStateManager SafeCloseable." into main 2024-04-17 00:20:23 +00:00
Fengjiang Li 85a495f066 [Predictive Back] If back swipe while widget picker is in search mode, we should scale down the content view, rather than the bottom sheet
This will help indicate that we will be navigating within widget picker's bottom sheet.

Fix: 333524244
Test: manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD
Change-Id: If29806a474d35c0fdd5789cb67fa62dfbb313313
2024-04-16 17:13:22 -07:00
Android Build Coastguard Worker 964a3e0c7c Snap for 11722130 from 38876b8521 to 24Q3-release
Change-Id: Id7fe4c230ea49ec96fd590ac6396d9c067b27911
2024-04-16 23:21:27 +00:00
Treehugger Robot 3a230921ba Merge "Reland slow gesture callback handling" into main 2024-04-16 22:54:19 +00:00
Holly Sun 4b377edb8f [omni] Enable CUSTOM_LPH_THRESHOLDS.
This will make our experiment setup easier. See https://docs.google.com/document/d/1GFMqkgVDgFYQnI_JMb7nARuKDwFy1SSVN00YOFKhY1Y/edit?resourcekey=0-JApoPZTfjxke-Cf82RSD_A&tab=t.0#bookmark=id.25pwwrhh1h8q

Bug: 331800576
Test: manual
Flag: legacy CUSTOM_LPH_THRESHOLDS enabled
Change-Id: I4b4fad79151ce6c91ca2895bcff534acae5e340c
2024-04-16 15:25:40 -07:00
Sunny Goyal f15a96608a Merge "Moving developer settings to xml overrides instead of code swap" into main 2024-04-16 21:27:04 +00:00
Schneider Victor-tulias f3f0e28762 Reland slow gesture callback handling
Now that b/329324086 has been fixed, we can be more certain that launcher always gets a signal to clean up from WM.

- Relanding original fix for b/285636175 with some additional error checking
- We will now check whether the recents animation start is pending on ACTION_UP
- We will now block entire swipes to prevent sending additional inputs an input consumer while the recents animation start is pending
- We will now only stop blocking inputs on ACTION_DOWN

Flag: LEGACY ENABLE_HANDLE_DELAYED_GESTURE_CALLBACKS TEAMFOOD
Bug: 329324927
Fixes: 285636175
Test: added a delay in RecentsAnimationCallbacks.onAnimationStart and attempted several rapid gestures
Change-Id: I9805114da34bf44e6b28c2a8a665e4cca88904c2
2024-04-16 17:16:40 -04:00
Treehugger Robot d955d23028 Merge "Fix KQS first task focux when there is only one recent task" into main 2024-04-16 20:53:34 +00:00
Willie Koomson f01687ab5a Merge "Scroll to show WidgetCell when it is tapped." into main 2024-04-16 20:42:12 +00:00
Schneider Victor-tulias 3b6e45d095 Fix KQS first task focux when there is only one recent task
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 335257398
Test: TaplTestsKeyboardQuickSwitch#testLaunchSingleRecentTask
Change-Id: Ibf1514394c29c33ea1dde9e3704af231e2d039f2
2024-04-16 15:08:31 -04:00
Hongwei Wang 915d732782 Merge "Add debugging information on PiP content overlay" into main 2024-04-16 18:40:17 +00:00
Treehugger Robot d331faada2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 6df62bb61b -s ours
am skip reason: contains skip directive

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

Change-Id: Id80cf171be48cbf7b0a20fe94a039c5aec72b75e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:15 +00:00