Commit Graph

20718 Commits

Author SHA1 Message Date
Tony Wickham
4ad57959d6 Merge "End icon alignment early when touching down during 3 button anim to home" into main 2024-11-18 18:53:55 +00:00
Jeremy Sim
ec788cb24d Merge "Migrate away from listening for main/side specific stage types" into main 2024-11-18 18:41:38 +00:00
Vinay Joglekar
c656c3807c Merge "Fix Blank task thumbnails during animation in following scenarios" into main 2024-11-18 18:01:17 +00:00
vinayjoglekar
f01ead4eb1 Fix Blank task thumbnails during animation in following scenarios
1. During split
2. During dismiss

We need to expand window of visible task data, we use dismissTranslation property to increase window.

Fix: 376409147
Flag: EXEMPT bugfix
Test: Manual: Dismiss desktop when have focus task as well as small tiles, split from far away with multiple desktops
Change-Id: I0102f8927e70a37ffe4db18adefd33eb7a823981
2024-11-18 13:56:26 +00:00
Johannes Gallmann
2760536a3b Merge "Fix window clipped in three-button-nav on phone factors" into main 2024-11-18 08:19:17 +00:00
Jagrut Desai
15d689df48 Merge "DesktopMode Entry/Exit Signals" into main 2024-11-16 19:44:36 +00:00
Vinit Nayak
49282f8ecc Migrate away from listening for main/side specific stage types
Bug: 349828130
Flag: com.android.wm.shell.enable_flexible_split
Test: Manual, incremental change, not stable yet.
Works fine with flag off

Change-Id: Ief1a41fb9f32cd99266f0ac73b17d5676ead042a
2024-11-15 23:57:46 +00:00
Jon Miranda
ec111e24e5 Check if all apps are translucent when finishing recents animation.
If true, then launcher will be finished at the end of the animation.
This fixes the issue where taskbar will stash in overview because
we assumed the app was fully opaque.

Bug: 354627538
Test: open app, go to overview, tap icon, pause app, note no issue
Flag: EXEMPT bugfix
Change-Id: Id51e0d9f63c9615127e27455f7edf171381c2011
2024-11-15 23:47:48 +00:00
Jagrut Desai
a9095ca0c8 Merge "Fix launching app animation from launcher all apps." into main 2024-11-15 22:43:39 +00:00
Tony Wickham
5903216275 End icon alignment early when touching down during 3 button anim to home
This will allow Hotseat to handle the touch during the transition.

Test: manually touch Hotseat in pinned/transient/3-button taskbar during
the transition to home, ensure Hotseat handles it in all cases
Flag: EXEMPT bug fix
Fixes: 368419997

Change-Id: I3d998876ed4d8423bdb4fd48fa0d55f719da8d01
2024-11-15 22:17:50 +00:00
Saumya Prakash
52866fc596 Merge "Add Manage Windows option to Taskbar long press menu" into main 2024-11-15 08:57:49 +00:00
Saumya Prakash
dbaf1028db Add Manage Windows option to Taskbar long press menu
This change adds an option to the long press menu on Taskbar apps to
view open instances of the calling apps. It will only show on apps that
support multi instance (ex. Chrome).

Bug: 315989246
Test: Manual
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar
Change-Id: Ie1e001c4cec831c751bcbf448aaa68bb90fb24ca
2024-11-15 06:34:28 +00:00
Jagrut Desai
b03d9393ce Merge "Fix TaskbarAllApps and TaskbarDivider contianer talkback annoucement" into main 2024-11-15 00:05:43 +00:00
Jagrut Desai
8a9e7a1dfd Merge "Fix 3-button Navigation Switch Access Long press" into main 2024-11-15 00:05:08 +00:00
Jagrut Desai
596594c684 Fix launching app animation from launcher all apps.
This cl includes
	- making pinned taskbar animate slide in/out animation from bottom of screen.
        - no icon aligment with hotseat when taksbar is pinned

The solution
	- upon state change applied on TaskbarLauncherStateController. offset taskbar background and icons to bottom of screeen and animate with slide in/out effects.

