Commit Graph

15106 Commits

Author SHA1 Message Date
Treehugger Robot 9e799fe32b Merge "Switch to the new desk after clear all button is clicked in the recent view" into main 2025-06-04 15:17:07 -07:00
Treehugger Robot 3eed388766 Merge "Add missing nullability checks for AbsSwipeUpHandler.mRecentsView" into main 2025-06-04 14:21:53 -07:00
Steven Ng 6c3e08a35e Switch to the new desk after clear all button is clicked in the recent view
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
2025-06-04 12:56:43 -07:00
Schneider Victor-Tulias 053d45170d Add missing nullability checks for AbsSwipeUpHandler.mRecentsView
Flag: EXEMPT bug fix
Fixes: 422239562
Test: AbsSwipeUpHandlerTestCase.testRecentsViewNullability
Change-Id: I0e2ac2d14bf8ee6130e1349d3c776df0c46fe256
2025-06-04 14:05:53 -04:00
Ebru Kurnaz 348921d7a0 Merge "Check both content mode and sys decor flag to get system decoration callbacks from window manager." into main 2025-06-04 08:48:28 -07:00
Alex Chau 61e96bcf0d Merge "desktop-exploded-view: Add border to desktop contents on hover" into main 2025-06-04 03:36:08 -07:00
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
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
Jagrut Desai 12cdeb2fe2 Merge "Fix Hotseat flashing during DW to home transition" into main 2025-06-03 13:06:23 -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
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
Treehugger Robot bb01ef1d8c Merge "Update the TaskbarLauncherStateController to check the recents window's state" into main 2025-06-03 09:48:29 -07: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
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
Treehugger Robot c1b78276cc Merge "Add remove shortcut to long press menu" into main 2025-06-03 01:54:01 -07:00
Treehugger Robot 6bd4a45898 Merge "Don't animate the TaskMenuView close transition." into main 2025-06-02 19:17:35 -07:00
Federico Baron 9290666f24 Add remove shortcut to long press menu
Flag: com.android.launcher3.enable_long_press_remove_shortcut
Test: NexusLauncherImageTests
Bug: 419289205
Change-Id: I44f12a47f48179be36dea8052080fd61fff05357
2025-06-02 17:43:37 -07:00
Sebastián Franco b11936e0f5 Merge "Moving AllApps device profile variables to their own class" into main 2025-06-02 13:34:10 -07:00
Treehugger Robot 0ff51ee214 Merge "Update alt+tab behaviour for projected mode" into main 2025-06-02 12:57:36 -07:00
Treehugger Robot 0064944109 Merge changes Ie15b4f58,I9b4db285 into main
* changes:
  Add spring animation for newly created desktop
  Add Icon and Button Opacity Fade through for AddDesktopButton
2025-06-02 12:22:55 -07:00
Treehugger Robot 70cb18792b Merge "Change TTV splash and default background to transparent" into main 2025-06-02 12:18:15 -07:00
Jagrut Desai b5d2f3ee7f Fix Hotseat flashing during DW to home transition
Problem: upon exiting the deesktop mode we were getting change in recents tasks which we were commiting to ui and that resulted in hotseat flashing.

Solution: since layout transition is only in use while we are in desktop windowing mode, we will only need to change icon layout bound while we are in desktop mode and not when we are exiting.

Test: Manual, Presubmit
Bug: 417696108
Bug: 415700104
Flag: EXEMPT bugfix
Change-Id: Ibcf65df49e7b48312a27d2750d3d0c6c5d392006
2025-06-02 10:30:58 -07:00
Jon Miranda 33ce4677e5 Merge "Update taskbar icon alpha in pinned taskbar animation if not final value." into main 2025-06-02 10:01:26 -07:00
Suhua Lei 3950b7e5bd Add spring animation for newly created desktop
spring into place from 40 dp offscreen:
expressive default spatial spring
    damping: 0.8,
    stiffness: 380

Bug: 399642211
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: create desktop and check animation
Change-Id: Ie15b4f58d394590ea24d72036a587111f1e6cf3b
2025-06-02 16:36:42 +00:00
Treehugger Robot 31ae5a7c6d Merge "Don't cap number of items in taskbar overflow" into main 2025-06-02 08:55:22 -07:00
Xiaoqian (Daisy) Dai ca247dd30b Merge "desktop_exploded_view: re-enable window activation functionality" into main 2025-06-02 08:48:28 -07:00
Uwais Ashraf a957e7b998 Change TTV splash and default background to transparent
Bug: 420543235
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TTV view-screenshot tests
Change-Id: I8f3065bc21290741a2b01bbed878850fecf5ac38
2025-06-02 05:28:08 -07:00
Ajinkya Chalke ac8433b8e6 Update alt+tab behaviour for projected mode
- When in projected mode and on primary device, only show apps that are
  on the primary device.
- When in projected mode and on CD, don't show apps that are on the
  primary device.

