Commit Graph

15054 Commits

Author SHA1 Message Date
Treehugger Robot ec58354bf7 Merge "Remove obsolete TODO" into main 2025-05-30 08:44:21 -07:00
Treehugger Robot ca758f80a7 Merge "Do not reflow dismissed grid task is already in split select." into main 2025-05-30 04:00:20 -07:00
Treehugger Robot 45e5c8a215 Merge "desktop-exploded-view: Expand touch area for the task header close button" into main 2025-05-29 21:17:04 -07:00
Mykola Podolian abe7f12791 Merge "Notify Taskbar and Navigation bar of the bubble bar location updates." into main 2025-05-29 21:12:21 -07:00
Mykola Podolian bd997ba791 Merge "Notify taskbar and nav bar of bubble bar location updates." into main 2025-05-29 21:12:09 -07:00
Mykola Podolian 53c3354ffa Merge "Moved DragZoneChangeListener logic to the shared package." into main 2025-05-29 17:32:17 -07:00
Sebastián Franco 1eafc57416 Merge "Moving taskbar variables in DeviceProfile to their own class" into main 2025-05-29 17:29:34 -07:00
mpodolian 6f82248053 Notify taskbar and nav bar of bubble bar location updates.
Added logic to notify the BubbleBarLocationListener implementors on
bubble bar location updated.

Bug: 411506181
Test: DragToBubbleControllerTest
Flag: com.android.wm.shell.enable_create_any_bubble
Change-Id: I51290bb6c2b35ff913a43c04db35be65b377ea03
2025-05-29 15:54:05 -07:00
mpodolian 9310212582 Notify Taskbar and Navigation bar of the bubble bar location updates.
Added logic to notify the BubbleBarLocationListeners (Taskbar and
Navigation bar) of bubble bar location animated.

Fixes: 420929193
Test: Manual. Use unfolded foldable device. Set 3 buttons navigation
mode. Go to the launcher overview screen. Create any application bubble.
Drag bubble to the opposite side of the screen - observe navigation
buttons bar updates its location with the bubble bar.
Add one more application bubble. Drag bubble from the expanded bubble
bar. Observe navigation bar position is updated with the bubble bar.
Flag: EXEMPT - bugfix

Change-Id: I2bbdcdd702141b19695480e87d6cdd456e834e11
2025-05-29 15:35:02 -07:00
Xiaoqian (Daisy) Dai 05fa101519 desktop-exploded-view: Expand touch area for the task header close button
According to the spec, the hit rect of the close button should be 32dp.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 420930786
Change-Id: I2a066c03ba728780520ce95648c20103376c73c7
2025-05-29 19:18:40 +00:00
Sam Cackett f0e152333f Merge "Hide share UI when leaving Overview" into main 2025-05-29 12:12:58 -07:00
Sam Cackett b7807f2bb8 Hide share UI when leaving Overview
Fix: 418960769
Flag: EXEMPT. Bugfix
Test: OverviewActionsControllerTest & Manual
Change-Id: I8bbda20350a933a0e9f501b9a521b96543cb3b78
2025-05-29 12:11:21 -07:00
Xiaoqian (Daisy) Dai f753781b3c Merge "desktop-exploded-view: clean up 'remoteTargetHandles`" into main 2025-05-29 11:09:55 -07:00
Sebastian Franco 8244449a9f Moving taskbar variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I05ec9e15ef02096326596af4835adb706473a736
2025-05-29 11:04:06 -07:00
Jagrut Desai 2cb88061e4 Merge "Fix Settting Cache NPE" into main 2025-05-29 09:44:39 -07:00
Treehugger Robot 3893804a59 Merge "Moving hotseat variables in DeviceProfile to their own class" into main 2025-05-29 09:01:51 -07:00
Ebru Kurnaz 0fe7cca416 Merge "Use DesktopExperienceFlags for sys decor in launcher." into main 2025-05-29 08:29:08 -07:00
Ajinkya Chalke 4be13eb311 Remove obsolete TODO
- From b/399089118#comment2 "On external dispalys, RecentsViewContainer is always RecentsWindowManager, so onOverviewTargetChanged will never be called on external displays". So we we only need to track OverviewTargetChange for default display.

