Commit Graph

15006 Commits

Author SHA1 Message Date
Schneider Victor-tulias
501df2edca Merge "Refactor BaseContainerInterface and subclasses to better support 3P and Recents in window" into main 2025-05-28 06:16:14 -07:00
Shamali Patwa
3b04cf3155 Merge "Extract widget picker intent extras in WidgetPickerActivity" into main 2025-05-27 20:09:52 -07:00
Simon (Qiong) Sun
be9eea8f23 Merge "Support multiple tasks per split screen via SplitRemoteTargetHandles" into main 2025-05-27 18:11:37 -07:00
Sebastián Franco
6488138490 Merge "Moving Overview variables to OverviewProfile class" into main 2025-05-27 18:01:38 -07:00
Shamali Patwa
021c13c172 Extract widget picker intent extras in WidgetPickerActivity
This change refactors activity to move base activity to launcher3

This is to prepare for using it for launching widget picker for
homescreen and use compose.

Bug: 408283627
Flag: EXEMPT independent module
Test: Manual
Change-Id: I271748fb73b3691ba4d046ac8aceb51c4c8aea55
2025-05-27 17:21:31 -07:00
Sebastian Franco
3bd77e2aae Moving Overview variables to OverviewProfile class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I01644a546a5ce867d1dced1521deb798d6fc3a19
2025-05-27 15:07:38 -07:00
Treehugger Robot
cbd27663e6 Merge "[owners] Remove sukeshram@google.com from quickstep/src/com/android/quickstep/OWNERS" into main 2025-05-27 13:20:03 -07:00
Schneider Victor-Tulias
4510a25fda Refactor BaseContainerInterface and subclasses to better support 3P and Recents in window
BaseContainerInterface.deferStartingActivity and BaseContainerInterface.shouldCancelCurrentGesture were methods that didn't need to be delegated down to LauncherActivityInterface. This delegation was excluding some crucial functionality from 3P launchers and recents in window.

This fixes the incorrect triggering of OtherActivityInputConsumer when using the taskbar and dragging taskbar icons to splitscreen. These fixes mainly affect the persistent taskbar

Flag: com.android.launcher3.enable_launcher_overview_in_window
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug: 377678992
Test: TaplTestsTaskbarSearch
Change-Id: I5f17c1868b0669ef6436d0c3aa36e6eaf8ce69ef
2025-05-27 13:16:47 -07:00
Treehugger Robot
97594d1e94 Merge "Unregister AbsSwipeUpHandler's ContextInitListener on launcher destroy" into main 2025-05-27 11:45:32 -07:00
Schneider Victor-Tulias
8f88cb272d Unregister AbsSwipeUpHandler's ContextInitListener on launcher destroy
- Unregister the init listener on launcher destroy to unblock the home button
- This also exposes a crash in AbsSwipeUpHandler.onRecentsAnimation start since the home bounds aren't available. So, also adding handling to reload the launcher on night mode change

Flag: EXEMPT bug fix
Fixes: 384423890
Fixes: 416536400
Test: changed dark theme then swiped/pressed home and overview buttons.
Change-Id: Ic26192e8d0e4e6b226fb9af6dba596aa78a09e96
2025-05-27 11:39:53 -07:00
Treehugger Robot
e70ea33de1 Merge "Make displaylib handler and coroutine scope singletons" into main 2025-05-27 10:37:42 -07:00
Owner Cleanup Bot
14793b51a8 [owners] Remove sukeshram@google.com from quickstep/src/com/android/quickstep/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.

Please approve this change and vote the highest CR. This will keep the
OWNERS file tidy. We ask that you do not ignore this change and either
approve it if the OWNER is no longer active or deny it if the OWNER is
continuing to review CLs (including under a different affiliation).
This CL can always be reverted if the understanding changes.

If this change is in error, vote the lowest CR value (i.e. reject the
CL) and the bot will abandon it.

See the owner's recent review activity for context:
https://googleplex-android-review.googlesource.com/q/sukeshram@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: Id0437de6d5a33c4988eee13d91fc0d197241a679
2025-05-27 10:15:35 -07:00
Xiaoqian (Daisy) Dai
d108ef020b Merge "desktop-exploded-view: Fix various values for Task windows in desktop tile." into main 2025-05-27 09:25:51 -07:00
Saumya Prakash
a272ff81ad Merge "Report lower insets for SUW if expressive theme enabled" into main 2025-05-27 08:57:52 -07:00
Will Osborn
ef04a08427 Make displaylib handler and coroutine scope singletons
Bug: 407205884
Test: locally tested
Flag: EXEMPT bugfix
Change-Id: Ic4d8fd429d0f647c8a4d6a3dcf5ec16fa8014455
2025-05-27 14:55:43 +00:00
Cosmin Băieș
6396824a0c Merge "Remove unused imeDownButton in taskbar" into main 2025-05-26 02:59:59 -07:00
Tony Wickham
84cd5182ba Merge "Migrate some logs to OverviewCommandHelperProtoLogProxy" into main 2025-05-23 22:44:08 -07:00
Treehugger Robot
d5b20e3940 Merge "Add recents animation start timeout handling to TaskAnimationManager" into main 2025-05-23 19:10:36 -07:00
Treehugger Robot
52608ce7cb Merge "pin-shortcut: Use unpin option for AllApps apps that are pinned" into main 2025-05-23 18:27:54 -07:00
Sebastián Franco
aeab3c0d79 Merge "Revert "Revert "Moving DeviceProfile properties into DevicePrope..."" into main 2025-05-23 17:03:18 -07:00
Treehugger Robot
1d9cb00059 Merge "Fix a crash on home with autostashed taskbar" into main 2025-05-23 16:56:18 -07:00
Wen-Chien Wang
9942721299 pin-shortcut: Use unpin option for AllApps apps that are pinned
For the apps in All apps view, if the app is already pinned in the
taskbar, we should show the unpin option for users to unpin it
instead of a pin option that is no-op.

