- 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.
LauncherPrefs wrapper adds a backup when using backedUpItem for promise icon ids.
Disable backup and restore for this preference as it could cause unwanted situations
Bug: 419426642
Test: None yet
Flag: EXEMPT Bug fix
Change-Id: I4cfef8c587b951ee6b4753e5f2e2a45409294ef3
If the install session comes back as invalid, we can fail to add
a promise icon which leads to icons not showing up on the workspace.
Bug: 419426642
Test: None yet
Flag: EXEMPT Bug fix
Change-Id: I592948eb2b60c2249bb5b141d499d1d5ea01aebc
> Reusing the model binding system instead of using a custom implementation
> Reusing the existing grid update API for previews instead of custom implementation
> Any new functionality is protected via the same flag as the grid update path
Bug: 420997234
Bug: 397782741
Flag: EXEMPT refactor
Test: atest GridPreviewTest
Change-Id: Iaf8f34568618f98cc11138ce3fa327707c5f6f1a
Add a border to the TaskContentsView inside a DesktopTaskView when
hovered with the mouse.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 353949686
Change-Id: I49d72266f88142b012c0fd0aa32b0b17d50eaff0
When an emtpy area of the workspace is tapped/clicked, and tasks are
shown on top of the home screen, launch an Intent to bring the Home
activity to the front. This behavior is intended for the desktop form
factor.
Bug: 419565810
Test: Manual and onWorkspaceTouch_whenHomeBehindDesktop_launchesHomeIntent
Flag: com.android.window.flags.show_home_behind_desktop
Change-Id: Id66e7700873db8d11addf2b5283b4ac126acde5f
This is needed as there is no guarantee content mode will be enabled everytime sys decor flag is enabled.
Bug: 422070126
Test: NA
Flag: EXEMPT bug fix
Change-Id: I6bb85e320448448bc7ce1756250a81747f0cbb42
Also add check to SpringSet end listener to ensure it only fires once.
Fix: 420232180
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I87e023c7bf019a22b5d5b91b2ee30547250c9cd1
TaskbarLauncherStateController needs to be aware of both Launcher's and recent window's statemanagers to update the taskbar state properly. Adding recents window state checks
Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/post submit
Change-Id: I8b812bec3826f90d63dd710be5093deca726b11d
During transition from live tile app in overview to app, we need to
synchronise the transaction. Transaction should be applied immediately
only when live tile becomes static tile.
Fix: 420918073
Test: Tap on live tile to launch.
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I6e0e333d0fe8417e8c8f5d87e5f80fa9b11fdad4
Text styles at the moment uses default tokens, but can be replaced in follow up.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: I91764c5aca3daa729c89882f653bb0f088248170
Also minor adjustments on where color is applied vs clipping / scroll modifiers are applied.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: Ie5270f27d6cb8a6fc1984d6421937b1d8763aee9
This is so, launcher can map it to existing resource tokens enabling
launchers to easily override resources.
Within picker module, we define a default implementation using material
tokens that can be used as reference for which colors are ideal for
specific picker tokens.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: I9c3a6118942114d5a8481f05a6710d8161d56bd7
* changes:
Listen to and handle drag and drop for homescreen and lockscreen widgets in widget picker activity wrapper.
Implement tap-to-add and drag and drop in the compose widget picker
Pass down the widget interaction callback and flag on whether to support drag shadow
Add widget picker drag and add item listeners.