Commit Graph

83004 Commits

Author SHA1 Message Date
Bill Yi 66176dd9d6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87880bd7872d0ed4f2ffd8374e714beafb23d741
2025-04-28 18:47:30 +00:00
Bill Yi 6fc2d63318 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c8b46de6384bb1bbac9c3b44fa5474e6156ce0c
2025-04-28 18:46:30 +00:00
Ats Jenk f1f507e8c3 Do not animate bubble bar for initial state [2/N]
Initial state for bubble bar does not need to be animated.
Especially if it is sent after rotation. In that case we do not want it
to animate.
When launcher is rotated, taskbar is recreated. After getting recreated,
we receive the initial state from WMShell for the bubbles again. Part of
the initial state is whether bubble bar is expanded or not.

Bug: 357115534
Flag: com.android.wm.shell.enable_bubble_bar
Test: rotate device
Change-Id: I859b73597c8f286069f384dcdea0e3a5296e0073
2025-04-28 10:37:55 -07:00
Steven Ng 776e157934 Register KEY_GESTURE_TYPE_RECENT_APPS[_SWITCHER] in the quickstep
Before this change, the overview keyboard shortcut pipeline is as follow:
PhoneWindowManager (System server)
StatusBarManagerService (System server)
CommandQueue (SysUi)
Recent (SysUi)
OverviewProxyRecentsImpl (SysUi)
TISBinder (Quickstep launcher)
This cross-process communication chain through the system server, SysUI, and quick step launcher created significant challenges. Firstly, it complicated efforts to pass additional data to the key gesture handler. Secondly, it was less performant than the streamlined new approach. Lastly, the StatusBarManagerService's responsibilities were ambiguous because it also handled unrelated tasks, such as overview, wallet.

Flag: com.android.window.flags.enable_key_gesture_handler_for_recents
Test: atest NexusLauncherTests:com.android.quickstep.input.QuickstepKeyGestureEventsHandlerTest
Test: atest NexusLauncherTests:AllAppsActionManagerTest
Bug: 406452076
Change-Id: I2899e49c8c0a44c6ad58228db1c9eb587daf68c4
2025-04-28 17:19:35 +00:00
Fengjiang Li 14c9e2b464 Merge "[Memory Leak] Avoid adding duplicated OnScrollChangedListener to RecentsView" into main 2025-04-28 09:35:58 -07:00
Sunny Goyal 07cfe33533 Renaming CONTAINER_PREDICTION to CONTAINER_ALL_APPS_PREDICTION
This avoids confusion with CONTAINER_HOTSEAT_PREDICTION

Bug: 390572144
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: I0e110e2884dd0566bd2e621e60e7458605b9bad7
2025-04-28 09:30:12 -07:00
Priyanka Advani (xWF) 9d7b814eec Revert "Restrict nav mode UI checks within primary display"
This reverts commit 3ccfdbf6c4.

Reason for revert: Droidmonitor created revert due to Jank regression b/413244466.

Change-Id: I09276810e3611b54526ed3d2af7a35949a412b0c
2025-04-28 09:13:46 -07:00
Matthew Mourgos 788c479e8b Merge "Check showHomeBehindDesktop to allow swiping up for overview gesture" into main 2025-04-28 09:07:47 -07:00
Pat Manning edaab56ed6 Merge "Cancel ongoing dismiss animation when Launcher state changes." into main 2025-04-28 05:14:24 -07:00
Jordan Silva af7016c3ef Merge "Make repeated recents button double tap return to previous task" into main 2025-04-28 04:36:13 -07:00
Pat Manning 9fd78aa76d Merge "Drag tasks from center when perfoming dismiss cancel for tests." into main 2025-04-28 04:08:39 -07:00
Pat Manning 9ee290e81f Cancel ongoing dismiss animation when Launcher state changes.
Fix: 410744889
Test: Manual
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I5e81de6762e7d0ea47f8574599901aac1bb8bb77
2025-04-28 10:27:29 +01:00
Vinay Joglekar 077532a909 Merge "Fix background in quick switch when quick switch is started from home." into main 2025-04-28 01:34:10 -07:00
minch 4e3d48e998 Fix integration tests with multi-desks on
Bug: 362720309
Test: Presubmit
Flag: EXEMPT tests failure fix
Change-Id: I381b8751083a7fb235cf597fd35314ca6f2c0a9b
2025-04-26 15:59:18 +00:00
Will Osborn b28d1fc453 Merge "Fix stage split for connected display" into main 2025-04-26 02:29:57 -07:00
Toni Barzic e175eea012 Use setQsbAlpha to update qsb alpha
When updating hotseat qsb alpha in response to assistant visiblity
changes, use Hotseat.setQsbAlpha with a designated alpha channel instead
of updating the view alpha directly. QSB alpha can be changed for
different reasons - e.g. because taskbar is shown, so the calling
View.setAlpha directly may overrride visibility set from other sources.
Using setQsbAlpha ensures that the final qsb alpha aggregates all alpha
inputs.

