Commit Graph

81233 Commits

Author SHA1 Message Date
Jordan Silva d2e930bbb7 Fix Chip menu expanding outside the screen
This CL removes isLandscape condition from menu translation that
prevents Comet to translate the menu with split app. The menu needs to
be translated when in split screen mode, regardless of orientation.

Fix: 404549940
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Test: OverviewMenuImageTest
Test: Manual. Instructions in the bug.
Change-Id: I5e4d07a9f1d2e36b847808aec9ae348a7ef78f59
2025-03-18 11:18:55 -07:00
Pat Manning 337b3ea7b0 Merge "Play haptic after dismissal even if no neighbors spring into place." into main 2025-03-18 11:10:16 -07:00
Pat Manning f3ef4e9961 Merge "Prevent multiple competing dismissals." into main 2025-03-18 11:04:47 -07:00
Liana Kazanova (xWF) defa140c20 Merge "Revert "Inflate TaskThumbnailViewDeprecated as TaskContentView"" into main 2025-03-18 10:04:13 -07:00
Liana Kazanova (xWF) 1048b2711c Revert "Inflate TaskThumbnailViewDeprecated as TaskContentView"
This reverts commit bba7e8af37.

Reason for revert: DroidMonitor: Potential culprit for http://b/404515699 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Iadb65f37b9712c3d6e5943847520ca3bd76624c7
2025-03-18 09:26:32 -07:00
Pat Manning 9fdc7032ba Play haptic after dismissal even if no neighbors spring into place.
Currently haptics will play as the neighbors reflow into place, but if none reflow, we also want a haptic to fire.

Fix: 398198796
Test: Manual. Dismiss end task so none move, feel haptic play.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I467a45472992722bcd05ef31cbaeb157441c4931
2025-03-18 15:10:53 +00:00
Treehugger Robot 99ef00bfb9 Merge "Launcher EditMode DropTargetButton Titles -> Google Sans Flex Font" into main 2025-03-18 07:22:53 -07:00
Treehugger Robot 1f500d3cd3 Merge "Inflate TaskThumbnailViewDeprecated as TaskContentView" into main 2025-03-18 05:35:14 -07:00
Treehugger Robot 2152c302fd Merge "Update HomeSettings Font to Google Sans Flex" into main 2025-03-17 19:53:32 -07:00
Treehugger Robot e5cebbd9ca Merge "Do not notify desk mode changes on visible desk tasks count changes" into main 2025-03-17 18:29:02 -07:00
Stefan Andonian ab55ee3e7d Update HomeSettings Font to Google Sans Flex
This will update everything in Launcher Home Settings except the At a Glance Dialog. That will be updated in a different CL. Also, the At A glance and Notifications settings landing pages are not owned by HomeSettings. These will be updated when the Settings app updates their fonts to Google Sans Flex, if that has not happened already.

Bug: 393616497
Test: Verified via hard-coded colors and more obvious fonts that these updates actually change the correct text views.
Flag: com.android.launcher3.gsf_res
Change-Id: I74f66760f0fdb486681a2db55df578c9bf50ef47
2025-03-17 15:01:09 -07:00
Sebastián Franco 92330ddaf7 Merge "Removing ZipRule because it seems to break roboelectric tests" into main 2025-03-17 14:34:15 -07:00
Sebastian Franco a67e735606 Removing ZipRule because it seems to break roboelectric tests
Fix: 402136065
Test: DeviceProfileTest
Test: DeviceProfileDumpTest
Flag: TEST_ONLY
Change-Id: I7c3777ebd725e2acb2511aef3874b031a56bcf1a
2025-03-17 14:33:28 -07:00
Alex Chau 4a60b862e2 Merge "Update scale on TaskView instead for select mode" into main 2025-03-17 13:12:09 -07:00
Treehugger Robot ab933e6098 Merge "[CD Taskbar] Move DisplayController method calls to BaseTaskbarContext" into main 2025-03-17 12:11:06 -07:00
Shamali Patwa fedb2319af Merge "Use new PreviewPositionHelper for each GetThumbnailPositionUseCase call" into main 2025-03-17 11:19:13 -07:00
Sam Cackett bba7e8af37 Inflate TaskThumbnailViewDeprecated as TaskContentView
If the enableRefactorTaskThumbnail is false, then inflate
TaskThumbnailViewDeprecated as TaskContentView so that the behaviour
matches the previous pre-factor behaviour