Test: m
Flag: com.android.launcher3.enable_alt_tab_kqs_flatenning
Fix: 420858769
Change-Id: Id5153f4f5ca3ea878283774d450764838bcd7228
2025-06-02 08:31:47 +00:00
Treehugger Robot d1bf60e380 Merge "Change ScalingWorkspaceRevealAnim to use SurfaceTransactionApplier." into main 2025-06-01 23:55:07 -07:00
Jordan Silva 9a1a97a26d Don't animate the TaskMenuView close transition.
The view is already fading out, animating its position out just adds more visual noise.
Enabling the animation here introduces has performance regression when selecting split or entering desktop mode.

Fix: 420798277
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Performance metric recovered. suite systemui-desktopmode-enter-2-jank-suite
Change-Id: Id0f0f7a61ef1492b06aa4780ba56186afb38ca75
2025-06-01 05:36:16 -07:00
Steven Ng d3c7533a55 Unregister all apps key gesture handler at AllAppsActionManager#onDestory
Bug: 406452076
Flag: com.android.window.flags.grant_manage_key_gestures_to_recents
Test: atest NexusLauncherTests:AllAppsActionManagerTest
Change-Id: Idec5ad32b190eff58c263d6c7696a9f218084f5a
2025-05-31 09:35:09 -07:00
Andy Wickham b8a471c0eb Fix workspace blur for non-user controlled animations.
In these cases, stateManager.getTargetState() reflects the state the
animation is going to, while getState() reflects user controlled state
transitions.

An example of this is the All Apps edu animation, which occurs when
you swipe up a few times on the navbar. In this case, the workspace
was not getting blurred because the depth controller didn't think it
was animating towards ALL_APPS.

Demo: https://drive.google.com/file/d/1fR_4dawE6je7Vkcs8InWZG4LcJShUJQA/view?usp=sharing&resourcekey=0-PYDMWlS9-sSbrYO0ATMNEg

Test: Manual (swipe up 3 times on navbar; spot check other state transitions)
Test: atest DepthControllerTest
Flag: com.android.launcher3.all_apps_blur
Fix: 421371766

I'm not sure if the following are fixed, but the symptom is similar.
Bug: 419036313
Bug: 420677002

Change-Id: I55d6d15afbb26169ff531dc1b8869d15ee84b100
2025-05-30 20:30:22 -07:00
mpodolian 7d00841d44 Updated shell IPC methods
Updated shell IPC methods to display bubble bar pillow view

Bug: 411505605
Test: TreeHugger
Flag: EXEMPT - code removal
Change-Id: I27d19c041433164c1a8cb5bb403a824903bf7dbf
2025-05-30 18:03:40 -07:00
Xiaoqian Dai a6022cc451 desktop_exploded_view: re-enable window activation functionality
Since the blocking issue b/420744057 is now fixed.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 420744057
Change-Id: I973adbcb8cdf4ce31ca80cce31a3dadded3717cd
2025-05-30 16:42:09 -07:00
Daniel Andersson 1da87916b2 Merge "desktop-exploded-view: Fix regression in quick switch" into main 2025-05-30 15:06:45 -07:00
Suhua Lei ee2f04baf9 Add Icon and Button Opacity Fade through for AddDesktopButton
Icon Opacity Fade through: 100 -> 0 (50 ms linear)
Button Opacity Fade through: 100 -> 0 (50 ms linear)

Bug: 399642211
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: click addDesktopButton
Change-Id: I9b4db285360dfc916e43912df3bb026e207efd25
2025-05-30 21:48:21 +00:00
Treehugger Robot bb41fe629a Merge "Make RecentTasksRepository dispayId aware" into main 2025-05-30 14:22:46 -07:00
Treehugger Robot e0a2abda93 Merge "Update Scrim values for blur" into main 2025-05-30 13:55:44 -07:00
Vinay Joglekar 7e38e8a089 Update Scrim values for blur
Set foreground color to ScrimView in overview. Added new state property
for foreground.

Fix: 412928191
Test: Go to overview
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: Id4180eaa5501dc11bf7331073edb28dca5c4a13a
2025-05-30 19:20:40 +01:00
Sebastian Franco 136295f62a Moving AllApps device profile variables to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I6490422d04f9f0aeaadf8271d4d11172f344660a
2025-05-30 09:56:01 -07:00
Treehugger Robot ec58354bf7 Merge "Remove obsolete TODO" into main 2025-05-30 08:44:21 -07:00
Will Osborn 4589acb53d Make RecentTasksRepository dispayId aware
Bug: 402365283
Flag: com.android.launcher3.enable_overview_on_connected_displays
Test: unit tests + local test on tablet + foldable
Change-Id: I379547e41029baedb95c67b4440f23adfb29b1ba
2025-05-30 15:40:06 +00:00
Treehugger Robot ca758f80a7 Merge "Do not reflow dismissed grid task is already in split select." into main 2025-05-30 04:00:20 -07:00