Commit Graph

80762 Commits

Author SHA1 Message Date
Suhua Lei
c8fcf08dfd Handle visibility of AddDesktopButton for overview/quickswitch
This change introduces mDisallowScrollToAddDesk to handle the visibility
of AddDesktopButton in overview/quickswitch. In overview, set its scroll
as the first task; in quick switch, set its scroll out range of
[minScroll, maxScroll].

Bug: 398036110
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manual quick switch
Change-Id: I5fada0c4c5bccc5572b458da9970e3524087508d
2025-03-13 10:50:21 -07:00
Treehugger Robot
f42f516621 Merge "Remove unused spec in device_profiles.xml" into main 2025-03-03 17:24:20 -08:00
Wen-chien Wang
8444f38c92 Merge "pin-shortcut: Tracks hotseat states and adds unpin option for taskbar" into main 2025-03-03 16:50:48 -08:00
Treehugger Robot
51a3a87b14 Merge "Arrows to scroll recent tasks in KQS" into main 2025-03-03 16:44:25 -08:00
Brian Isganitis
06d2e58105 Merge "Exclude All Apps divider in desktop mode." into main 2025-03-03 15:58:41 -08:00
Uwais Ashraf
994bc6dfcf Merge "Use Recents CoroutineScope with cancellable Jobs per TaskView." into main 2025-03-03 15:37:36 -08:00
Ana Salazar Maldonado
15bfb62587 Merge "Add flag for launcher scalability on desktop" into main 2025-03-03 15:31:20 -08:00
Sebastián Franco
3b8497b191 Merge "Adding Fixed Landscape in non Pixel Launcher" into main 2025-03-03 15:21:18 -08:00
Treehugger Robot
85ec44bcf9 Merge "Revert "Add debug logs to AbsSwipeUpHandler.calculateEndTarget"" into main 2025-03-03 15:14:01 -08:00
Treehugger Robot
5fcd02dff6 Merge "Fix NPE from navbar touch cancel without down." into main 2025-03-03 13:05:39 -08:00
Jagrut Desai
47b0246c26 Merge "Fix SystemNav and Taskbar related Memory Leaks" into main 2025-03-03 12:24:47 -08:00
Ana Salazar Maldonado
f59d6b3187 Add flag for launcher scalability on desktop
Bug: 375491470
Bug: 375491272
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: I9c80163c7bfd505c00af64c1916ff741086784be
2025-03-03 12:02:02 -08:00
Treehugger Robot
19e93afd91 Merge "Test all apps -> workspace drag for taskbar on home" into main 2025-03-03 11:59:21 -08:00
Schneider Victor-tulias
55c543622c Revert "Add debug logs to AbsSwipeUpHandler.calculateEndTarget"
This reverts commit f9c1e29766.

Reason for revert: debug logs no longer needed. issue found

Change-Id: I633d5d6a7386349f19b64ed12aecbc163b5c1c21
2025-03-03 11:46:57 -08:00
Brian Isganitis
8127148e02 Exclude All Apps divider in desktop mode.
Flag: com.android.launcher3.taskbar_recents_layout_transition
Bug: 315354060
Test: go/testedequals
Change-Id: Ic9cf42ad9a81357fe7452ed576663bedb54fbcf7
2025-03-03 14:42:16 -05:00
Ana Salazar Maldonado
0a128474db Merge "Fix tokens for App Contrast Pill" into main 2025-03-03 10:55:39 -08:00
David Saff
e7c9940df4 Merge "Rename to uiautomatorhelpers" into main 2025-03-03 10:48:03 -08:00
Sebastian Franco
6322b33f4a Adding Fixed Landscape in non Pixel Launcher
Bug: 398279312
Test: IntegrationFixedLandscape
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iaaa95ab52ac5bd0607f74793b620fd41ada8b224
2025-03-03 10:45:52 -08:00
Federico Baron
d8f0bed596 Remove unused spec in device_profiles.xml
Bug: 395912263
Flag: com.android.launcher3.one_grid_specs
Test: n/a, code cleanup
Change-Id: Ifd1ecf905427902f895a1b4e16711874fd52ddf3
2025-03-03 18:35:10 +00:00
Mykola Podolian
c095f8b318 Merge "Added accessibility action to move taskbar icon to the bubble bar" into main 2025-03-03 10:31:03 -08:00
Treehugger Robot
34d1359072 Merge "Disallow scroll to the AddDesktopButton" into main 2025-03-03 09:55:16 -08:00
Uwais Ashraf
7a797477ea Use Recents CoroutineScope with cancellable Jobs per TaskView.
This saves time on first usage which can happen during a CUJ on main.

