Commit Graph

21868 Commits

Author SHA1 Message Date
Treehugger Robot bac3844525 Merge "Adds tests for popup menu" into main 2025-03-07 17:40:46 -08:00
Brian Isganitis 0dc5fac084 Merge "Animate changes in Taskbar recents indicators." into main 2025-03-07 14:47:08 -08:00
Dave Mankoff 7c06fbd2fe Merge "Nullability fixes for Kotlin 2.1" into main 2025-03-07 13:31:39 -08:00
Brian Isganitis 26f9468db1 Animate changes in Taskbar recents indicators.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 356394053
Test: go/testedequals
Change-Id: Ic018695254bbfea11469c3579e242089b00b90f5
2025-03-07 15:47:48 -05:00
Treehugger Robot 522a869e01 Merge "Show screenshot and select in task menu" into main 2025-03-07 12:28:33 -08:00
Treehugger Robot 8800f6d068 Merge "Fix RTL menu position for icon app chip." into main 2025-03-07 11:52:17 -08:00
Treehugger Robot b6001773da Merge "desktop-exploded-view: Launch desktop task view should reverse its exploded animation" into main 2025-03-07 11:45:18 -08:00
Treehugger Robot b1489ad9f3 Merge "Revert "Add screenrecord for testLaunchShortcut_fromTaskbarAllApps"" into main 2025-03-07 11:03:38 -08:00
Treehugger Robot 9cc284aa17 Merge "Don't show more apps button in KQS opened from taskbar" into main 2025-03-07 10:39:05 -08:00
Jordan Silva cccec098e8 Merge "Fix split screen app chip position in portrait mode" into main 2025-03-07 09:50:52 -08:00
Treehugger Robot 6b9b5b54c4 Merge "Fix gesture nav tutorial done button focus issue" into main 2025-03-07 09:45:42 -08:00
Jordan Silva 59e6fd541a Fix RTL menu position for icon app chip.
Changed the gravity of the task menu layout parameters from `START` to `LEFT` because `sTempRect.left` measures left distance, not start distance. This ensures correct positioning, particularly in Right-to-Left (RTL) layouts where `START` may align to the left instead of right, according to search result.

Fix: 400867857
Flag: EXEMPT BUG_FIX
Test: Manual. Using RTL and app chip, expands the app chip menu.
Change-Id: Ia3165563c2f87cf7f2d17eee554386d96f30860b
2025-03-07 09:45:40 -08:00
Xiaoqian Dai 3dfd8bb2b5 desktop-exploded-view: Launch desktop task view should reverse its
exploded animation

Following CLs will support launching individual task window in the
desktop task view.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 353948437
Change-Id: I5d084a7d8b231522bf5db1704cee1d6124affc22
2025-03-07 17:40:14 +00:00
Bill Yi 3fb19185de Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:51 -08:00
samcackett 0946c8c123 Show screenshot and select in task menu
Hide screenshot and select from menu if thumbnail is null

Bug: 383662632
Flag: com.android.launcher3.enable_show_enabled_shortcuts_in_accessibility_menu
Test: OverviewMenuImageTest & manual. See bug.
Change-Id: Idf41de7e36b63f7bcc8639f5f3932a61e56ebfcd
2025-03-07 08:41:41 -08:00
Jorge Gil cf40e5607a Merge "Disable multi-desks in createDesktopTaskPerDisplay test" into main 2025-03-07 08:26:28 -08:00
Liran Binyamin fd1cb45975 Merge "Handle bubble bar drag and bubble drag to fullscreen" into main 2025-03-07 08:11:24 -08:00
Dave Mankoff 9768fba0b0 Nullability fixes for Kotlin 2.1
Bug: 399463072
Flag: EXEMPT minor refactor
Tests: presubmits
Change-Id: I758a7ba2d62d2f096f1ceb775ee3f23275dd1c53
2025-03-07 15:28:37 +00:00
Jordan Silva 75395e3425 Merge "Fix TaskMenuView bottom row divider and translation." into main 2025-03-07 06:12:57 -08:00
Jordan Silva 97b3389cd7 Fix split screen app chip position in portrait mode
Adjusted the secondary app chip's split translation in portrait mode to account for the divider size, ensuring correct positioning in split screen.

Fix: 314326993
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Change-Id: I39eae8b5f1ac8cff6b466cff5b6fb16f0a6e9647
2025-03-07 11:40:12 +00:00
Uwais Ashraf 270093cdcf Merge "Revert "Update Split-Screen icons with new icons."" into main 2025-03-07 03:36:59 -08:00
Jordan Silva 65aff4c6bb Fix TaskMenuView bottom row divider and translation.
Adjusts the positioning logic for the task menu when displayed for tasks on the bottom row of the grid. The changes ensure the menu is visible and does not overlap with other UI elements, such as the taskbar. It defines min and max bounds of the menu when it's opened on bottom row. It also moves the menu on top of the taskbar.