Test: manual, presubmit
Bug: 314279101
Flag: EXEMPT bugfix

Change-Id: Ife336ebd57eb2f60c2bc33ed6a4527c42111808f
2024-11-14 15:51:50 -08:00
Treehugger Robot
90c4e9e62b Merge "Fix hotseat layout on device rotation." into main 2024-11-14 22:10:32 +00:00
Jagrut Desai
1ba1f7282b Fix TaskbarAllApps and TaskbarDivider contianer talkback annoucement
This cl includes
	- setting content description on new taskbar containers for all apps and divider line, so their announcement is clear to user and not unlabelled.

Test: Manual
Bug: 378855202
Bug: 378845796
Flag: EXEMPT bugfix
Change-Id: I4650d1960a6208189b08b16ff541b2af3ed94cb3
2024-11-14 14:00:57 -08:00
William Leshner
5d438685eb Merge "Fix permission issue with START_WIDGET_PICKER_ACTIVITY" into main 2024-11-14 20:34:16 +00:00
Jagrut Desai
a9b502b464 DesktopMode Entry/Exit Signals
This cl includes
	- adding callback support for entering/exiting DesktopMode on launcher side.

Test: Presubmit
Bug: 343882478
Flag: com.android.window.flags.enable_desktop_windowing_mode
Change-Id: Ib86746e6cca42dcdbb181d5323715a24c722f004
2024-11-14 12:02:13 -08:00
Schneider Victor-tulias
a8dd1a90df Merge "Update RecentsWindowSwipeHandler to animate home->overview properly" into main 2024-11-14 19:44:13 +00:00
Jagrut Desai
48793e1fcd Fix 3-button Navigation Switch Access Long press
This cl includes
 - Make long press of back navigation button of 3 button navigation mode behave just like short press.

Test: Manual
Bug: 315723734
Flag: EXEMPT bugfix
Change-Id: Id897c84dcb33f73174ea907c5ab5655d2ac5ba10
2024-11-14 11:27:14 -08:00
Treehugger Robot
1297e9eb98 Merge "Change fallback closing animators for Desktop Mode." into main 2024-11-14 18:23:01 +00:00
Liana Kazanova (xWF)
94f4f1bcf3 Merge "Revert "Listen to LauncherUserInfo config changes and hide/unhid..."" into main 2024-11-14 17:27:31 +00:00
Gustav Sennton
8e4cae1258 Change fallback closing animators for Desktop Mode.
The main changes are:
1. the amount to move the window horizontally (much less for Desktop
Mode), and
2. the timing for when the alpha animation is applied - we remove the
   25ms delay for freeform windows.

Bug: 378675987
Test: manual
Flag: com.android.window.flags.enable_desktop_windowing_exit_transitions
Change-Id: Ieeb6b827eee2e6314ea9c79213cdf401f48d3c85
2024-11-14 16:26:07 +00:00
Treehugger Robot
55c2aca78e Merge "Updates layout when overflow button and alt-tab are both triggered." into main 2024-11-14 16:13:54 +00:00
Pechetty Sravani (xWF)
41743bd0c7 Revert "Listen to LauncherUserInfo config changes and hide/unhid..."
Revert submission 29352757-update-usericoninfo

Reason for revert: <DroidMonitor created revert due to b/379000263. Will be verified through ABTD for standard investigation.>

Reverted changes: /q/submissionid:29352757-update-usericoninfo

Change-Id: I751536274ec9dcc4047bf9c76b3a5cab258da6e4
2024-11-14 06:11:15 +00:00
mpodolian
b563271ff5 Fix hotseat layout on device rotation.
When rotating the device, a few issues were causing improper hotseat
layout:

- BubbleBarController receives an initial configuration before the UI
controller is set.
- The updated device profile, including the correct `isQsbInline` value,
arrives after all controllers are recreated, and the UI controller is
not informed of the device profile update.

Added logic to carry over the bubble bar bubble visibility state to the
new UI controller. Included a call to notify the UI controller of the
device profile update.

