Commit Graph

83004 Commits

Author SHA1 Message Date
Shamali P e244e93c6a Add an option to show shadow on the floating toolbar.
In case of two pane layout, the toolbar appears over the list, so, shows
a shadow.

Bug: 408283627
Flag: EXEMPT independent module
Test: Screenshot test
Change-Id: Ifd126adc7dcbd81907809c961577f958c0f9c06b
2025-05-13 17:14:51 +00:00
Shamali P dc587e5601 Add top level reusable layouts for widget picker
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo; will be part of larger screenshot test
Change-Id: I10ebc3982b9c64b4b475a3d2201bf1afb1ad654a
2025-05-13 17:14:51 +00:00
helencheuk d681164fe3 [Action Corner] Handle go home action
Handle go home and go back to previous screen for overview, split and full screen task

Bug: 397182595
Test: ActionCornerHandlerTest
Flag: com.android.systemui.shared.cursor_hot_corner
Change-Id: Ia928f102df6908058c02949db02a73430cea5ef1
2025-05-13 17:03:12 +00:00
Treehugger Robot 8a868c571e Merge "Fix IllegalArgumentException in RecentsWindowManger.onDestroy" into main 2025-05-13 09:35:13 -07:00
Treehugger Robot 5b77862850 Merge "Only show the Desktop shortcut when appropriate" into main 2025-05-13 09:15:04 -07:00
Jagrut Desai ac309032ac Merge "Fix NavButton Position when in RTL and Lanscape" into main 2025-05-13 08:35:32 -07:00
Sunny Goyal b2315b69c2 Removing some unnecessary launcher typecast
Bug: 417227133
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ie794e4855441f86441d869d315699bf46fce0db5
2025-05-13 08:26:25 -07:00
Treehugger Robot 54cc5efead Merge "Use TaskViews only for RecentsView CollectionInfo" into main 2025-05-13 08:16:08 -07:00
Liran Binyamin d15fa79617 Update long press menu bubble icon
Updated roundedness to 100 for material 3

Bug: 416296666
Flag: com.android.wm.shell.enable_create_any_bubble
Test: EXEMPT icon change

Change-Id: Ie14cb285de5d97e1f9e1837cb23ddc717406d14d
2025-05-13 10:13:23 -04:00
Schneider Victor-Tulias 099cce39eb Fix IllegalArgumentException in RecentsWindowManger.onDestroy
Flag: com.android.launcher3.enable_launcher_overview_in_window
Flag: com.android.launcher3.enable_fallback_overview_in_window
Fixes: 413003643
Test: issue surfaced, and fix confirmed, in presubmit
Change-Id: I0c4f1ae44bc3868ac4dd8772d2a8989a3506db03
2025-05-13 07:11:57 -07:00
Will Osborn 770ab0cc00 Fix transition to home on connected display by passing correct displayId to startHomeIntentSafely
Bug: 415274390
Flag: EXEMPT bugfix
Test: local + presubmits
Change-Id: I6a825c93a683726c044024e411a8272004ede957
2025-05-13 14:03:01 +00:00
Pierre Barbier de Reuille 8ac46d7e37 Only show the Desktop shortcut when appropriate
The Desktop shortcut should only be shown if the task is on a display
that can host a desktop.

Bug: 405181230
Test: atest DesktopSystemShortcutTest
Test: Manual
Flag: EXEMPT (bug fix)
Change-Id: I4639aade4c3640a3c60b85e08981cbe46974df38
2025-05-13 14:41:13 +01:00
Sam Cackett 7ac8a04cbe Use TaskViews only for RecentsView CollectionInfo
getAccessibilityChildren includes the add desktop and clear all buttons
in the collection, so the list read outs are 2 bigger than they should
be

Fix: 411430606
Flag: EXEMPT. Bugfix
Test: Manual. Talkback
Change-Id: I3dbc4a9692396f7d8c094dd245745b878833c1a6
2025-05-13 05:45:03 -07:00
Treehugger Robot 61962ec222 Merge "Better null handling for OverviewComponentObserver.getContainerInterface" into main 2025-05-13 05:26:16 -07:00
Toshiki Kikuchi 67a58b0dbf Do not expect a desktop task has action views
This CL changes TAPL not to expect having action views for a desktop
task.