A follow-up CL will manage the max height to make the bottom row menu scrollable.

Fix: 322953749
Bug: 326952853
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewMenuImageTest
Change-Id: I44fb70d8537c0b52af4314e818d02ccfcd35d8d3
2025-03-07 11:31:20 +00:00
Jordan Silva fd066b2d7a Merge "Add app chip flag to prevent skipping settledProgress and fullscreenProgress for the current IconView." into main 2025-03-07 02:04:12 -08:00
Pechetty Sravani (xWF) 16bcecc4e8 Revert "Update Split-Screen icons with new icons."
This reverts commit 50c33f271e.

Reason for revert: <Droidmonitor created revert due to b/401425778.Will be verified through ABTD for standard investigation.>

Change-Id: Ie3d9508864f51572307f9a16ddb14dc86b9d57ad
2025-03-06 22:30:40 -08:00
Simon (Qiong) Sun 4b152d80d9 Merge "Update Split-Screen icons with new icons." into main 2025-03-06 19:09:37 -08:00
Treehugger Robot 80ffe676d1 Merge "[CD Taskbar] Remove External Taskbar's Rounded Corners" into main 2025-03-06 17:58:42 -08:00
Jorge Gil 5d3f714944 Disable multi-desks in createDesktopTaskPerDisplay test
loadTasksInBackground_freeformTask_createsDesktopTaskPerDisplay assumes
that when FLAG_ENABLE_SEPARATE_EXTERNAL_DISPLAY_TASKS is enabled, all
desktop tasks (regardless of the GroupedTaskInfo.deskId) will be grouped
into one GroupTask per display.

However, if multi-desks is enabled, this logic does not apply, and
GroupTasks are created for each desk. Given that this test uses deskId=0
with the expectation that it is an unused/invalid field when testing
FLAG_ENABLE_SEPARATE_EXTERNAL_DISPLAY_TASKS, this CL disables
FLAG_ENABLE_MULTIPLE_DESKTOPS_BACKEND to match that expectation.

Flag: com.android.window.flags.enable_multiple_desktops_backend
Flag: com.android.launcher3.enable_separate_external_display_tasks
Bug: 362720497
Test: atest NexusLauncherTests:com.android.quickstep.RecentTasksListTest
Change-Id: I88cceaa37582fdcf1a3ad4f59712abbfa7e428a8
2025-03-07 01:05:30 +00:00
Li Lin 6be6102a44 Merge "Add Growth Framework nudge payload model." into main 2025-03-06 17:03:21 -08:00
Federico Baron 0fe4d89821 Revert "Add screenrecord for testLaunchShortcut_fromTaskbarAllApps"
This reverts commit 486016efd6.

Reason for revert: issue no longer happening 

Change-Id: If1128f59808162f26cc5c32c017eda758126ea27
2025-03-06 16:36:39 -08:00
Bill Yi abe6cc4ce8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie19b5b66db4054578ea143d8b5ba42cab4871c19
2025-03-06 15:13:29 -08:00
Shamali P 992facdff3 Unregister widget prediction callback on clear
Noticed that predictor holds the registered callback and caused leak.
Using named listener classes for better stacks and also unregisters them

Bug: N/A
Flag: EXEMPT BUGFIX
Test: WidgetPredictionsRequesterTest
Change-Id: I94211ddbc77077c98b804827bb1cecdefe57703b
2025-03-06 14:25:13 -08:00
Jagrut Desai d5e5fca0dc Merge "Fix Taskbar not present in Desktop Mode after unlocking" into main 2025-03-06 13:18:33 -08:00
Jordan Silva 02a0119032 Add app chip flag to prevent skipping settledProgress and fullscreenProgress for the current IconView.
Bug: 398318613 
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual
Test: systemui-thermal-throttling-3-suite
Change-Id: I96d8889752287510e760d4367b2ef981689e106d
2025-03-06 12:31:54 -08:00
Schneider Victor-Tulias aeb8831239 Fix gesture nav tutorial done button focus issue
Flag: EXEMPT bug fix
Fixes: 400888489
Test: launches and completed tutorial with and without talkback
Change-Id: I5ec1fc6b812667c79136e82a8553e4b857200cdb
2025-03-06 15:16:42 -05:00
Will Osborn a4e2288717 Merge "DeviceProfile refactoring for connected displays" into main 2025-03-06 10:46:44 -08:00
Simon (Qiong) Sun 50c33f271e Update Split-Screen icons with new icons.
Fix: 379959026
Test: Check that Split and save Split-Screen icons.
Flag: EXEMPT icons change
Change-Id: I0c159d083c175b560acfa33122bc2a03859f103e
2025-03-06 10:36:29 -08:00
Treehugger Robot e3d58f1ecb Merge "Fix NPE in TaplTestsQuickstep.tearDown" into main 2025-03-06 10:13:36 -08:00
Toni Barzic 200c5ee980 Don't show more apps button in KQS opened from taskbar
The button is shown when "hidden" non-desktop mode apps are open, and
KQS gets shown in desktop mode. Per UX, the button should be removed
when KQS is shown from taskbar, as taskbar overflow bubble.