Fix: 399089118
Test: m
Flag: EXEMPT comment only change
Change-Id: Ica0527e45da6f0079bae5b69e9100b9f74d7f7ad
2025-05-29 08:01:51 -07:00
Pat Manning 14b76f7867 Do not reflow dismissed grid task is already in split select.
When the task is not found in top or bottom set, return current page. This fixes rotation in overview while split select is already active.

Fix: 420546041
Test: TaskGridNavHelperTest
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I4f654b017a0c051bd373e78ebd3d3f02f7bdf3cf
2025-05-29 14:49:55 +01:00
Uwais Ashraf 478f07798e Moving hotseat variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I377b33668c3ed330d362527f62226dd84a5773db
2025-05-29 13:16:05 +00:00
Pat Manning 4de1791bd0 Merge "Finish recents animation when dragging to launch non-live tile." into main 2025-05-29 03:06:21 -07:00
Daniel Andersson f9afe843dc Merge "desktop-exploded-view: Adding keyboard navigation to DesktopTaskView" into main 2025-05-28 20:35:48 -07:00
Treehugger Robot baacf9f4df Merge "Converting StatsLogManager to kotlin" into main 2025-05-28 18:29:53 -07:00
Treehugger Robot 6facece986 Merge "Adding dagger subcomponent for activity context scope" into main 2025-05-28 16:11:00 -07:00
Matthew Mourgos 4ddf9f1df1 Merge "Disable swipe up on workspace when launcher is not the top task" into main 2025-05-28 14:26:33 -07:00
Sunny Goyal bb0f554148 Converting StatsLogManager to kotlin
This is make it easier to create factory classes for individual when adding more injected parameters

Bug: 361850561
Test: Presumit
Flag: EXEMPT refactor
Change-Id: Ie68e9e24aae801b7fed14d1b03df760e5b67c183
2025-05-28 14:12:13 -07:00
Daniel Andersson 04066346c2 desktop-exploded-view: Adding keyboard navigation to DesktopTaskView
This CL makes TaskContentView focusable and adds a focus border to it
that is shown when it has focus. There are some caveats currently:

* Recents has a bug where it starts to eat TAB inputs (b/403292849).
  This means that the tab navigation is currently quite shaky and
  often just works the first time entering recents.
* Activating a window (with enter) is currently disabled because of
  another existing bug (b/413378320).

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 353949138

Change-Id: I1c9c7e437f2e131c4ead1d750952ee9ff77c17f4
2025-05-28 13:54:59 -07:00
Sunny Goyal 182dbd609d Adding dagger subcomponent for activity context scope
Bug: 361850561
Test: Presumit
Flag: EXEMPT refactor
Change-Id: I2d2e556fc1c81eaac74e2a1a2a1c5526505f7a56
2025-05-28 13:33:22 -07:00
Pat Manning ca656fb54a Finish recents animation when dragging to launch non-live tile.
Fix: 396255976
Bug: 299060584
Bug: 359117837
Test: Manual.
Flag: EXEMPT Bugfix
Change-Id: I3ada253a88119cebc49c8f173bcc9347c1421bed
2025-05-28 20:12:32 +01:00
Ebru Kurnaz 4851c5cab9 Use DesktopExperienceFlags for sys decor in launcher.
Bug: 420950767
Test: build next and verified
Flag: com.android.window.flags.enable_sys_decors_callbacks_via_wm
Change-Id: I605275f893f3f040d904794a2d1e16de34e49225
2025-05-28 19:05:07 +00:00
Treehugger Robot 43acf1593b Merge "Switch to desk rather than home on background click if we're in desktop mode" into main 2025-05-28 11:38:04 -07:00
Treehugger Robot 6e3d6d0a69 Merge "Moving bottom sheet variables to their own class" into main 2025-05-28 11:11:40 -07:00
Matthew Mourgos eca91f8de6 Disable swipe up on workspace when launcher is not the top task
When freeform windows are shown on top of launcher, disable the swipe up
to open all apps, which would open behind these windows. This change is
inteded for the desktop form factor.