Flag: EXEMPT - fix test
Bug: 416355555
Test: atest WMShellSmokeTestsDesktopMode
Change-Id: I9218415a5ff0b5a43758adb8cb6d3f3ea6cfcc6b
2025-05-13 20:33:52 +09:00
Will Osborn 807d0f9ecf Better null handling for OverviewComponentObserver.getContainerInterface
Bug: 413634484
Test: local + unit tests
Flag: EXEMPT bugfix
Change-Id: I249cd1925ac416e9861be9d0c3c451e2b6cdff43
2025-05-13 09:28:29 +00:00
Johannes Gallmann 3a9aac8358 Merge "Remove haptics for long presses in 3-button-nav" into main 2025-05-13 01:21:00 -07:00
Naresh Kumar Podishetty (xWF) b02666e592 Merge "Revert "Update All Apps sheet interpolators."" into main 2025-05-12 23:46:34 -07:00
Bill Yi b14404525e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id6a76958a1ce83fad97729f346155885bf38b67d
2025-05-13 05:03:21 +00:00
Bill Yi ff66ba47dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If6d2f6b4b1b4d9b1dd74f051925fb8529f982748
2025-05-13 05:02:14 +00:00
Ana Salazar 501df846c4 Support desktop device category in grid options
Adds desktop enum value to grid option deviceCategory attribute type.
The device type is used for devices that have
`R.bool.desktop_form_factor` config value set.

Bug: 30153091
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Test: Manual
Change-Id: Ie4747b5bae3e124e914af51445778c9b6285ff66
2025-05-13 04:17:34 +00:00
Sunny Goyal fabe5b213d Merge "Adding support for diff in WorkspaceData, so that UI can apply incremental updates" into main 2025-05-12 18:27:05 -07:00
Treehugger Robot b478d366b5 Merge "Moving some static debug initialization out of Launcher to MainProcessInitializer" into main 2025-05-12 18:20:14 -07:00
Treehugger Robot cb527028ad Merge "launcher3: Avoid mutating model on collisions in Launcher3." into main 2025-05-12 18:17:18 -07:00
Treehugger Robot cd4e664701 Merge "Prevent unnecessary DisplayInfo refreshment" into main 2025-05-12 18:11:49 -07:00
Priyanka Advani (xWF) 8e59df0bda Revert "Update All Apps sheet interpolators."
This reverts commit 28f422544e.

Reason for revert: Droidmonitor created revert due to Jank Regression b/415709038.

Bug: 415247657
Fix: 415709038
Change-Id: Iaf692dd2e054c548a6b40831ce6d51a546642ac4
2025-05-12 17:09:05 -07:00
mpodolian ae6322b4b5 Clear bubble bar saved states if bubble bar controllers not present.
Added logic to clear bubble bar related portion of the shared state to
prevent bubble bar being expanded after device unfolded back. If sysui
restores the expanded view, there is no harm in clearing the saved
state, but if it fails to restore, we would at least have the bubble bar
in the not-expanded state.

Bug: 416297086
Test: Manual. Create any bubble and expanded when device is unfolded.
Fold the device and unfold it back. Observe expanded bubble is closed.
Test: Manual. Be folded, expand bubbles unfold bubbles remain expanded
Flag: EXEMPT - bug fix

Change-Id: I13448c48137cc944ec506bdd48ec630634ed120c
2025-05-12 17:01:20 -07:00
Jagrut Desai 7c2a76b499 Merge "Fix TaskbarAllApps Icon" into main 2025-05-12 16:58:46 -07:00
Jagrut Desai 10faea6c76 Fix NavButton Position when in RTL and Lanscape
This cl changes the order of adding nav button to contrianer, so upon user rotating phone to landscape more while in RTL will not cause buttons to switch positions.

Test: Manual
Bug: 396135895
Flag: EXEMPT bugfix
Change-Id: If5512cbdac06bc65f10c8d1e326ae6b786de98ba
2025-05-12 16:57:01 -07:00
Mykola Podolian 21fbcbcf84 Merge "Only update handle alpha on system UI flag update." into main 2025-05-12 16:39:50 -07:00
Ebru Kurnaz d397601721 Merge "Update PerDisplayModule to provide IWindowManager to displayLib." into main 2025-05-12 15:51:38 -07:00
Sunny Goyal aeeeb7e220 Moving some static debug initialization out of Launcher to MainProcessInitializer
Bug: 417227133
Test: Presubmit
Flag: EXEMPT refactor and debug code
Change-Id: If16878b6fb93333989897ce7d2f793395c8a14dd
2025-05-12 15:50:04 -07:00
Adnan Begovic 1ada2c53ea launcher3: Avoid mutating model on collisions in Launcher3.
Collisions should be handled prior to binding in the ui layer.

The following change adds extra logging to help identify cases
where this might occur.

