Commit Graph

15084 Commits

Author SHA1 Message Date
Mykola Podolian 431ca06065 Merge "Updated shell IPC methods" into main 2025-06-03 08:50:24 -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
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
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
Treehugger Robot 45e5c8a215 Merge "desktop-exploded-view: Expand touch area for the task header close button" into main 2025-05-29 21:17:04 -07:00
Mykola Podolian abe7f12791 Merge "Notify Taskbar and Navigation bar of the bubble bar location updates." into main 2025-05-29 21:12:21 -07:00
Mykola Podolian bd997ba791 Merge "Notify taskbar and nav bar of bubble bar location updates." into main 2025-05-29 21:12:09 -07:00
Andy Wickham 84d21e722c Change ScalingWorkspaceRevealAnim to use SurfaceTransactionApplier.
This avoids main-thread binder calls previously incurred when directly
using SurfaceControl.Transaction#apply() for blur updates.

SurfaceTransactionApplier instead synchronizes the transactions on the
RenderThread.

Bug: 420699363
Test: Additional forrest performance tests such as
systemui-splitscreen-3-jank-suite.
Flag: com.android.launcher3.enable_scaling_reveal_home_animation
Change-Id: I2a775ad0db8361af934a557749c9c9ca8d2e106a
2025-05-29 19:49:08 -07:00
Mykola Podolian 53c3354ffa Merge "Moved DragZoneChangeListener logic to the shared package." into main 2025-05-29 17:32:17 -07:00
Sebastián Franco 1eafc57416 Merge "Moving taskbar variables in DeviceProfile to their own class" into main 2025-05-29 17:29:34 -07:00
mpodolian 6f82248053 Notify taskbar and nav bar of bubble bar location updates.
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
2025-05-29 15:54:05 -07:00
Daniel Andersson fc9044576e desktop-exploded-view: Fix regression in quick switch
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
2025-05-29 15:47:21 -07:00
mpodolian 9310212582 Notify Taskbar and Navigation bar of the bubble bar location updates.
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
2025-05-29 15:35:02 -07:00
Toni Barzic 229bbf059c Don't cap number of items in taskbar overflow
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
2025-05-29 22:14:44 +00:00
Xiaoqian (Daisy) Dai 05fa101519 desktop-exploded-view: Expand touch area for the task header close button
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
2025-05-29 19:18:40 +00:00
Sam Cackett f0e152333f Merge "Hide share UI when leaving Overview" into main 2025-05-29 12:12:58 -07:00
Sam Cackett b7807f2bb8 Hide share UI when leaving Overview
Fix: 418960769
Flag: EXEMPT. Bugfix
Test: OverviewActionsControllerTest & Manual
Change-Id: I8bbda20350a933a0e9f501b9a521b96543cb3b78
2025-05-29 12:11:21 -07:00
Jon Miranda e674c4f382 Update taskbar icon alpha in pinned taskbar animation if not final value.
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
2025-05-29 12:01:41 -07:00
Xiaoqian (Daisy) Dai f753781b3c Merge "desktop-exploded-view: clean up 'remoteTargetHandles`" into main 2025-05-29 11:09:55 -07:00
Sebastian Franco 8244449a9f Moving taskbar variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I05ec9e15ef02096326596af4835adb706473a736
2025-05-29 11:04:06 -07:00
Jagrut Desai 2cb88061e4 Merge "Fix Settting Cache NPE" into main 2025-05-29 09:44:39 -07:00
Treehugger Robot 3893804a59 Merge "Moving hotseat variables in DeviceProfile to their own class" into main 2025-05-29 09:01:51 -07:00
Ebru Kurnaz 0fe7cca416 Merge "Use DesktopExperienceFlags for sys decor in launcher." into main 2025-05-29 08:29:08 -07:00
Ajinkya Chalke 4be13eb311 Remove obsolete TODO
- 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
2025-05-29 08:01:51 -07:00
Pat Manning 14b76f7867 Do not reflow dismissed grid task is already in split select.
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
2025-05-29 14:49:55 +01:00
Uwais Ashraf 478f07798e Moving hotseat variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I377b33668c3ed330d362527f62226dd84a5773db
2025-05-29 13:16:05 +00:00