Bug: 413500588
Flag: EXEMPT bugfix
Test: On desktop device (where taskbar is shown on home), connect a
      display while on home, and verify the inline hotseat qsb does not
      become visible on the primary display.
Change-Id: Ida2325aa630c0c2d2c324d5e3001207cf661f2e9
2025-04-26 05:07:05 +00:00
Andy Wickham 6610425a1d Update blur style for more things.
- Quick Launch highlight (focusHighlight)
 - Drag bar at top of All Apps
 - Divider inside Private Space

Demo (enabling blur via adb in the middle):
https://drive.google.com/file/d/1MjYn1c1mz3m1llmJ-J6kLHUa1j3biv_H/view?usp=drive_link&resourcekey=0-6d1yf_4zDL0W9nTYe6HLNQ

Fix: 413143411
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: I37340759867aba1460fb038269d21c86e8b3c4f6
2025-04-26 01:25:05 +00:00
Treehugger Robot d50a7a1189 Merge "Not pausing hotseat predictions on app launch" into main 2025-04-25 18:06:15 -07:00
Fengjiang Li c4ae445ede [Memory Leak] Avoid adding duplicated OnScrollChangedListener to RecentsView
Use ArraySet to replace List to avoid duplication

Fix: 413449336
Test: presubmit
Flag: NONE - release code
Change-Id: I3bc21fe09ae8e6d5de4ad0389fbd1d723a620c2e
2025-04-25 16:05:22 -07:00
Pierre Barbier de Reuille fe1c342dda Enable enableAltTabKqsOnConnectedDisplays in Desktop Experience developer option
Bug: 407954908
Flag: EXEMPT (Flag infra)
Tests: Build and presubmit
Change-Id: I294be17012232f3132f100116665e0de184206b9
2025-04-25 15:24:43 -07:00
Pierre Barbier de Reuille b9bdc1c6e4 Use DesktopExperienceFlags instead of DesktopModeFlags for enableRecentsWindowProtoLog
Also do not enable that feature in the developer option yet as it is still in development.

Fix: 413741378
Test: Build and presubmit
Flag: EXEMPT (flag infra)
Change-Id: I96f870655405bc3f6dd6352471ea5da785a150bd
2025-04-25 15:03:15 -07:00
Suhua Lei 40477479a6 Handle addDesktopButton visibility wrt desk num limits
Bug: 389209338
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: create desks to limit, dismiss and recreate
Change-Id: I00cc3bff04d95f7c89fdeb67565497c029d8527e
2025-04-25 22:02:15 +00:00
Brandon Dayauon a51dbda452 Merge "Don't use gradient on game icon" into main 2025-04-25 14:52:46 -07:00
Ats Jenk 963df5dca3 Merge "Rename method to set bubble bar expanded state [1/N]" into main 2025-04-25 14:21:49 -07:00
Treehugger Robot fe7225eace Merge "Move LauncherRestoreEventLogger to dagger" into main 2025-04-25 14:11:18 -07:00
Treehugger Robot 868eb7458f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-04-25 13:43:08 -07:00
Treehugger Robot 391af10463 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-04-25 13:43:08 -07:00
Charlie Anderson 8d52e8749d Merge "Fix install finish animation so that icon correctly scales over the progress bar" into main 2025-04-25 13:22:15 -07:00
Will Osborn c21905eb75 Refactor OverviewOnConnectedDisplays flag
and switch from DesktopModeFlags to DesktopExperienceFlags

Bug: 413609179
Flag: EXEMPT refactor
Test: local + presubmit
Change-Id: I3b57e501bbf62400a9977ddcd2503be73f835b5a
2025-04-25 20:13:28 +00:00
Sunny Goyal 834e9c3bbe Not pausing hotseat predictions on app launch
We do not pause updates on tablets anyway, maintaining a separate behavior on phone is unnecessary

Bug: 339700174
Flag: EXEMPT bugfix
Test: Manually verify that the predictions update
Change-Id: Ia835e3c73dc536e0ff5b4c1f5120628a48f7723f
2025-04-25 12:39:13 -07:00
Treehugger Robot 703d6f6f55 Merge changes from topic "folder-arrows-pointer" into main
* changes:
  Only Show Folder Arrows if Mouse or Trackpad is Connected to Device
  Make Width Calculation Exact
2025-04-25 11:53:41 -07:00
George Lin 19345d7b39 Merge "Fix SurfaceControlViewHost holding surface view (1/4)" into main 2025-04-25 10:37:01 -07:00
Alex Chau abb2133bf1 Make repeated recents button double tap return to previous task
- With grid only Overivew, we can no longer rely on positioning in RecentsView to returning to previous task by using nextTaskView
- After a double tap, on the 2nd TOGGLE command, record the task Ids that this double tap comes from as ToggleInfo
- In the next double tap, if there is a ToggleInfo within last 5 second, return to the previous task
- Also make double tap from home picks up the first grid task instead of a Desktop task
- Simplified special handling when there is only large tile to always fallback to `previousTaskView` when there are no `nextTaskView`. This does not affect cases where there are no Desktop tasks (as previousTaskView will be null).