Bug: 375648361
Bug: 418058610
Test: manual + TaskbarPopupControllerTest
Flag: com.android.window.flags.enable_pinning_app_with_context_menu
Change-Id: I770afcf3abd6cb08c574230d27c4cbcbb83b29a6
2025-05-23 23:00:30 +00:00
Xiaoqian (Daisy) Dai
a66268c9fc desktop-exploded-view: Fix various values for Task windows in desktop tile.
To match with the UX spec, this CL updates the insets based on the
number of tasks within a tile. It also sets a maximum height to the
task window when multiple apps are available.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: OrganizeDesktopTasksUseCaseTest
Bug: 414614454
Change-Id: Icfecc1e41dfd0b95bae10b495adae95fe10dfef2
2025-05-23 14:09:05 -07:00
Sebastián Franco
e1d31e5406 Revert "Revert "Moving DeviceProfile properties into DevicePrope..."
Revert submission 33716851-revert-33672643-DataDeviceProfile1-XHYRAPLEBK

Reason for revert: Error is fixed

Reverted changes: /q/submissionid:33716851-revert-33672643-DataDeviceProfile1-XHYRAPLEBK

Change-Id: Ib86824134955903c11e51e52dbfd6368aba1cd50
2025-05-23 14:08:11 -07:00
Priyanka Advani (xWF)
1bec329180 Merge "Revert "Moving DeviceProfile properties into DeviceProperties da..."" into main 2025-05-23 14:03:53 -07:00
Priyanka Advani (xWF)
7705e92d93 Revert "Moving DeviceProfile properties into DeviceProperties da..."
Revert submission 33672643-DataDeviceProfile1

Reason for revert: Droidmonitor created revert due to b/419867875. Will be verifying through ABTD before submission.

Fix: 419867875

Reverted changes: /q/submissionid:33672643-DataDeviceProfile1

Change-Id: Icb66aefbbcee24e05806b2139923e1f2ea1c65e3
2025-05-23 13:53:04 -07:00
Treehugger Robot
becba58cff Merge "Use expressive dismiss for clear all." into main 2025-05-23 13:43:53 -07:00
Sebastián Franco
b80423b1b7 Merge "Moving DeviceProfile properties into DeviceProperties data class" into main 2025-05-23 13:17:32 -07:00
Saumya Prakash
7adea11bfa Report lower insets for SUW if expressive theme enabled
This change addresses the desire to lower the footer for SUW content if
the expressive theme is enabled in SUW. This would remove the extra gap
at the bottom of the screen.

Fix: 409897759
Test: Enable expressive theme and relaunch SUW. Check that the bottom
buttons are closer to the bottom edge of the screen.
Flag: EXEMPT bugfix

Change-Id: I7a4961549ec888e57c89a564028843f1e8c0000b
2025-05-23 20:06:14 +00:00
Li Lin
9f40588951 Merge "Add a auto hide flag for Growth Framework nudge." into main 2025-05-23 10:44:24 -07:00
Sebastian Franco
e1111e28c2 Moving DeviceProfile properties into DeviceProperties data class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I638f88cd76b926917965dbf9e70b5bdfff5971e0
2025-05-23 10:42:26 -07:00
Toni Barzic
bfe4503e9e Fix a crash on home with autostashed taskbar
Check whether autostash is disabled after init due to dependency on
destkop mode controller when taskbar is shown on home with
enable_desktop_taskbar_on_freeform_displays flag disabled.

