Commit Graph

23240 Commits

Author SHA1 Message Date
Sunny Goyal
1abaefca1c Merge "Fixing duplicate attribute definition" into main 2025-05-30 16:23:16 -07:00
Treehugger Robot
5e67f9d7cd Merge "Update DisplayControllerSpy for overview on CD" into main 2025-05-30 16:19:33 -07:00
Daniel Andersson
1da87916b2 Merge "desktop-exploded-view: Fix regression in quick switch" into main 2025-05-30 15:06:45 -07:00
Treehugger Robot
bb41fe629a Merge "Make RecentTasksRepository dispayId aware" into main 2025-05-30 14:22:46 -07:00
Treehugger Robot
e0a2abda93 Merge "Update Scrim values for blur" into main 2025-05-30 13:55:44 -07:00
Sunny Goyal
6c5517ad4b Fixing duplicate attribute definition
Flag: EXEMPT bugfix
Test: Manual
Bug: 353949138
Change-Id: I940e85e77c0eb4c9497be718dc9a7db70eb73656
2025-05-30 13:48:24 -07:00
Vinay Joglekar
7e38e8a089 Update Scrim values for blur
Set foreground color to ScrimView in overview. Added new state property
for foreground.

Fix: 412928191
Test: Go to overview
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: Id4180eaa5501dc11bf7331073edb28dca5c4a13a
2025-05-30 19:20:40 +01:00
Treehugger Robot
ec58354bf7 Merge "Remove obsolete TODO" into main 2025-05-30 08:44:21 -07:00
Will Osborn
4589acb53d Make RecentTasksRepository dispayId aware
Bug: 402365283
Flag: com.android.launcher3.enable_overview_on_connected_displays
Test: unit tests + local test on tablet + foldable
Change-Id: I379547e41029baedb95c67b4440f23adfb29b1ba
2025-05-30 15:40:06 +00:00
Shamali Patwa
cddba00520 Merge changes from topic "widget-picker-launcher" into main
* changes:
  Add dagger2-compiler to some of picker module targets.
  Add no-op widget picker module to some test modules / graphs.
  Wire the compose based widget picker in widget picker activity
  Repository and datasource implementations backing the widget picker.
  Add widget picker module dependency to launcher when compose is enabled
  Open widget picker activity instead of full sheet when refactor flag is on
2025-05-30 04:18:55 -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
Ajinkya Chalke
d2ea106305 Update DisplayControllerSpy for overview on CD
- Use both infoModifier and infoModifierForDisplay to support overview
  on CD changes in DisplayController.

Test: TaskbarModeRuleTest TaskbarInsetsControllerTes
Bug: 363251602
Flag: EXEMPT test only change
Change-Id: I18f2dd7f6c486a269769d93f5ad7623bcba5fe3c
2025-05-30 08:30:39 +00: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
Daniel Andersson
fc9044576e desktop-exploded-view: Fix regression in quick switch
This is a stop gap solution to fix an issue when quick-switching to a
desktop. The way layout exploded layout currently happens is that we
immediately lay windows out in their exploded (non overlapping) position
and interpolate to the overlapping default position using an animated
transform. When the original window is larger than its exploded layout
(which is going to be the common case), then the header (which is sized
for the exploded layout) is going to look large when the window is
transformed into its overlapping position.

This is a quick fix that basically just hides the header when it
shouldn't be visible.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
BUG=b/414991065

Change-Id: I906e7f3cb28c57fc81e64b224ef82554ef4c9a5c
2025-05-29 15:47:21 -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
Shamali Patwa
9d946aa755 Add no-op widget picker module to some test modules / graphs.
Bug: 408283627
Flag: EXEMPT not applicable
Test: dagger build
Change-Id: I77b2f9f32037303ddfd7f2950c7b235f9aff8f2c
2025-05-29 13:26:10 -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
Bill Yi
1fe4921309 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-05-29 10:53:34 -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
Bill Yi
49239572dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib26389f7445b418ec8a59913f47d8f6ff86bb079
2025-05-29 01:03:17 +00:00
Treehugger Robot
6facece986 Merge "Adding dagger subcomponent for activity context scope" into main 2025-05-28 16:11:00 -07:00
Vadim Tryshev
a5c22505bb Merge "Removing ViewCaptureRule" into main 2025-05-28 15:01:22 -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
Liran Binyamin
63850c4a1d Merge "Deflake BubbleBarViewScreenshotTest" into main 2025-05-28 13:17:10 -07:00
Liran Binyamin
f53c72b4ed Deflake BubbleBarViewScreenshotTest
Suppress animation to avoid flakes

Fix: 416207075
Flag: EXEMPT test only
Test: atest BubbleBarViewScreenshotTest
Change-Id: I6e3c6105cef4a5d74567de91de75e8bec7609b3c
2025-05-28 13:16:50 -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
Vadim Tryshev
f3112aea02 Removing ViewCaptureRule
Bug: 315482167
Flag: EXEMPT test fix
Test: presubmit
Change-Id: If60412dcec9614fefe897e766395660acb8fa4f8
2025-05-28 11:53:07 -07: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