Fix: 402277471
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Manual. See bug
Change-Id: Ie62d4d83d0a16d965820d2a218a44478b660a806
2025-03-17 17:45:34 +00:00
Sunny Goyal d7a1c17988 Merge "Moving LauncherAppWidgetHolder to dagger" into main 2025-03-17 10:42:15 -07:00
Brandon Dayauon 95cb740e76 Merge "Let psApp change according to theme." into main 2025-03-17 10:27:35 -07:00
Treehugger Robot c8dfa03882 Merge "Add keepclasseswithmembernames to all of the package names Bug: 364338963" into main 2025-03-17 09:35:04 -07:00
Jon Miranda a3f54bae16 Merge "Relayer taskbar to application_overlay when shade is opened" into main 2025-03-17 09:15:29 -07:00
Orhan Uysal afd0b905e2 Merge "Temporarily add a null intent check." into main 2025-03-17 09:04:45 -07:00
Shamali P 56dd87a584 Use new PreviewPositionHelper for each GetThumbnailPositionUseCase call
It is now injected via a factory so a new instance is used each time.

Bug: 399641570
Flag: EXEMPT BUGFIX
Test: Unit test
Change-Id: Iee703f0c954c95599c07ceb788edabb0d808abb2
2025-03-17 14:41:53 +00:00
Alex Chau 843a881e7c Update scale on TaskView instead for select mode
- Avoid zooming in RecentsView in Select mode, instead zoom in the selected TaskView only to avoid changing RecentsView's scale and pivot, otherwise when doing home gesture in Select mode RecentseView zoom will be distorted
- Set taskModalness on all TaskViews, so they can fade out while entering Select mode, this avoid janky transitionig of non-selected TaskView appearing during hoem gesture
- Keep overviewGridEnabled true until transitioning out of a RecentsView visible state, so showAsGrid() remains true and the Overview grid won't deform midway through animating
- When leaving Select mode to RecentsView invisible state (e.g. Home), leave taskModalness 1 until the last frame so selected TaskView remains zoomed in until RecentsView is invisible

Fix: 322818393
Test: OverviewTaskSelectImageTest
Test: Repeat with combination of default/fallback, live/static tile, handheld/tablet
1) Swipe up from Overview
2) Swipe up from Select to go Home
3) Backc/cross button to exit Select to Overview
Flag: com.android.launcher3.enable_grid_only_overview

Change-Id: I8fec62315cbd404502852654772edb1d695f1ec6
2025-03-17 14:39:40 +00:00
Hyunyoung Song 8b7f5f1820 Add keepclasseswithmembernames to all of the package names
Bug: 364338963

Flag: NONE proguard.flags update
Test: checked proguard_dictionary proguard related files under
soong/.intermediates/vendor/unbundled_google/packages/NexusLauncher/NexusLauncherRelease/android_common

NexusLauncherRelease.apk size unchanged  15M -> 15M

Change-Id: I665c44750c6f0d469479838f0c0766385a9b3b89
2025-03-17 14:11:29 +00:00
Sukesh Ram 16e04e84eb [CD Taskbar] Move DisplayController method calls to BaseTaskbarContext
To ensure consistent, controllable Taskbar in Connected Displays Behavior, move all independent calls to the singleton DisplayController's various methods into one place in BaseTaskbarContext, where we have access to the parent context and can override default behaviors of these methods throughout taskbar if in external display.

Flag: EXEMPT not adding new behavior
Bug: 401553128
Test: m
Change-Id: If9efc0cfc18bac3ee75bb64bf5280ea979d1faa2
2025-03-17 03:15:45 -07:00
Massimo Carli e58dac962c Merge "Add missing Rule for Flags" into main 2025-03-17 03:01:26 -07:00
Treehugger Robot 4772ba9cba Merge "Disabled bubble bar for the connected display." into main 2025-03-16 23:16:39 -07:00
Jon Miranda 1b62b50a9b Relayer taskbar to application_overlay when shade is opened
When we get the sysui flag for shade expanding, take a
snapshot of the TaskbarDragLayer (after hiding three navigation
buttons), and add a View of that snapshot to the TaskbarOverlay
layer, while simultaneously hiding the real Taskbar.