Fix: 411029836
Test: OverviewCommandHelperTest
Flag: com.android.launcher3.enable_grid_only_overview
Change-Id: I1caa6b3db1bfd2c6203d4f1c5bf3e50c1b3c53c3
2025-04-25 18:24:47 +01:00
Ats Jenk 416f80dc82 Rename method to set bubble bar expanded state [1/N]
Rename methods in BubbleBarViewController and BubbleBarView that set the
expanded state.
These will update the state using an animation.
Update the name to highlight this.
Enables us to create methods to set the state without animation.

Bug: 357115534
Test: refactor, presubmit
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I9d2c46ab1640ab0b19f54103ab8cdb37a5d19dbb
2025-04-25 10:20:41 -07:00
Brandon Dayauon 3882fafedc Don't use gradient on game icon
Changing this to regular game icon as gradient is not needed anymore.

bug: 409978022
Test: manually hsv: https://hsv.googleplex.com/5376677671600128
Flag: com.android.launcher3.nudge_pill
Change-Id: I47e07d5f5a728411b940a34b2408bfae3a1b89f2
2025-04-25 10:19:39 -07:00
Treehugger Robot 087c9c4cf6 Merge "Run task reflow after dismiss earlier and increase spring constants." into main 2025-04-25 09:47:03 -07:00
Treehugger Robot 28d6aafa84 Merge "Update Icon App Chip menu animation" into main 2025-04-25 09:09:56 -07:00
Pat Manning 8eeaa6009c Drag tasks from center when perfoming dismiss cancel for tests.
Follow up to Change-Id: I14f3012973ddee0d850db5de284a0efde6122d2c

Fix: 412766455
Test: TaplTestsQuickstep#dismissCancel
Flag: EXEMPT bugfix.
Change-Id: Idcf17fe810a935c325d043519d2b8d216b3f5c13
2025-04-25 16:12:32 +01:00
Charlie Anderson c881ed65e7 Fix install finish animation so that icon correctly scales over the progress bar
- Also clean up some of the draw code

Bug: 377938340
Test: installing apps to finish
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: If5e825a4bc54c62e183be980e12a0c6ee14e4dff
2025-04-25 07:20:24 -07:00
Pat Manning dac05b0390 Run task reflow after dismiss earlier and increase spring constants.
This allows the user to dismiss multiple tasks in a row more quickly.

Fix: 409485085
Test: Manual. Fling to dismiss tasks as quickly as possible.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I9a0d05c1a47b5bc0ef72cde055379e4df50b48b4
2025-04-25 15:04:53 +01:00
Jordan Silva 6a70a9ac1c Update Icon App Chip menu animation
Fix: 320435745
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual. Expanding and Collapsing Icon App Chip menu.
Change-Id: Ibfaeb5908f6edf4d3f4c249f6064a21ff10ee0ba
2025-04-25 14:28:27 +01:00
Treehugger Robot 1fb5b3be7b Merge "Clean up aconfig flag coordinate_workspace_scale." into main 2025-04-25 05:50:01 -07:00
Chaitanya Cheemala (xWF) 4f7245fe6b Merge "Revert "Store bubble bar state in sysui proxy"" into main 2025-04-25 03:42:46 -07:00
Luca Zuccarini d7ca66d080 Clean up aconfig flag coordinate_workspace_scale.
Fix: 409610286
Flag: EXEMPT flag cleanup
Test: EXEMPT flag cleanup
Change-Id: I0c51163f6eaab8a89c16da70193a2d2b5243e307
2025-04-25 09:56:19 +00:00
Chaitanya Cheemala (xWF) fbfec0d3e1 Revert "Store bubble bar state in sysui proxy"
This reverts commit 821adae181.

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

Bug: 413593389

Change-Id: Ie680f8b4934d1678796c1a0381e4472cfbf40f41
2025-04-25 02:32:11 -07:00
Treehugger Robot b0fda55a26 Merge "Revert "Launcher3: send token with early wakeup request to Surfa..."" into main 2025-04-24 23:33:11 -07:00
Ats Jenk be9c6f76e3 Merge "Store bubble bar state in sysui proxy" into main 2025-04-24 22:21:10 -07:00
Anushree Ganjam 06bc3f5301 Move LauncherRestoreEventLogger to dagger
Helps us to delete ResourceBasedOverride class.
Delete "launcher_restore_event_logger_class" resource from config.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Ia11162979f016513bd09e06796346d29699b2efd
2025-04-25 01:02:28 +00:00
Bill Yi 4417bed406 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I92dac24a6704f912df522fc623d26ae5dc11f092
2025-04-24 23:41:22 +00:00
Bill Yi 70a2b27701 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id48aa0f8190d33d50375172d27d80b555cc3a15c
2025-04-24 23:40:20 +00:00