Commit Graph

22243 Commits

Author SHA1 Message Date
Saumya Prakash b2e46eafc8 Don't translate the back button if home button is showing for lockscreen
The back button would get translated to the edge of the screen in
lockscreen apps. This was fine but now that the home button is shown in
these apps, they would overlap. This change prevents the back button
from translating to the edge of the screen when the home button is shown
in certain screens when the device is locked.

Fix: 406104663
Test: Enable 3 button nav and open lock screen apps/ emergency page on
large screen device. Observe that the buttons don't overlap anymore.
Flag: EXEMPT bugfix

Change-Id: Ibb963c1a62de80a990f223797d37a0a5ee294a90
2025-04-04 17:34:34 +00:00
Treehugger Robot 706a5e0626 Merge "Fix missing icon menu content for desk" into main 2025-03-27 12:25:18 -07:00
Charlie Anderson 4be299ec97 Merge "Make sure predicted app ring path gets updated with latest shape" into main 2025-03-27 11:45:10 -07:00
Treehugger Robot b3a5b7c8e4 Merge "Revert^2 "Simplifying model testing rules"" into main 2025-03-27 10:11:38 -07:00
Suhua Lei 0e7b86dbe3 Fix missing icon menu content for desk
Bug: 406073558
Flag: com.android.launcher3.enable_overview_icon_menu
Test: manully create desks

Change-Id: I852042db1fce5996717f6bce796d44fd4b1af42c
2025-03-27 16:59:54 +00:00
Winson Chung cfe7494b67 Merge "Extend logic to clear visibility of occluded tasks in top task tracker" into main 2025-03-27 08:59:52 -07:00
Pat Manning 9e8341ac2c Run expressive dismiss on closing task from menu.
Add default spring methods for running dismiss on a task.

Fix: 404206966
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ic7c5b82d6b504a31193ba85b0c79dd89be344c22
2025-03-27 08:33:28 -07:00
Bill Yi 322c5f9e37 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-27 07:52:07 -07:00
Treehugger Robot 1431d1a211 Merge "Prevent initializing DWB Toast if it's already destroyed" into main 2025-03-27 07:05:18 -07:00
Charlie Anderson 91f881ed7b Merge "Add metrics logging for selected icon shape" into main 2025-03-27 06:35:40 -07:00
Jordan Silva 8356752a67 Prevent initializing DWB Toast if it's already destroyed
Fix: 406168165
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Change-Id: I66328917a9b75cd54549616e547acca698015ae4
2025-03-27 05:01:23 -07:00
Will Osborn 58dd096ce4 Merge "Fix for applyLoadPlan being called after RecentsView is destroyed." into main 2025-03-27 04:46:40 -07:00
Treehugger Robot 749927c88e Merge "Move querying focus display to TIS" into main 2025-03-27 04:14:02 -07:00
Sunny Goyal 3b307455a0 Revert^2 "Simplifying model testing rules"
35b6d322ab

Change-Id: I3ed574a517dbe350b6dfe5b1d3ed198203d22f44
2025-03-26 23:08:55 -07:00
Treehugger Robot b932dea54e Merge "Implement spring animations for running state changes." into main 2025-03-26 21:06:14 -07:00
Charlie Anderson 9a92108984 Make sure predicted app ring path gets updated with latest shape
- fixes issue where transient taskbar uses wrong predicted app shape

Bug: 388255881
Test: changing shapes and unstashing taskbar
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: Ibdc54e4df5fd4f85ed62b5a8179dba044850cbbc
2025-03-26 23:54:55 -04:00
Treehugger Robot d46249c412 Merge "Update Launcher UI when model changes are made outside of Launcher UI" into main 2025-03-26 20:35:30 -07:00
Charlie Anderson a8b5c62382 Add metrics logging for selected icon shape
Bug: 400696362
Test: N/A
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: Ibe85fad20ec35bc49dc8e76e3dbf402d31810d21
2025-03-26 20:08:48 -07:00
Sunny Goyal 6e12b811a0 Merge "Revert "Simplifying model testing rules"" into main 2025-03-26 16:37:45 -07:00
Priyanka Advani (xWF) 35b6d322ab Revert "Simplifying model testing rules"
Revert submission 32704934-model-test-cleanup

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

Reverted changes: /q/submissionid:32704934-model-test-cleanup

Change-Id: Ieeb7f5b5699afeae27f946f060147bb68afc36e5
2025-03-26 16:12:16 -07:00
Treehugger Robot 0219df0770 Merge "Simplifying model testing rules" into main 2025-03-26 15:10:44 -07:00
Sunny Goyal ca1f87d8f5 Update Launcher UI when model changes are made outside of Launcher UI
Bug: 305877212
Flag: EXEMPT bugfix
Test: Verified manually by modifing folder in taskbar
Change-Id: I513dcfbc9e4ffcd970766ce8352815571e576461
2025-03-26 13:52:53 -07:00
Min Chen 12fafb2469 Merge changes from topic "empty-desk" into main
* changes:
  Remove wallpaper task and tasks below from `getCachedTopTask`
  Handling for an empty desk
2025-03-26 13:02:49 -07:00
Treehugger Robot f40ab3e250 Merge "Migrate DesktopVisibilityListener from RecentsView to RecentsViewUtils" into main 2025-03-26 13:00:29 -07:00
Treehugger Robot f271fb049d Merge "Run dismiss immediately if no neighbors exist." into main 2025-03-26 12:11:39 -07:00
Sunny Goyal cb84230913 Simplifying model testing rules
> Using Sandbox application everywhere to avoid test leaks
> Removing LauncherModelHelper and moving some utility methods to rules and extensions

Bug: 406521480
Flag: EXEMPT test only
Test: Presubmit

