This change sees the All Set page at the end of the Setup wizard be
redesigned to match the expressive theme. Changes include background,
fonts, and overall style.
Fix: 390550173
Test: Run SUW with a device that has the expressive theme enabled for
SUW
Flag: EXEMPT bugfix
Change-Id: I335b62d34a0587d8b5bba7f86dcc0670ec248ada
When we tap on recents, setActivityStarted set to true where
setBaseSurface is called with launcher surface. When app is opened
setActivityStarted is false and setBaseSurface is set to null.
In subsequent calls, between where call to setBaseSurface with launcher
is skipped. This causes due to race condition between
removeOnDrawListener which is "asynchronously" posted from
onLauncherDraw and addOnDrawListener. This makes addOnDrawListener not
to get properly added.
Hence mBaseSurface remains null and we do not get chance to set the blur
to launcher layer to 0 and then reparent/relayer blur behind live tile.
Hence blur is still over launcher layer which makes live tile blur.
Added boolean that makes async removeOnDrawListener in onLauncherDraw
cancellable.
Fix: 387428198
Test: Rapidly tap on recents button
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I5ed2ec198563d9edb181a723c9db47ecfe500c5d
- Shows an error message when there are no widgets to show.
- Also adds a spacer item for edge padding to offset floating toolbar.
Bug: 408283627
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Test changes
Change-Id: I89e78a9dafc23bb02be13e6fde08971835ff18f0
In liveTile mode, an InputConsumer is used for gesture navigation and
this consumes all InputEvent's. As a result, the framework doesn't see
these events and so focus isn't handled.
This CL override's dispatchKeyEvent in some of the key views in
RecentsView and handles changing focus correctly.
Bug: 366177160
Fix: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: Icc15abb19f72d28340ae944aa59b67ddec2eceda
This CL restores previous tabbing behaviour to select each TaskView, rather than enter the TaskView and cycle the children as this behaviour hasn't been fully implemented and there are some issues with live tiles, so restoring the previous behaviour.
Note: rather than revert ag/32253797, I decided to leave it as if the menu is open, then the tabbing behaviour works in the menu, so didn't see a reason to revert it.
Bug: 366177160
Bug: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: I27660bdac60ee572cd633bd58465a6b8bc66aad2
Use a gradient at the end of the TaskHeaderView title when the text is
too long, rather than truncating.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 421406718
Change-Id: Iafd3be47297d6fc90854e5f6328e93114782a05c
When selecting grid size to use for desktop, size breakpoints are
compared to the display dimensions with "stable" device density.
Expose the scale factor that needs to be applied to dimensions
provided in spec via DisplayController::Info, so it can be more easily
faked in tests.
Bug: 375643744
Test: atest DeviceProfileDumpTest
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I836430cc052f72c0f89b6cdd5ab5309a3482d94e
Invalidate the Recents list but don't reload the view immediately when
PiP is dismissed. This effectively reverts commit
If593c2e7271e972e96b1ab21b4396af66b1e3ea4.
Bug: 416666696
Test: m
Test: Presubmits
Test: Manual - enter PiP, then swipe up to Overview. Dismiss PiP and
verify the list is not updated. Exit Overview and re-enter Overview.
Verify that the list is updated with the previously PiP-ed task.
Flag: EXEMPT bug fix
Change-Id: Iaa832f3b4e42404a7469b6b53a379ef42d959442
As a follow up to ag/33785016, move the setting of isFocusable into
enableDesktopExplodedView.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 353949686
Change-Id: I34104592e068ee07699c719b52acf691bdfc3066
In connected display, when the clear all button is clicked, instead of launching home screen, this CL waits for the new desk for the display to be created and then launch to that new desk.
Bug: 417944041
Flag: com.android.window.flags.enable_multiple_desktops_backend
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Test: launch an app in connected display. Go to overview and click clear all. Confirmed the new desk is launched
Test: create 2+ desks in the connected display. Go to overview. Swipe up to remove all desk one by one. Upon the last desk removal, the new desk is launched.
Test: atest NexusLauncherTests:TaplTestsOverviewDesktop
Change-Id: I3399274afd3fd4310fb4b1c1e6916b8386d81aaf
Adds test tags intended to be used from UI automator tests.
Bug: 408283627
Flag: EXEMPT independent module
Test: Test changes
Change-Id: I06b58ebb6f48906fd6e1dd1be74b011d226ce797
We hide the task being split during split selection, and if a config change occurs and we need to re-init the split, we will need the icon still.
Fix: 420543918
Test: Manual.
Flag: EXEMPT Bugfix
Change-Id: Ic4db47633b62b6cbf6b4e66f74912f4c806901e0
- Switched the tests that probe old picker to use disabled flag
- Added some more tests for new code
- A test to use the tap to add listener to add widget to homescreen
- Updated compose unit test to cover for expanding an item
Bug: 408283627
Flag: EXEMPT independent module
Test: Test changes
Change-Id: I238896ec6e24596db93953a22bb43f6c7abbb9d1
This will let it settle correctly if opening the all apps page during a
swipe or snap.
Bug: 415773533
Test: Verified that this works well locally. This is easy to reproduce.
Flag: EXEMPT bug fix
Change-Id: I74131b8d65cbc4466de4fed8638f8da7347aef49
Fix: 402219336
Test: Turn on Talkback and make sure "Add new desk" is read out when
the AddDesktopButton is focused
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: Ia500114d2ac73edabe935be1920af76b0e3d4242
Fixes few instances where taskbar icon layout was calculated incorrectly
for desktop-fist taskbar, assuming that taskbar gets scaled from
transient taskbar sizes to pinned taskbar (which is not the case).
Adds logic to determine whether taskbar supports transition to transient
taskbar to TaskbarFeatureEvaluator, and uses that values in place of
directly checking whether three button nav is enabled.
Bug: 413494672
Flag: com.android.window.flags.enable_desktop_taskbar_on_freeform_displays
Test: Manual - observe the taskbar layout on a desktop device.
Change-Id: Ie0d44ee5be90024ba405f652bbfd888ed22c393b
* changes:
Override the picker theme colors to map to resources in launcher
Update picker tests to wrap content with widget picker theme.
Replace the color / text style tokens with the newly defined picker specific tokens
Define composition locals for configuring color / font tokens specific to widget picker.