Commit Graph

83004 Commits

Author SHA1 Message Date
Artsiom Mitrokhin b673fbf897 Merge "Update taskbar overflow view to match the spec" into main 2025-03-07 18:06:50 -08:00
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
Liran Binyamin c2edd1c79a Address flakes in BubbleBarViewAnimatorTest
- Fix some mockito issue by using a fake implementation rather
   than a mock.
 - Return early in the bubble bar animation if there's no animating
   bubble. The issue here is that the scaleY property of the bubble
   bar is set to 1 when the animation is interrupted. However, in
   the test environment, the cancellation of the animator is posted
   to a different thread, and another animation frame is running
   after the scaleY was already reset to 1.

Flag: EXEMPT test only
Test: atest BubbleBarViewAnimatorTest
Bug: 399934422
Bug: 399720438
Change-Id: I271f670c50168237aeaf867c8171ae3023ee09ff
2025-03-07 14:13:31 -08:00
Jordan Silva aacd9295fd Fix task menu height calculation for bottom row handling.
Adjust the max height calculation logic in on measure to use a different translationY for the bottom row menus. The bottom row menu animates translating up to show more items. Thus, we use the min translationY accepted for the menu to calculate its max height size.

Fix: 326952853
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewMenuImageTest
Change-Id: I0b32c16e020033feccbfeef8f96c196d193ac0cb
2025-03-07 14:06:57 -08:00
Li Lin 0f02bd269a Add skeleton Growth Framework nudge controller.
Bug: 398033012
Test: Manual
Flag: EXEMPT add separately
Change-Id: I682c723efc935737403678c84da94ee9ee63db27
2025-03-07 13:40:49 -08:00
Dave Mankoff 7c06fbd2fe Merge "Nullability fixes for Kotlin 2.1" into main 2025-03-07 13:31:39 -08:00
Charlie Anderson 567097eee8 Make sure profile badging matches shape
Bug: 398875512
Test: testing different shapes on work profile
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I5cb9e629f711f2fc607ca646d82a8523c0b43d1b
2025-03-07 21:31:11 +00:00
Treehugger Robot 2d5f226f50 Merge "Moving zip rule to Multivalent to fix roboelectric test in A-studio" into main 2025-03-07 13:06:24 -08:00
Alex Chau dc0033eabf Update Overview flag bug IDs
Bug updated for enable_grid_only_overview and enable_overview_icon_menu

Bug: 257950105
Bug: 360204325
Bug: 360205084
Flag: EXEMPT FLAG_ONLY
Test: presubmit
Change-Id: Ia253a87731bd272ce3bcbd41af5bc3c1729807fb
2025-03-07 12:59:50 -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
Sebastian Franco aeb99f8d24 Moving zip rule to Multivalent to fix roboelectric test in A-studio
This fixes roboelectric test Running in Android Studio.

Bug: 390496167
Flag: TEST_ONLY
Test: all dumpTest
Test: Running roboelectric test in Android Studio
Change-Id: I903c6cea3c981a9c38cfcd05b54e4095b6fe2a8a
2025-03-07 11:56:45 -08:00
Treehugger Robot 8800f6d068 Merge "Fix RTL menu position for icon app chip." into main 2025-03-07 11:52:17 -08:00
Sebastian Franco 0e0fffd81c Sync landscape rotation with Overview rotation
Bug: 390487996
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: Ib564c21befd06edd5c720fe33f36780761035fee
2025-03-07 11:48:43 -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 ae4a474e89 Merge "Modify logging to log the specifc grid size when taking a snapshot" into main 2025-03-07 11:29: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
Randy Pfohl 6bfb0f943c Merge "Updating namespaces of recents in windows flags for us in desktop experience flags" into main 2025-03-07 09:21:15 -08:00
Bill Yi c86968cd6f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:51 -08:00
Bill Yi 3fb19185de Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:51 -08:00
Alex Chau df7bb7966c Check before casting to TaskMenuView on rotation
- Added a instanceof check to avoid ClassCastException

Fix: 400957867
Flag: EXEMPT BUG_FIX
Test: manual testing rotation on phone and tablet
Change-Id: I2b094fdca4f380128b50d5086548cbac3ef09bf4
2025-03-07 16:55:06 +00: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
Artsiom Mitrokhin dcf37ce078 Update taskbar overflow view to match the spec
This includes:
1) updating the color token used in dark mode,
2) adjusting sizes of individual app icons and their strokes.

See screenshots in http://b/383556682#comment7.

Bug: 383556682, 380386440
Flag: com.android.launcher3.taskbar_overflow
Test: manual
Change-Id: Ia05d803c5602552ce4f3e4675411b281107ac843
2025-03-07 10:38:37 -05: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
Brandon Dayauon 16020c58a9 Merge changes from topics "moveContentPrivateSpace", "privateProfileMoveContent" into main
* changes:
  Move privateSpace app location to after the header
  Include multiuser flag to launcher3 dependency
2025-03-06 20:02:49 -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
Treehugger Robot 6f465e0b95 Merge "Fix attempt 2 for testDragToFolder" into main 2025-03-06 17:57:54 -08:00
Xin Li b4f2e53d93 [automerger skipped] Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future am: 65541f3352 -s ours
am skip reason: Merged-In I4b758e6ce103c5201ef05ab824dd4e02f98c40b6 with SHA-1 986d7cb9c0 is already in history

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

Change-Id: I621d078db3ffcf20cea2fc3091a668ca3e1834f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-06 17:46:04 -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
Shamali Patwa 41f7c62b25 Merge "Unregister widget prediction callback on clear" into main 2025-03-06 16:27:11 -08:00
Federico Baron c3ac9c1c16 Fix attempt 2 for testDragToFolder
The reason the test fails is that since the tap targets are smaller, the
drag is too fast and the hover over icon to create folder time doesn't
elapse

Bug: 383917141
Test: TaplDragTest#testDragToFolder
Flag: TEST_ONLY
Change-Id: I3ba2b621f92f94dc52eb2b7ee6cd459ab9abb894
2025-03-06 15:34:13 -08:00
Randy Pfohl 50fb3d2882 Updating namespaces of recents in windows flags for us in desktop experience flags
Test: None

Flag: EXEMPT updating namespaces for gantry

Bug: b/401073215
     b/401073401
     b/401075030
     b/401076625

Change-Id: I3d981186c8ec56f79be881e42df5d8749fe07a33
2025-03-06 15:17:14 -08:00
Bill Yi 7ee863b8f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ice67707d4425c52ffd7e58461fc0e3ae0abdbcf7
2025-03-06 15:14:21 -08:00