Fixes: 378400160
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Have a Tangor device in landscape orientation with the
bubble bar. Rotate the device - observe hotseat and QSB are reduced in
width. Dismiss the bubble bar - observe hotseat and QSB extends to the
full width.
video: http://recall/-/gx8ASgewUeUS3QYohfrd1J/e8e1ZFRQlbHQtUlCXVJbFJ

Change-Id: If180b01c8cdb329cd45d084af63a986c08cf65a1
2024-11-13 17:41:17 -08:00
Olivier Nshimiye
0b2cb4961c Merge "Listen to LauncherUserInfo config changes and hide/unhide private space entrypoint accordingly" into main 2024-11-14 00:03:34 +00:00
Treehugger Robot
85f34826f1 Merge "4b/ Migrate TopTaskTracker to use visible running tasks from Shell" into main 2024-11-13 23:47:27 +00:00
Treehugger Robot
8a0d3fd363 Merge "Test KQS gets dismissed in certain situations" into main 2024-11-13 23:26:46 +00:00
Olivier Nshimiye
39dee43e12 Listen to LauncherUserInfo config changes and hide/unhide private space
entrypoint accordingly

Flag: android.multiuser.add_launcher_user_config

Bug: 346553745
Test: Manual - verified on device
Test: atest LauncherAppsTests

Change-Id: I202c4c76af4f96d5b3226daffcfebc2f9b9703b1
2024-11-13 21:35:05 +00:00
Toni Barzic
121f6880dd Test KQS gets dismissed in certain situations
Adds tests that verify the KQS gets properly dismissed when user swipes
home while Keyboard Quick Switch UI is shown.

Bug: None

Test: atest TaplTestsKeyboardQuickSwitch
Flag: EXEMPT tests
Change-Id: I6da053f297eedb297c0d40a7414883fbd69b94e5
2024-11-13 21:28:21 +00:00
Brandon Dayauon
1d9b09c2e8 Merge "Update height of predictionRow + 4dp to be aligned with NL app suggestions height." into main 2024-11-13 21:00:45 +00:00
Wen-Chien Wang
ca95004403 Updates layout when overflow button and alt-tab are both triggered.
Before this cl, the KQS view is closed and reopened when the
overflow button and alt-tab key are triggered one after the other.
This cl changes the behavior so that instead of reopening, the
list of task is updated and the KQS container layout is toggled
between "wrap content" and "match parent".

Bug: 368119679
Test: open KQS via taskbar and observe the layout change
Flag: com.android.launcher3.taskbar_overflow
Change-Id: I05ea4c66727daa206ff1d7906500dc8f9cc81982
2024-11-13 20:48:07 +00:00
Treehugger Robot
6f10fb57a4 Merge "Fix test failures in AbsSwipeUpHandlerTestCase" into main 2024-11-13 20:46:09 +00:00
Artsiom Mitrokhin
f0b80dadb2 Merge "Implement app icons <-> leave behind animation" into main 2024-11-13 19:42:54 +00:00
Treehugger Robot
a8440279bf Merge "Account for bubble bar bounds for taskbar overflow" into main 2024-11-13 19:23:22 +00:00
Schneider Victor-Tulias
e7e752e011 Fix test failures in AbsSwipeUpHandlerTestCase
AbsSwipeUpHandlerTestCase caused test failures when running locally on device.

Flag: EXEMPT testing fix
Bug: 371020209
Test: AbsSwipeUpHandlerTestCase
Change-Id: I7b47b5642223e81c6bb9991a7ff271ba8ffff0ba
2024-11-13 13:23:29 -05:00
Schneider Victor-Tulias
8451f0fb1e Update RecentsWindowSwipeHandler to animate home->overview properly
Update RecentsWindowSwipeHandler to animate home alpha properly

Flag: com.android.launcher3.enable_fallback_overview_in_window
Fixes: 366022874
Test: Attempted gesture from home and launched app