Bug: 419824639
Test: see repro steps in the linked bug
Flag: EXEMPT bugfix
Change-Id: I53a1f00cef705f291c5e79c32d6508c5d832d45e
2025-05-23 16:50:00 +00:00
Treehugger Robot
2a4ad7f8a1 Merge "Share buttons change" into main 2025-05-23 08:47:09 -07:00
Treehugger Robot
f8b3677c45 Merge "Don't launch a coroutine job if no jobs to cancel" into main 2025-05-23 06:44:33 -07:00
Helen Cheuk
73661fda2e Merge "[Action Corner] Add padding between action corner and taskbar" into main 2025-05-23 06:35:28 -07:00
Pat Manning
8cb1be9873 Use expressive dismiss for clear all.
Fix: 416446763
Test: TaplTestsQuickstep
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I6781e54901aa33d5f206fcb601cac76e99eee84f
2025-05-23 14:17:23 +01:00
Uwais Ashraf
7d640afaba Don't launch a coroutine job if no jobs to cancel
Flag: com.android.launcher3.enable_coroutine_threading_improvements
Bug: 417598777
Test: Presubmits
Change-Id: I474e3e12faf2886b593571e9625a1d16df742c0d
2025-05-23 10:50:38 +00:00
Vinay Joglekar
0b87a41376 Share buttons change
Update Share Button and Share Targets to support Blur background

Fix: 408439461
Test: Open chrome with a webpage, tap on smart chip
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: If9290676377a3a48a94800ac3084c52146b0c9ae
2025-05-23 09:48:40 +01:00
Treehugger Robot
1521df031c Merge "Remove RenderEffect on blur targets when no blur is desired." into main 2025-05-22 17:37:27 -07:00
Sebastián Franco
957fac9f54 Merge "Prevent recents rotation animation if we are in Fixed Landscape" into main 2025-05-22 15:08:11 -07:00
Pierre Barbier de Reuille
06ed9c93d4 Merge "Use the developer-option flag for pin to taskbar" into main 2025-05-22 15:01:03 -07:00
Sebastian Franco
376d628859 Prevent recents rotation animation if we are in Fixed Landscape
When in this mode we can let the system rotate the device. In other
cases we have a fake rotation and so we need to manually rotate.

Fix: 401484242
Flag: com.android.launcher3.one_grid_specs
Test: Manual testing
Change-Id: I74e5cb0363a34edb69b39f9a387b9020116d5632
2025-05-22 11:46:57 -07:00
Pat Manning
7207047000 Speed up dismiss springs on subsequent touches while blocking touch.
- This allows users to dimiss multiple apps as quickly as they want.
- Do not reset task dismiss translation if it is actively being dragged.

Fix: 409485085
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I939ef402ee23b3b1e8df1ae214c5ac60386a7772
2025-05-22 16:54:20 +01:00
helen cheuk
6e5225bd77 [Action Corner] Add padding between action corner and taskbar
This is to avoid triggering unstashing taskbar and action corner at the same time.
A padding is added between the two areas.

Bug: 411091884
Test: TaplTestsTransientTaskbar
Flag: com.android.systemui.shared.cursor_hot_corner

Change-Id: I4e380a3d004977c96502af23f6126f22749e0a8f
2025-05-22 12:23:34 +00:00
Pierre Barbier de Reuille
b8c5350c07 Use the developer-option flag for pin to taskbar
Test: Manual
Flag: com.android.window.flags.enable_pinning_app_with_context_menu
Bug: 375648361
Change-Id: I2c26ae6a5f42fd01860d7534b86ff5ca11e7f7fc
2025-05-22 03:29:34 -07:00
Lucas Dupin
66923a912c Merge "Add recents position callback to SystemUiProxy" into main 2025-05-21 23:11:59 -07:00
Treehugger Robot
51291ec848 Merge "Create the RemoteTargetGluer based on the GroupedTaskInfo" into main 2025-05-21 22:57:56 -07:00
Tony Wickham
e9ef7ad43c Migrate some logs to OverviewCommandHelperProtoLogProxy
This will allow us to see the logs in Winscope, including frame by
frame to make debugging easier.

Also added a log for Launcher#onNewIntent to help with Home button.

Test: EXEMPT log only update
Bug: 417248321
Bug: 384423890
Flag: NONE log only update
Change-Id: Ib24aeb78e44ff29542eb25411c51f77dba299a2e
2025-05-21 15:32:03 -07:00
Andy Wickham
492a170aaf Remove RenderEffect on blur targets when no blur is desired.
This change replaces 0 blur radius RenderEffect with null RenderEffect
when no blur is needed. This is because even a 0 radius RenderEffect
forces the targets to be rendered on a separate layer, which clips to
the view bounds (overriding clipChildren="false") and likely creates
a hit to performance.

Demo: https://drive.google.com/file/d/1fuFP_yaqU2KSd28aUhpuopQg6KlMKv_w/view?usp=sharing&resourcekey=0-GWMy5kKhYVo-5u69XTzihQ

Fix: 413784556
Bug: 413359333
Bug: 416815515
Test: enable all apps blur, enter spring loaded from All Apps and home
Flag: com.android.launcher3.all_apps_blur
Change-Id: I85b0ef6c8556866821679f2f02adb4938c6431d1
2025-05-21 15:27:44 -07:00
Jordan Silva
3d348a0d27 Add focus border animation to IconAppChipView
Fix: 366177160
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using Keyboard. Access the app chip via TAB and navigate through the task menu.
Test: Manual using Mouse. Hover over the Chip and the Task Menu.
Change-Id: I785ad8723e5255186d744a20992ac0cd0968b380
2025-05-21 14:20:49 -07:00