Commit Graph
87505 Commits
Author SHA1 Message Date
Vinay Joglekar 44a5239dfe Merge "Fix blur flash when tap live tile app to launch from overview" into main 2025-06-04 02:15:40 -07:00
Treehugger Robot c8e81122db Merge "Fix sizing for desktop first taskbar" into main 2025-06-03 21:25:48 -07:00
Treehugger Robot 1c7238e383 Merge "Using a single preview sandbox perview instead of recreating it everytime" into main 2025-06-03 19:34:12 -07:00
Treehugger Robot 61b5bd5502 Merge "Let Workspace handle ACTION_CANCEL and ACTION_UP events." into main 2025-06-03 18:19:54 -07:00
Shamali Patwa afa97055fa Update various tests to prepare for the new picker UI
- 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
2025-06-03 17:37:40 -07:00
Android Build Coastguard Worker 29b12c3402 Snap for 13592639 from 6dcc0a10f3 to 25Q3-release
Change-Id: I26c55e9489b22aad53381c4ac328bf7dce83e614
2025-06-03 16:23:01 -07:00
Matthew Mourgos 0fed92d45c Merge "Launch home intent on workspace click/tap" into main 2025-06-03 16:05:43 -07:00
Stefan Andonian 73a32b607d Let Workspace handle ACTION_CANCEL and ACTION_UP events.
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
2025-06-03 22:56:52 +00:00
Treehugger Robot 268e4c1404 Merge changes from topic "promise-icon-fix" into main
* changes:
  launcher3: Change promise icon id key to not be backed up.
  launcher3: Handle case where install session could be invalid.
2025-06-03 15:26:24 -07:00
Suhua Lei ed4437f152 Update the transparency of AddDesktopButton
Bug: 413461696
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manual
Change-Id: Id2d16c4f0b7065f588bb6d45749c2e3aa2dd0981
2025-06-03 14:30:13 -07:00
minch c7b7e4d9d4 Add content description for the AddDesktopButton
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
2025-06-03 14:28:27 -07:00
Toni Barzic e686dd3d9d Fix sizing for desktop first taskbar
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
2025-06-03 21:23:56 +00:00
Andy Wickham 46af1d5939 Merge "Fix workspace blur for non-user controlled animations." into main 2025-06-03 14:03:40 -07:00
Shamali Patwa 39bbfd9c06 Merge changes from topic "widget-p-theme" into main
* 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.
2025-06-03 13:31:12 -07:00
Brian Isganitis 1352955035 Merge "Use displayId from sandbox context." into main 2025-06-03 13:26:13 -07:00
Jagrut Desai 12cdeb2fe2 Merge "Fix Hotseat flashing during DW to home transition" into main 2025-06-03 13:06:23 -07:00
Adnan Begovic b00e10d899 launcher3: Change promise icon id key to not be backed up.
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
2025-06-03 12:49:37 -07:00
Adnan Begovic 0e8be78021 launcher3: Handle case where install session could be invalid.
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
2025-06-03 12:48:54 -07:00
Treehugger Robot 6dcc0a10f3 Merge "desktop-exploded-view: Add hover and press support for the close button" into main 2025-06-03 12:30:59 -07:00
Sunny Goyal 8736534932 Using a single preview sandbox perview instead of recreating it everytime
> 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
2025-06-03 11:40:05 -07:00
Elijah Hewer 69ada2c046 desktop-exploded-view: Add border to desktop contents on hover
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
2025-06-03 11:16:45 -07:00
Treehugger Robot a8f28a2edb Merge "Add additional logging to help debug launcher stuck in QS bug" into main 2025-06-03 11:02:00 -07:00
Andrew Cole 371e8141b2 Merge "Removing screen record from the test because the issue is now fixed" into main 2025-06-03 10:53:42 -07:00
Pat Manning c0e18cdac6 Merge "Do not animate task launch on back invoked if task is dismissing." into main 2025-06-03 10:22:21 -07:00
Matthew Mourgos 606677a48a Launch home intent on workspace click/tap
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
2025-06-03 09:55:53 -07:00
Treehugger Robot bb01ef1d8c Merge "Update the TaskbarLauncherStateController to check the recents window's state" into main 2025-06-03 09:48:29 -07:00
Xiaoqian Dai 817f5c3589 desktop-exploded-view: Add hover and press support for the close button
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 421051864
Change-Id: I75601c738e6f82275240a7e4265f9b7940d3dc7f
2025-06-03 16:45:54 +00:00
Ebru Kurnaz b4f2db4051 Check both content mode and sys decor flag to get system decoration callbacks from window manager.
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
2025-06-03 09:22:12 -07:00
Bill Yi 0c687f92c1 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-06-03 09:12:07 -07:00
Will Osborn 15041a369d Add flag enable_simultaneous_overview_trigger_on_extended_desktop
Test: None
Bug: 421128035
Flag: com.android.launcher3.enable_simultaneous_overview_trigger_on_extended_desktop