Bug: 395294954
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Perfetto trace comparison
Change-Id: I496a00e3002f29830adbd8bb10857e78b16c68c8
2025-03-03 17:39:54 +00:00
Jagrut Desai
39dd498074 Fix SystemNav and Taskbar related Memory Leaks
Test: Presubmit
Bug: 398908322
Bug: 399884290
Flag: EXEMPT bugfix
Change-Id: Idf1ed3ff154e64de523b477aa34b67cbcd3cf8b4
2025-03-03 09:29:39 -08:00
Treehugger Robot
12934bc891 Merge "Skip TaskView settledProgress and fullscreenProgress updates for same progress value" into main 2025-03-03 08:52:00 -08:00
Helen Cheuk
7fd7325fb8 Merge "Not refresh predicted app in right click" into main 2025-03-03 08:44:59 -08:00
minch
5cb890579e Disallow scroll to the AddDesktopButton
Bug: 389209338
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: m
Change-Id: Ib9e5bc3ff73aed9facd1bad17d34722bd7a24652
2025-03-03 15:37:11 +00:00
helencheuk
b17cde5c3a Not refresh predicted app in right click
When users right click the mouse/touchpad, predicted apps in hotseat refresh and it is weird.
It refreshes because the right click is treated as a drag and a drag would trigger predicted apps refresh.
This fix adds a PreDragCondition to avoid it from starting drag.

Bug: 343650193
Test: Manual, connect to touchpad and right click on widget and folderIcon
Flag: NONE, Bug fix
Change-Id: I650f34f02a920b61e3a1f1ada7d2da10e1625e47
2025-03-03 14:37:05 +00:00
Uwais Ashraf
f58fbaae2d Merge "Revert "Fix OutlineProvider for PageIndicatorDots for new visual updates."" into main 2025-03-03 06:28:16 -08:00
Jon Miranda
18441b720c Merge "Add bugfix flag for enable_taskbar_behind_shade" into main 2025-03-03 06:27:40 -08:00
Jordan Silva
266de900d5 Skip TaskView settledProgress and fullscreenProgress updates for same progress value
This prevents calling settledProgress with the same value multiple times during the onFullscreenProgress animation. It was causing a performance issue when the icon visibility was switching between VISIBILE and INVISIBLE each frame of the animation. More information in the comments of b/398318613.

Bug: 398318613
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual
Test: systemui-thermal-throttling-3-suite
Change-Id: Ib24bfd7541bb177d7141718fa36d2349f7ec9d46
2025-03-03 12:07:47 +00:00
Alex Chau
00677dffa7 Merge "Remove commented block in testOverviewForTablet" into main 2025-03-03 03:52:51 -08:00
Alex Chau
8619197e6a Merge "desktop-exploded-view: Calculate an accurate crop rect for desktop tasks" into main 2025-03-03 02:12:35 -08:00
Pechetty Sravani (xWF)
6208483668 Revert "Fix OutlineProvider for PageIndicatorDots for new visual updates."
This reverts commit c09f4d331a.

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

Change-Id: Ie088a7ceebb79966c9951e13ed0059c8ea75ca6c
2025-03-03 00:43:57 -08:00
Treehugger Robot
6e8347912c Merge changes I6846a3dd,I45356fd7 into main
* changes:
  Update ActiveGestureLogs to print gestures' display IDs
  Update TIS to use one input monitor per display