Bug: 343194358
Test: have pinned taskbar, open shade, note taskbar stays behind shade
Flag: com.android.launcher3.enable_taskbar_behind_shade
Change-Id: I0ad9506f34dd4f3aec3796d94cd3d4a914ff67e5
2025-03-16 11:07:21 -07:00
Treehugger Robot 3a4595c207 Merge "Replace the resource flag to be used for google sans flex font changes" into main 2025-03-15 00:03:35 -07:00
Mady Mellor 3894947741 Merge "Update dragged elevation to use shared value (at 3dp)" into main 2025-03-14 16:10:01 -07:00
Randy Pfohl b1a0a5706f Merge "Removing displaymanager listener in favor of displayAddSystemDecorations for testing/sysui consistency" into main 2025-03-14 15:18:51 -07:00
Stefan Andonian 9fb289b0ee Launcher EditMode DropTargetButton Titles -> Google Sans Flex Font
Bug: 393615290
Test: Verified via logs that font was updated.
Flag: com.android.launcher3.gsf_res
Change-Id: Id0c50122d17d9ebeca6bf1280f5744bb8064a29f
2025-03-14 15:09:49 -07:00
Jagrut Desai 56a8bf548f Merge "Taskbar Icon changes" into main 2025-03-14 14:29:08 -07:00
Sunny Goyal 66916cda10 Moving LauncherAppWidgetHolder to dagger
This would allow customizing the widget holder in LauncherPreview

Bug: 361850561
Test: Updated tests and presubmit
Flag: EXEMPT dagger
Change-Id: I32491169188992453693048986c57cb780fdf1d8
2025-03-14 14:19:29 -07:00
Treehugger Robot 86045eadd7 Merge "Making GridCustomizatonProxy extendible" into main 2025-03-14 14:05:58 -07:00
Mady Mellor 609f2b3143 Update dragged elevation to use shared value (at 3dp)
- Had to bump elevation of drop target so need to bumpe elevation
  of dragged views

Flag: com.android.wm.shell.enable_bubble_anything
Test: manual / visual - drag a bubble or drag expanded view and observe
                        the drop targets
Bug: 403276099
Change-Id: I15a1deb055c590b1f46261fcc307120fcb685c08
2025-03-14 13:56:29 -07:00
Stefan Andonian 30d93a5e74 Replace the resource flag to be used for google sans flex font changes
This new flag is going to be a bug fix flag for easier process
requirements.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.gsf_res

Change-Id: Ic94e52e7fa58efb20fd867cfc661d6f7341fa4ef
2025-03-14 13:50:42 -07:00
Johannes Gallmann e7b099efee Merge "Add 200 ms delay for predictive back animation in 3-button-nav" into main 2025-03-14 13:37:37 -07:00
Hongwei Wang 965a1f5f7f Merge "[2/N] Check destination against src aspect ratio" into main 2025-03-14 13:33:26 -07:00
Treehugger Robot dee6dd8bb7 Merge "Make OverviewCommandHelper commands and OverviewCommandHelperTest display-aware" into main 2025-03-14 13:18:28 -07:00
Jon Miranda 0c762ac84f Merge "Synchronize the app launch and taskbar stash animations." into main 2025-03-14 11:05:08 -07:00
Will Osborn 69a9346b07 Make OverviewCommandHelper commands and OverviewCommandHelperTest display-aware
Test: locally tested on Tangor
Flag: EXEMPT refactor
Bug: 397942185
Change-Id: Ib2c3b2662413d15926215c18421168e93ce2b117
2025-03-14 17:55:20 +00:00
Massimo Carli 61a66dddea Add missing Rule for Flags
The SetFlagsRule was missing in tests.

Flag: EXEMPT Test fix
Fix: 402452969
Test: atest NexusLauncherTests:com.android.quickstep.DesktopSystemShortcutTest

Change-Id: I80e4fc311b173e32e2d85849656b837deb903aeb
2025-03-14 17:05:35 +00:00
Treehugger Robot d78c8c41b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:43 -07:00
Treehugger Robot 8fb039a5ec Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:43 -07:00
Treehugger Robot ffde6fdec8 Merge "Add logging for each migration type" into main 2025-03-14 09:31:34 -07:00
Jagrut Desai 4fe0b79fde Taskbar Icon changes
Test: Manual
Bug: 379158656
Flag: com.android.wm.shell.enable_gsf
Change-Id: Ic4ec9a7c634231c2592cfcd6ba6c8f8252c2dd98
2025-03-14 09:26:32 -07:00
Pat Manning cc973dfdce Prevent multiple competing dismissals.
This brings into line with existing UX prior to the feature.

Fix: 400727071
Test: Manual. Dismiss as quickly as possible.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ie3f6f82c3ed4626829f3a61307e73cbdb8a31ceb
2025-03-14 16:11:19 +00:00
Treehugger Robot 0af5880d28 Merge "Revert "Remove DepartingAnimationTarget from BackMotionEvent(2/2)"" into main 2025-03-14 08:59:01 -07:00