Change-Id: I1a54ea49caf3e2dd3449b77bbd744afe682e2fe1
2025-06-03 15:52:03 +00:00
Mykola Podolian 431ca06065 Merge "Updated shell IPC methods" into main 2025-06-03 08:50:24 -07:00
Uwais Ashraf 145a32bc8b Add additional logging to help debug launcher stuck in QS bug
Bug: 362324209
Flag: EXEMPT logging
Test: Manual
Change-Id: I03be5a4dd7364653e59d710483cde528240b860b
2025-06-03 08:27:33 -07:00
Pat Manning 700738db04 Do not animate task launch on back invoked if task is dismissing.
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
2025-06-03 15:36:48 +01:00
Schneider Victor-Tulias f3a66190ef Update the TaskbarLauncherStateController to check the recents window's state
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
2025-06-03 07:17:39 -07:00
Vinay Joglekar 11142ae8b7 Fix blur flash when tap live tile app to launch from overview
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
2025-06-03 06:59:17 -07:00
Shamali Patwa f8d3d932d3 Override the picker theme colors to map to resources in launcher
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
2025-06-03 06:00:40 -07:00
Shamali Patwa bdc7e215b7 Update picker tests to wrap content with widget picker theme.
Bug: 408283627
Flag: EXEMPT independent module
Test: Not applicable
Change-Id: Ied4f4ddca313262bc125b9fb98e5f2670333375b
2025-06-03 06:00:35 -07:00
Shamali Patwa ceccd4a155 Replace the color / text style tokens with the newly defined picker specific tokens
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
2025-06-03 06:00:26 -07:00
Treehugger Robot c1b78276cc Merge "Add remove shortcut to long press menu" into main 2025-06-03 01:54:01 -07:00
Andrew Cole c98b19468e Removing screen record from the test because the issue is now fixed
Bug: 381918059
Test: TEST_ONLY
Flag: TEST_ONLY
Change-Id: I118f6eafa3c8f30161bc7a71649560cc30f99f9c
2025-06-03 00:44:46 -07:00
Shamali Patwa 8f9d26d3ee Merge "Move host constraint builder logic to the concrete wrapper implementation." into main 2025-06-03 00:28:40 -07:00
Android Build Coastguard Worker 3a0e86938d [coastguard skipped] Merge sparse cherrypicks from sparse-13585864-L01400030012734454 into 25Q3-release.
COASTGUARD_SKIP: I47677eda5bb21155fc3d59401192ad5442404021
COASTGUARD_SKIP: Iac3be94342e7def142e31bac34ab9043e870c305

Change-Id: I1514e85ea1e9dc4ff703481c428cda7976b2036c
2025-06-03 00:06:00 -07:00
Android Build Coastguard Worker 620a2f6134 Merge cherrypicks of ['googleplex-android-review.googlesource.com/33834780'] into sparse-13585864-L01400030012734454.
SPARSE_CHANGE: Iac3be94342e7def142e31bac34ab9043e870c305

Change-Id: I47677eda5bb21155fc3d59401192ad5442404021
2025-06-03 00:05:03 -07:00
Andy Wickham 89b154f2f7 Fix reverse interpolation when closing All Apps.
This was inadvertently reverted in ag/33712864.

Bug: 415247657
Test: Manual
Flag: com.android.launcher3.all_apps_sheet_for_handheld
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e8526c5593c1e5f32136e1fb100c812b01e24746)
Merged-In: Iac3be94342e7def142e31bac34ab9043e870c305
Change-Id: Iac3be94342e7def142e31bac34ab9043e870c305
2025-06-03 00:04:44 -07:00
Treehugger Robot 7860bd9db3 Merge "Adding interfaces for long press menu updates" into main 2025-06-02 23:58:31 -07:00
Shamali Patwa a1c4ff596d Move host constraint builder logic to the concrete wrapper implementation.
Fix build.


Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: Ic15eb61eaa76ee9eeb1680dfe90cb89442f7d159
2025-06-02 22:34:00 -07:00
Shamali Patwa 7423dafef0 Define composition locals for configuring color / font tokens specific to widget picker.
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
2025-06-02 21:27:25 -07:00
Shamali Patwa 9e604fbe6e Merge changes from topic "picker-a-dnd" into main
* 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.
2025-06-02 21:21:18 -07:00
Treehugger Robot 6bd4a45898 Merge "Don't animate the TaskMenuView close transition." into main 2025-06-02 19:17:35 -07:00
Shamali Patwa 622eb1d043 Listen to and handle drag and drop for homescreen and lockscreen widgets in widget picker activity wrapper.
Bug: 408283627
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: See demo in comments.
Change-Id: Idcc94d35ca02cb31ce191bc99b5e21f5f0a395c4
2025-06-02 18:47:08 -07:00