2025-03-02 18:07:04 -08:00
Treehugger Robot
7caa7cb9be Merge "Fix OutlineProvider for PageIndicatorDots for new visual updates." into main 2025-03-02 17:34:20 -08:00
Schneider Victor-Tulias
841c6a98d2 Update ActiveGestureLogs to print gestures' display IDs
Flag: com.android.launcher3.enable_gesture_nav_on_connected_displays
Bug: 382130680
Test: connected an external display and checked logs
Change-Id: I6846a3dda77fc4afbbd83855aacca726eeb8eace
2025-03-02 16:03:32 -08:00
Schneider Victor-Tulias
21dba415e9 Update TIS to use one input monitor per display
Flag: com.android.launcher3.enable_gesture_nav_on_connected_displays
Bug: 382130680
Bug: 398881237
Test: connected an external display and attempted touch gestures. checked logs to ensure motion events are separated by display id
Change-Id: I45356fd7f1926685093833990d39c85a4a074c58
2025-03-02 16:03:08 -08:00
Treehugger Robot
eb808032f1 Merge "Propagate the display id with SysUIState changes to launcher" into main 2025-02-28 22:14:13 -08:00
Treehugger Robot
b43cae24a4 Merge "Fix home screen page description when removing an existing page." into main 2025-02-28 21:26:35 -08:00
Mykola Podolian
b0fe82378a Merge changes from topic "bubblebar_drop_target" into main
* changes:
  Removed fly-back animation after a taskbar item drop on the bubble bar
  Added BubbleBarLocation drop target.
2025-02-28 18:02:48 -08:00
Treehugger Robot
c032512a82 Merge "Add screenrecord for uninstallWorkspaceIcon" into main 2025-02-28 17:19:37 -08:00
Treehugger Robot
55dd78123c Merge "Taskbar on home should open all apps that support drag to workspace" into main 2025-02-28 17:04:20 -08:00
Treehugger Robot
dad3394772 Merge "Fix LauncherPrefs crash by allowing sub-types of Set" into main 2025-02-28 16:49:02 -08:00
Toni Barzic
a5c5536d7d Test all apps -> workspace drag for taskbar on home
Adds TAPL test that verifies users are able to drag app items from all
apps to workspace when all apps is opened on from a pinned taskbar shown
on the home screen, as may be the case when a desktop mode taskbar is
shown on home screen.

Adapts LauncherInstrumentation to handle the case where taskbar is shown
on home - when verifying launcher states, it sets taskbar visibility
expectations to account for a posibility that taskbar is visible in
home, or workspace states. Adds a request to the test protocol to
determine whether taskbar should be visible on home.

Bug: 392118517
Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays
Test: Ran TaplTestLockedTaskbar tests
Change-Id: I40b06da70aaa49b0a3e0673797e6c18773a72238
2025-03-01 00:31:46 +00:00
Sihua Ma
2e964781ad Merge "Enable forced theme icon in Launcher3 tests" into main 2025-02-28 16:06:04 -08:00
Stefan Andonian
c09f4d331a Fix OutlineProvider for PageIndicatorDots for new visual updates.
Bug: 394355070
Test: Verified locally that the active indicator is outlined properly.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Ia8bd95285292c532f741707e446c83df01c3d540
2025-02-28 15:12:28 -08:00
Brian Isganitis
fbe72436c8 Merge "Remove TYPE_TASKBAR_OVERLAY_PROXY from TYPE_ACCESSIBLE." into main 2025-02-28 14:58:30 -08:00
Charlie Anderson
4e4ad89696 Fix LauncherPrefs crash by allowing sub-types of Set
Bug: 396616795
Test: LauncherPrefsTest
Flag: EXEMPT bugfix
Change-Id: Id380a6e4bb5eb809978070ff1b523c9e98e6b869
2025-02-28 21:57:43 +00:00
Toni Barzic
26ad16592a Taskbar on home should open all apps that support drag to workspace
If taskbar is shown on home screen, have the taskbar all apps button
toggle the launcher activity version of all apps UI. This makes the
behavior consistent with how all apps system action (keyboard shortcut)
works, and addresses a gap in functionality where users are unable to
drag apps from the taskbar all apps UI to the workspace.

Bug: 392118517
Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays
Test: On desktop device, toggle all apps from taskbar on home screen,
      drag and app from all apps to workspace.
Change-Id: Ida0f230bf38c6e1e35041556f33de1be85daf785
2025-02-28 21:31:46 +00:00
Federico Baron
66999f0a19 Add screenrecord for uninstallWorkspaceIcon
Bug: 399756302
Flag: EXEMPT TEST_ONLY
Test: TaplUninstallRemoveTest
Change-Id: I4bdf8087276a93f8f736c23ba95f35acb7f05c3a
2025-02-28 21:27:07 +00:00