Bug: 399860396
Test: Open apps in fullscreen, switch to desktop mode, open enough apps
     for taskbar to enter overflow, tap taskbar overflow icon, verify
     that the overflow bubble does not show "X more apps" button.
     Separately, press Alt+Tab, and verify the button gets shown.
Flag: com.android.launcher3.taskbar_overflow
Change-Id: Ic4050b1b29fe22a1e0d2be661acfca18561b4ed1
2025-03-06 17:16:10 +00:00
Schneider Victor-Tulias 07dd9944f3 Fix NPE in TaplTestsQuickstep.tearDown
Fixing NPW caused by ag/31415696. The recents view container can be null in tearDown

Flag: EXEMPT test fix
Fixes: 399657343
Test: TaplTestsQuickstep
Change-Id: I3665fc4bc131b90b22f43282f0c4e9e1188d0eb4
2025-03-06 11:07:07 -05:00
Will Osborn 787dcec135 DeviceProfile refactoring for connected displays
Test: locally tested on Tangor
Flag: com.android.launcher3.enable_overview_on_connected_displays
Bug: 392858637
Change-Id: I0f45710eb60c7ea3359153c7961461532fec8e97
2025-03-06 14:33:00 +00:00
Treehugger Robot 872ef49247 Merge "Add TaskContentView parent to TaskThumbnailViewHeader and TTV" into main 2025-03-06 03:37:25 -08:00
Alex Chau d81a7835ac Merge "Update live tile's pivot when ReccentsView's pivot is updated" into main 2025-03-06 03:29:39 -08:00
Sergey Pinkevich f3ea2ed42c Merge "Change launch change requirement within DesktopAppLaunchAnimatorHelper" into main 2025-03-05 23:55:30 -08:00
Jagrut Desai bf0727b60d Fix Taskbar not present in Desktop Mode after unlocking
The problem: with taskbar animation for Desktop mode we were checking, if we are already in DW then don't recreate taskbar. This was put in as condition so where DisplayController Info change we don't recreate twice. first being from transilition listerners and second being form info change in display controller.

The solution: Ignore the info change listener when there is already ongoing recreation is in progress.

Test: Presubmit
Bug: 399826787
Flag: EXEMPT bugfix

Change-Id: Ib86e79b3b4c86e515e44d1d1dd7ca98ed694c365
2025-03-05 18:58:38 -08:00
Sukesh Ram 850179005f [CD Taskbar] Remove External Taskbar's Rounded Corners
Remove Taskbar's Rounded Corners for External Display.

Flag: com.android.window.flags.enable_taskbar_connected_displays
Bug: 400799093
Test: Manual
Change-Id: I6808850647cd4136aae23de13fa54ecaba3c1025
2025-03-05 15:14:56 -08:00
Li Lin ebb8fe35bb Add Growth Framework nudge payload model.
This model will be used to drive Growth Framework nudge rendering and
behavior in follow up CL.

More details at: go/al-growth-framework-nudge

Test: Manual
Bug: 398026145
Flag: EXEMPT add separately
Change-Id: Icfd53f2587fe7b184f21f7e180c795bd6f586040
2025-03-05 15:14:54 -08:00
Treehugger Robot 7a7a92999c Merge "Making ActivityContext extend SavedStateRegistryOwner" into main 2025-03-05 11:44:19 -08:00
Liran Binyamin 6b18e3811d Handle bubble bar drag and bubble drag to fullscreen
This change wires bubble bar dragging as well as bubble dragging to
full screen behind a flag. Note that when the bubble is dragged to
full screen we remove the bubble from the bubble bar and notify
sysui but on the sysui side the bubble doesn't yet get converted.

Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Bug: 388858013
Test: manual
       - with flag off
         - verify existing dragging works
       - with flag on
         - verify bubble bar can be dragged across
         - verify bubble is removed when bubble dragged to full screen zone
Change-Id: I9e4d8ee3d2ba9dffff3dd4ba91dfce1a5c723d68
2025-03-05 10:04:58 -08:00
Wen-Chien Wang 3c74827da7 Adds tests for popup menu
This cl creates some basic tests for popup menu on hotseat items
and recent tasks.

Bug: 3446576299
Test: The cl itself is for tests
Flag: EXEMPT adding test
Change-Id: I872078969d9c3d20b5bf47a43cd8e3c940dd4d8f
2025-03-05 10:03:47 -08:00
Mykola Podolian e5c9aadf2c Merge "Added logic to show the shell drop target and update the bubble location" into main 2025-03-05 09:24:38 -08:00