Bug: 417021465
Flag: EXEMPT Bug fix
Test: manual
Change-Id: I5549c94fe81eb13088f8c56a5ff797d46d4bedb2
2025-05-12 15:49:02 -07:00
Anushree Ganjam be896cb6bc Add logging for AI mode suggestions in Toast.
Bug: 403371908
Test: Manual
Flag: EXEMPT Bugfix
Change-Id: I132fa0a168ac17373f90626f382bca7032d746d7
2025-05-12 21:55:00 +00:00
minch de7796ec33 Only show the frontend UI on the display if it is supported
Bug: 415367809
Test: Tested desktop mode is disabled in the pixel 9 but enabled
      in the connected display
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: Iea257acd1a4468c9ac7d0b301fb66ab7ac59f5d7
2025-05-12 21:34:11 +00:00
Mykola Podolian 37437bafc5 Merge "Restore taskbar stashed state on the overview screen." into main 2025-05-12 14:27:29 -07:00
Andy Wickham 0bbe92cda8 Update All Apps handle and work tab color.
Screenshots:
https://drive.google.com/drive/folders/1PfKH2l7cnReWbHmT0o5OKY_KlrK2Wihz?resourcekey=0-kEWlkNyvYkmHO50oeYziYg&usp=drive_link

Fix: 416615578
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: I29fd77863d921afd211527eef2aa7bfa3526fe91
2025-05-12 21:15:41 +00:00
Brian Isganitis fffd860570 Filter out DEFAULT_DISPLAY from Taskbar unit tests.
All Taskbars are inflated on VirtualDisplays. We should ignore
DEFAULT_DISPLAY.

Flag: TEST_ONLY
Bug: 415326979
Test: Taskbar tests
Change-Id: If6700929840552001a8b16fa969003f2c21b3cfe
2025-05-12 17:10:57 -04:00
Brian Isganitis ae80cbfed3 Refactor test dagger graph to stub PerDisplayRepository instances.
These are not being used yet in Taskbar, but they are hardcoding
DEFAULT_DISPLAY for the primary ID. In tests, we want the primary to be
considered the ID of the virtual display tests are running on.

This change also moves dagger classes to its own file for organization.

Flag: TEST_ONLY
Bug: 415326979
Test: Taskbar multivalent tests
Change-Id: Ibd0cdf46bc53dbd7a3dd5f34d7171d9a6cdebb38
2025-05-12 17:10:57 -04:00
Treehugger Robot de9b62ed3e Merge "Fix All Apps fallback colors." into main 2025-05-12 14:02:18 -07:00
Treehugger Robot d89bd8d886 Merge "Split BlurStyle and BlurFallbackStyle for All Apps and Overview." into main 2025-05-12 14:02:09 -07:00
Brandon Dayauon 71c4e2881e Merge "Null check during filtering itemInfo by itemType." into main 2025-05-12 14:01:19 -07:00
Treehugger Robot 8381d839f7 Merge "Use RecentsWindowFlags in DisplayController" into main 2025-05-12 13:58:24 -07:00
Brian Isganitis bcf2a81aa3 Only use mockito-kotlin in SandboxApplication.
Flag: TEST_ONLY
Bug: 415826632
Test: Related tests
Change-Id: I8a2704a8b55a0fd785577d6641665a34c1c9b650
2025-05-12 15:51:52 -04:00
Treehugger Robot 70e3cd4b67 Merge "Simplifying startup latency logger by moving everything to a single class" into main 2025-05-12 12:41:47 -07:00
Liam Lee Pong Lam b2f178178e Merge "Remove navigate_to_child_preference flag" into main 2025-05-12 11:41:28 -07:00
Schneider Victor-tulias 91d606143d Merge "Fix missing tapl key events in TaplTestsQuickstep" into main 2025-05-12 11:39:29 -07:00
Schneider Victor-tulias 5050b29f23 Merge changes from topic "reapply-load-plan" into main
* changes:
  Add support for save app pairs to recents in window
  Update RecentsView to allow re-apply load plan
  Update AbstractQuickStepTest to check non-recents states correctly
2025-05-12 11:29:33 -07:00
mpodolian 810bfb755d Only update handle alpha on system UI flag update.
Added logic to check if handle view alpha should be updated during SysUi
flag updates.

Fixes: 417125892
Test: Manual. Create a new bubble on the home screen, observe the stash
handle is not visible.
Have stashed bubble bar and multiple system languages.
Go to settings (or ane other apps that has input fields). Click on
search to trigger keyboard pop up. Observe that stash handle is hidden.
Collapse the keyboard and observe that stash handle is shown again.
Flag: EXEMPT bug-fix

Change-Id: I0976f37ca24ba816ee5eed6d4f1b4e6999b54c29
2025-05-12 11:26:42 -07:00
Treehugger Robot dbce6aeefb Merge "Reduce combine() usage as it is expensive" into main 2025-05-12 11:15:52 -07:00