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
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
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
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
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
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
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
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
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
BaseContainerInterface.deferStartingActivity and BaseContainerInterface.shouldCancelCurrentGesture were methods that didn't need to be delegated down to LauncherActivityInterface. This delegation was excluding some crucial functionality from 3P launchers and recents in window.
This fixes the incorrect triggering of OtherActivityInputConsumer when using the taskbar and dragging taskbar icons to splitscreen. These fixes mainly affect the persistent taskbar
Flag: com.android.launcher3.enable_launcher_overview_in_window
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug: 377678992
Test: TaplTestsTaskbarSearch
Change-Id: I5f17c1868b0669ef6436d0c3aa36e6eaf8ce69ef
- Unregister the init listener on launcher destroy to unblock the home button
- This also exposes a crash in AbsSwipeUpHandler.onRecentsAnimation start since the home bounds aren't available. So, also adding handling to reload the launcher on night mode change
Flag: EXEMPT bug fix
Fixes: 384423890
Fixes: 416536400
Test: changed dark theme then swiped/pressed home and overview buttons.
Change-Id: Ic26192e8d0e4e6b226fb9af6dba596aa78a09e96