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
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
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
Updates KQS view not to show fullscreen tasks, and not to cap off number
of items in the view if shown for taskbar overflow.
Bug:419279335
Test: TaskbarOverflowTest
Flag: com.android.window.flags.enable_taskbar_overflow
Change-Id: I771cabc51ffa527b7db83cf12747cf8c4793670d
- Uses new picker behind a flag.
- Includes appropriate implementation of picker module based on whether compose is enabled.
Bug: 408283627
Flag: EXEMPT independent module
Test: Upcoming in follow up cls
Change-Id: I13e69379bc89c6d2e6909f9d11937997affc6a58
When the widget picker is shown while the show_home_behind_desktop
feature is enabled, it becomes possible for the widget picker to be
opened while freeform tasks are occluding the home screen. To fix this
case, navigate Home to move it in front of occluding tasks, and then
open the widget picker. Navigating home is an asynchronous action, and
widget picker will already be opening once the intent executes, so
exlude closing the widget picker when closing all AbstractFloatingViews
in this case.
This change is intended for the desktop form factor.
Bug: 416057590
Flag: com.android.window.flags.show_home_behind_desktop
Test: Open freeform tasks, open WidgetPicker via menu, make sure that
tasks are hidden and WidgetPicker shows.
Change-Id: I19ebeeb706ae7374df8038d956d453708bc96f7e
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 fixes the issue where taskbar icons are invisible when first launching
an app.
Bug: 417887915
Test: have pinned taskbar, go home, quick toggle theme, launch app
Flag: EXEMPT bugfix
Change-Id: Ia9f91589f82a647db8edac5e464b32f2f4f0ea73
This allows the flag to be shared with Customization Picker.
Flag: com.android.systemui.shared.extendible_theme_manager
Test: manually verified by building w/ soong and gradle
Test: manually verified by flipping flag
Bug: 397782741
Change-Id: I131f54602e33dd2b92ce0068f5fc43da3e150a01
- 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
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
This change explicitly allows for TaskbarStashControllerTest to control
whether the navigation bar is visible in setup wizard or not. This was
needed because two test cases rely on the navbar being visible/not
visible and would otherwise lead to a test failure.
Fix: 420737945
Test: atest NexusLauncherTests:com.android.launcher3.taskbar.TaskbarStashControllerTest
Flag: EXEMPT bugfix
Change-Id: Ie0da668f0d37753e38cd4dcc17532aed761f0f7b
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