Change-Id: I17bd5ec2bdb0fc0cbe02be9c8ee76595effe3f11
2025-03-26 11:34:15 -07:00
Treehugger Robot 4d9ced3c59 Merge "Use a specific dimension for the overview app chip menu bottom margin" into main 2025-03-26 11:31:16 -07:00
Pat Manning 8216005fd0 Run dismiss immediately if no neighbors exist.
Previously was still relying on spring driver to end, even if driving no neighbors.

Update live tile before canceling animation to bring task off screen, or else it may still show at the top of the screen.

Fix: 405364868
Test: Manual
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ic9a1b4ba9aaf1ec3830e49bf15573388a6d7a2ad
2025-03-26 10:45:22 -07:00
Suhua Lei c23e0bdee9 Migrate DesktopVisibilityListener from RecentsView to RecentsViewUtils
Bug: 401002178
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manually add and remove desks
Change-Id: I7a7b8b67eb2f84a83cef6fdd7d728967ab6a7c20
2025-03-26 17:40:45 +00:00
Alex Chau 66ac9dc459 Merge "Revert "Remove unnecessary call to RecentsView.reset when switching from any non-overview state."" into main 2025-03-26 10:22:42 -07:00
Jon Miranda 333a9bd983 Merge "Prevent NPE when syncing app launch with taskbar stash." into main 2025-03-26 10:21:58 -07:00
Treehugger Robot 5b280a12f6 Merge "Update fonts in gesture nav tutorial menu page" into main 2025-03-26 10:17:44 -07:00
Jordan Silva 8134ad2b53 Use a specific dimension for the overview app chip menu bottom margin
Fix: 401476868
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewMenuImageTest
Test: OverviewSplitTaskImageTest
Change-Id: Id6932958bd694f28fdad4004946106a28f726cb2
2025-03-26 09:12:54 -07:00
Daniel Andersson 6db50866de Merge "desktop-exploded-view: Fix glitch with thumbnailView.outlineBounds" into main 2025-03-26 09:05:37 -07:00
Jagrut Desai 7a6b2a39f6 Merge "Fix Taskbar Flicker with Recents or Running Apps Present" into main 2025-03-26 08:59:05 -07:00
Jordan Silva 41992efa95 Merge "Center Task Menu icons and text vertically" into main 2025-03-26 08:40:16 -07:00
Jordan Silva ec18b825e4 Merge "Adjust IconAppChipView chip width based on state" into main 2025-03-26 08:36:26 -07:00
Alex Chau fc5a07e40b Revert "Remove unnecessary call to RecentsView.reset when switching from any non-overview state."
This reverts commit 162a85e777.

Reason for revert: b/406430367

Change-Id: I1be60513d8f034d6aab9489a95f98a7a0f16d26d
2025-03-26 07:41:36 -07:00
Shamali Patwa a8455409f6 Merge changes from topic "dwb-refactor-data" into main
* changes:
  Add a useCase to get the remaining app time rounded down to minutes
  Add a repository to fetch the remaining time for DWB
2025-03-26 06:02:52 -07:00
Will Osborn 347aff1a5d Fix for applyLoadPlan being called after RecentsView is destroyed.
Bug: 404920951
Test: locally tested on Tangor
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: I82bf6033df70c1122d88bba2ef226cc6b7b8623a
2025-03-26 12:48:29 +00:00
Jordan Silva 20dd848b29 Center Task Menu icons and text vertically
Bug: 403193877
Flag: EXEMPT bug fix
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Test: OverviewMenuImageTest
Test: OverviewActionsMenuHoverImageTest
Change-Id: Idba732b64260e7e3e00d4742d2ea6ccd9228ab01
2025-03-26 05:23:31 -07:00
Treehugger Robot dd7d89d7e1 Merge "Account for Recents Scale when computing dismiss length to take task off screen." into main 2025-03-26 05:09:07 -07:00
Treehugger Robot 8292d26063 Merge "Snap to Large tile or first grid task when they are the next page." into main 2025-03-26 05:07:40 -07:00
Jordan Silva 3451ddddd1 Adjust IconAppChipView chip width based on state
This CL will fix the issue when the app chip is bigger than the TaskView and doesn't respect its maxWidth value.
Also fixes the bug when the first chip expands when taps over the second app chip.

Fix: 406225230
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Change-Id: Id1c806a320522e6d5bda3d4d8712a43637c57834
2025-03-26 04:38:32 -07:00
Jordan Silva f4b5725ef0 Merge "Add marquee for AppChip and simplify text view handling in IconAppChipView" into main 2025-03-26 04:28:26 -07:00
Ajinkya Chalke 28b50a21a5 Move querying focus display to TIS
- Move the logic to query for focused displayId from
  OverviewCommandHelper to TouchInteractionService.
- This way the OverviewCommandHelper code always uses command.displayId
  in its code.

Bug: 404757863
Test: manual run CUJ
Flag: com.android.launcher3.enable_alt_tab_kqs_on_connected_displays
Change-Id: Ia9b05e64b549895f029bc5204169cf84474af125
2025-03-26 09:43:56 +00:00
Li Lin 95dc69f7ce Merge "Growth Framework nudge resource changes." into main 2025-03-26 00:21:28 -07:00
Treehugger Robot b4a37aed36 Merge "Remove unnecessary call to RecentsView.reset when switching from any non-overview state." into main 2025-03-26 00:12:42 -07:00
Bill Yi c1928b8f0a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1bc70b18b9e537de8db7a22aee29a7a7765328e0
2025-03-26 06:24:46 +00:00
Vinay Joglekar 6b59446c58 Merge "Add logs for debugging to overview blur" into main 2025-03-25 21:58:52 -07:00