Bug: 419565477
Flag: com.android.window.flags.show_home_behind_desktop
Test: Manually swipe up on home screen with freeform windows shown.
Change-Id: I795e9e05fe39b0cf8033b51ce4369340d49ef812
2025-05-28 10:55:16 -07:00
Eghosa Ewansiha-Vlachavas f899589251 Merge "Use desktop specific launch from taskbar in external displays" into main 2025-05-28 10:01:29 -07:00
Jagrut Desai bcd634a31f Fix Settting Cache NPE
Test: Presubmit
Bug: 406906811
Flag: EXEMPT bugfix
Change-Id: If2dacf2686339a0c8b9e87fdd9a8e555a813aab1
2025-05-28 09:55:39 -07:00
Liran Binyamin 0e6923dce4 Merge "Fix bar state when overflow is selected initially" into main 2025-05-28 09:33:19 -07:00
Will Osborn 38d6c3398b Switch to desk rather than home on background click if we're in desktop mode
Bug: 419533193
Flag: EXEMPT bugfix
Test: locally tested
Change-Id: Icf0e06ef9158d86e1c4d3d785c0d5e96d19054d8
2025-05-28 16:06:06 +00:00
Will Osborn fb1e460fa4 Merge "Only cleanup DEFAULT_DISPLAY WindowManager on new Intent" into main 2025-05-28 07:11:04 -07:00
Pat Manning f23b7b07f6 Merge "Check for modal state in 3p Launcher overview." into main 2025-05-28 07:00:27 -07:00
Pat Manning 5d822e00fc Merge "Update spring constants for expressive dismiss." into main 2025-05-28 06:59:52 -07:00
Sebastian Franco 6dcdd67e23 Moving bottom sheet variables to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: Ibaee4e94e54dbeb2f79ea5c1b6e73415ae219251
2025-05-28 13:48:44 +00:00
Schneider Victor-tulias 501df2edca Merge "Refactor BaseContainerInterface and subclasses to better support 3P and Recents in window" into main 2025-05-28 06:16:14 -07:00
Will Osborn 20c8e17553 Only cleanup DEFAULT_DISPLAY WindowManager on new Intent
Bug: 418915817
Flag: com.android.launcher3.enable_overview_on_connected_displays
Test: locally tested on comet
Change-Id: Iea4f56de63736502b3c81d0e7867229fcf28b276
2025-05-28 09:43:10 +00:00
Xiaoqian (Daisy) Dai bd5de1b6dd desktop-exploded-view: clean up 'remoteTargetHandles`
Do the cleanup when `DesktopTaskView` is no longer in use and being recycled.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 410629853
Change-Id: I3995bf21a047e48bf149c709b617099974d2915f
2025-05-28 03:46:55 +00:00
Shamali Patwa 3b04cf3155 Merge "Extract widget picker intent extras in WidgetPickerActivity" into main 2025-05-27 20:09:52 -07:00
mpodolian 741dfe0683 Moved DragZoneChangeListener logic to the shared package.
Extracted logic that could be reused in the shell and Launcher to
DragToBubbleController

Bug: 411505605
Test: DragToBubbleControllerTest
Flag: com.android.wm.shell.enable_create_any_bubble
Change-Id: Ie97367f9a53acd606c8a09665a5d14e4b6bebba7
2025-05-27 18:59:22 -07:00
Simon (Qiong) Sun be9eea8f23 Merge "Support multiple tasks per split screen via SplitRemoteTargetHandles" into main 2025-05-27 18:11:37 -07:00
Sebastián Franco 6488138490 Merge "Moving Overview variables to OverviewProfile class" into main 2025-05-27 18:01:38 -07:00
Shamali Patwa 021c13c172 Extract widget picker intent extras in WidgetPickerActivity
This change refactors activity to move base activity to launcher3

This is to prepare for using it for launching widget picker for
homescreen and use compose.

Bug: 408283627
Flag: EXEMPT independent module
Test: Manual
Change-Id: I271748fb73b3691ba4d046ac8aceb51c4c8aea55
2025-05-27 17:21:31 -07:00
Sebastian Franco 3bd77e2aae Moving Overview variables to OverviewProfile class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I01644a546a5ce867d1dced1521deb798d6fc3a19
2025-05-27 15:07:38 -07:00