Change-Id: Idf4ed071a843a129f1d39caa59e468f6c88e9e38
2024-11-13 13:12:09 -05:00
Liran Binyamin
12d34f8e2a Merge "Make the flyout color animation smooth" into main 2024-11-13 16:14:07 +00:00
Treehugger Robot
be17fb8a63 Merge "Revert "Fix jank resulting from TaskView resizing"" into main 2024-11-13 12:25:45 +00:00
Vinay Joglekar
d23234576d Merge "Fix NPE when user goes into maps navigation mode and tries to split app." into main 2024-11-13 12:05:46 +00:00
Alex Chau
17d81a3611 Revert "Fix jank resulting from TaskView resizing"
This reverts commit 5a01f588be.

Reason for revert: We don't want this behavior anymore

Bug: 343882478
Fix: 373319262
Change-Id: I7b16a229cbe303191591ff695f78a2acb831a3e8
2024-11-13 10:43:15 +00:00
Winson Chung
dde53a10e3 4b/ Migrate TopTaskTracker to use visible running tasks from Shell
- When enable_shell_top_task_tracking is enabled, use the shell
  provided signals to keep an up-to-date running (visible) task list
  on the Launcher side, instead of managing the list via to-front
  signals from Core via TaskStackListener.  In doing so, we also
  update CachedTaskInfo to use this visible task list in preparation
  for future refactoring to use the GroupedTaskInfos directly instead.

Bug: 346588978
Flag: EXEMPT adding new flag enable_shell_top_task_tracking
Test: Build SystemUI & Launcher
Test: atest WMShellUnitTests
Change-Id: I16d515243760a17258a727e2502e35387da87589
2024-11-13 07:05:43 +00:00
Mykola Podolian
40cb4bf335 Merge "Fixed bubble bar size for the 3 buttons navigation mode." into main 2024-11-13 00:25:36 +00:00
Schneider Victor-tulias
2e8707dffb Merge "Add debug logs to TaplStartLauncherViaGestureTests" into main 2024-11-12 20:34:46 +00:00
Will Leshner
0b01bf4117 Fix permission issue with START_WIDGET_PICKER_ACTIVITY
The permission for starting the widget picker activity didn't match its
declaration, making it orphaned. Any other package/app could then spoof
the permission and start the activity.

Bug: 365082993
Test: Manually by creating an app that attempts to spoof the permission
and testing that it was not able to show the activity.
Flag: EXEMPT bugfix

Change-Id: I1af4bc68329a30eb8d6a92c944f6c84b4992107a
2024-11-12 12:24:05 -08:00
vinayjoglekar
4c3471ff44 Fix NPE when user goes into maps navigation mode and tries to split app.
OnDestroy is called in this scenario and mContainer is set to null. When I added this code I assumed this will be non null always.

Test: Manual : open maps->start navigation-> overview->split
Fix: 376409147
Flag: EXEMPT bugfix
Change-Id: I96a47b24beb5b3d343aae0e715c0b3efabdebe08
2024-11-12 20:06:29 +00:00
Artsiom Mitrokhin
d370b4d5f4 Implement app icons <-> leave behind animation
Bug: 376281549
Flag: com.android.launcher3.taskbar_overflow
Test: manual, press the overflow button, dismiss KQS
Change-Id: Ifae1455785d028f58072068f25e52a5e58ed1c72
2024-11-12 14:56:21 -05:00
Brandon Dayauon
1c7122ff9a Update height of predictionRow + 4dp to be aligned with NL app suggestions height.
spec: https://screenshot.googleplex.com/9VsQXxmsuZvoj7Y
Add 4dp to the existing height when using two lines. Need to do this for prediction row as well so that
animation is smooth and doesn't show jumpiness.

bug: 378472318
Test: photos:
before: https://screenshot.googleplex.com/7F8FNdnrngpuSUe
after: https://screenshot.googleplex.com/63vttsfptSqwE7c
Flag: NONE increasing height
Change-Id: I2076160efe3596cc8673d32b5066ec2103f71eb0
2024-11-12 11:30:01 -08:00