Commit Graph

22642 Commits

Author SHA1 Message Date
Shamali P
1ce7abb6fb Add a ui state for the app timer toast and add a mapper function for it
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Unit test for mapper
Change-Id: I35271ff33c8610d79674438fb18a3d851eb3d2d3
2025-04-23 09:43:23 -07:00
Will Osborn
05e4134b73 Merge "Pass display id to startRecentsAnimation" into main 2025-04-23 02:23:40 -07:00
Toshiki Kikuchi
740de77860 Merge "Restrict nav mode UI checks within primary display" into main 2025-04-22 19:48:10 -07:00
Treehugger Robot
e7cb23a501 Merge "Fix TaskbarOverflorTest failures with multi-desks on" into main 2025-04-22 16:30:44 -07:00
Treehugger Robot
79711ad43a Merge "[CD Projected Mode] Make Taskbars for Detected displays on Boot when Connected" into main 2025-04-22 15:36:30 -07:00
Treehugger Robot
347e2cfe12 Merge "Block dismiss while recents is scrolling." into main 2025-04-22 14:35:24 -07:00
Treehugger Robot
055a15a214 Merge "Get DesktopVisibilityController via dagger in TopTaskTracker" into main 2025-04-22 11:15:22 -07:00
Treehugger Robot
16830c6430 Merge "Add unit tests for KQS CD changes" into main 2025-04-22 10:46:42 -07:00
Will Osborn
50a1b9089c Pass display id to startRecentsAnimation
Test: local + unit
Bug: 392703464
Flag: com.android.launcher3.enable_overview_on_connected_displays
Change-Id: I7eb65a1d6b98703a19432b9fa24c3c4b262aa045
2025-04-22 17:46:01 +00:00
minch
d5d15c493f Fix TaskbarOverflorTest failures with multi-desks on
Bug: 362720309
Test: m
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Change-Id: I91621d4c71d1ab28fb4b17ab62ba6c8ff43cb7d2
2025-04-22 16:10:57 +00:00
Treehugger Robot
8184e7116d Merge "Fix broken TaplStartLauncherViaGestureTests close activity flow" into main 2025-04-22 08:50:08 -07:00
Treehugger Robot
be99fc78bb Merge "Decouple actionsView disabled state from clearAllButton visibility" into main 2025-04-22 08:42:49 -07:00
minch
4b694fa2c4 Get DesktopVisibilityController via dagger in TopTaskTracker
Bug: None
Test: m
Flag: EXEMPT refactor
Change-Id: I5adcf67be8a1afb6902820e30eec20630285f413
2025-04-22 15:33:35 +00:00
Ajinkya Chalke
c96b9adf79 Add unit tests for KQS CD changes
Bug: 382762871
Bug: 382769617
Test: KeyboardQuickSwitchControllerTest and TaskbarOverflowTest
Flag: EXEMPT adding tests
Change-Id: I053af97774230a9bc3d21ff8e1e328344519f728
2025-04-22 15:07:37 +00:00
Sukesh Ram
90af684118 [CD Projected Mode] Make Taskbars for Detected displays on Boot when Connected
Make Taskbars for Detected displays on Boot when Connected.

Bug: 409820188
Flag: com.android.window.flags.enable_taskbar_connected_displays
Test: m
Change-Id: Iac04fe3c5ba8faac7383ed2953ddee99240ce016
2025-04-22 14:57:43 +00:00
samcackett
8b65ad809e Decouple actionsView disabled state from clearAllButton visibility
Prior to this change, actionsView buttons enabled / disabled state was
coupled to clearAllButton visibility, which was then coupled to scroll
state. Due to an issue where outdated scroll values caused incorrect
visibility calculations for the "clear all" button and consequently
disabled the overview actions, we remove this check.

Fix: 391276638
Flag: EXEMPT. Bugfix
Test: Manual & TaplTestsQuickstep
Change-Id: Ib313deb72e8f01125f15f62e7e9a4af307062060
2025-04-22 14:09:55 +01:00
Wen-chien Wang
c496829044 Merge "pin-shortcut: Add tests to verify the behavior" into main 2025-04-22 03:56:09 -07:00
Alex Chau
c027e0c9ad Merge "Fix extraWidth used to calculate visibleTaskData" into main 2025-04-22 03:43:19 -07:00
Alex Chau
076df25a4f Fix extraWidth used to calculate visibleTaskData
- getLastComputedGridTaskSize should be used to get the correct size for grid tasks

Fix: 406988799
Test: manual
Flag: com.android.launcher3.enable_grid_only_overview
Change-Id: I7b94e8e03dd7a463417c03e600636cffc3696fdb
2025-04-22 03:43:11 -07:00
Anushree Ganjam
77f22bf9cf Merge "Move StatsLogManager to Dagger" into main 2025-04-21 18:48:56 -07:00
Vinit Nayak
e417533ecd Merge "Use SplitPosition instead of StagePosition in TaskViewSimulator" into main 2025-04-21 18:05:48 -07:00
Treehugger Robot
5643f452d5 Merge "Merging update and modify model callbacks" into main 2025-04-21 15:15:13 -07:00
Mykola Podolian
6ba50e36e4 Merge "Revert^3 "Maximised the taskbar window to the default size"" into main 2025-04-21 14:10:13 -07:00
Sunny Goyal
007cfecf5e Merging update and modify model callbacks
Instead of the dispatcher specifying the type, the UI checks th diff. This
ensures that the UI is updated correctly in all paths

Bug: 390572144
Flag: EXEMPT refactor
Test: Manually verified folder edit path where these callbacks were getting dispatched

Change-Id: Ib73eed5da87a847753a78453a48ab4fc495c1199
2025-04-21 12:31:23 -07:00
Anushree Ganjam
291438aaec Move StatsLogManager to Dagger
Helps us to delete ResourceBasedOverride class.
Delete "stats_log_manager_class" resource from config.

Delete unused "app_launch_tracker_class" resource from config.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger

Change-Id: I71ed7ffca62e7c74d4ee0d0b4c045ffed9599cfe
2025-04-21 19:13:22 +00:00
Treehugger Robot
39e00abeb9 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-04-21 10:03:40 -07:00
Roy Chou
cafd97cf12 Merge "cleanup(magnification): remove flag remove_exclude_from_screen_magnification_flag_usage" into main 2025-04-20 20:30:30 -07:00
Toshiki Kikuchi
3ccfdbf6c4 Restrict nav mode UI checks within primary display
This CL fixes the nav mode UI checks which currently assumes “navigation
mode” takes effect on all displays although the mode is only effective
on the primary display.

Flag: EXEMPT - test fix
Fix: 408631713
Test: atest WMShellFlickerTestsDesktopMode:com.android.wm.shell.flicker.OpenAppWithExternalDisplayConnected
Change-Id: I29f33957d696e9d5afda844f69388b74a8f78b77
2025-04-20 19:09:38 -07:00
Bill Yi
e39d4edaf8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id874f374f59d341fa72ff11d5bc7b3dd0c57a823
2025-04-21 01:11:50 +00:00
Treehugger Robot
8733a11bdc Merge "Disable pinning popup when transient taskbar is disabled" into main 2025-04-19 17:48:34 -07:00
Wen-Chien Wang
ed04537faa pin-shortcut: Add tests to verify the behavior
Bug: 375648361
Test: This is the cl for tests
Flag: EXEMPT tests
Change-Id: I7209cebcc7e7c34d5f1362121fea5e062e3170de
2025-04-19 07:34:33 +00:00
Andy Wickham
1d04216b4f Merge "Fix navbar to home for All Apps." into main 2025-04-18 22:45:01 -07:00
Treehugger Robot
f913e26175 Merge "Desks: Let split-select and recents use a combined WCT" into main 2025-04-18 21:48:32 -07:00
Treehugger Robot
bf044d730c Merge "Move InstantAppResolver to Dagger." into main 2025-04-18 18:06:15 -07:00
Mykola Podolian
ac7db52a91 Revert^3 "Maximised the taskbar window to the default size"
This reverts commit de74f01f01.

Reason for revert: regression

Change-Id: Ia21a7bfb5cb98e0219e32d884d773276ba804e6b
2025-04-18 17:27:46 -07:00
Treehugger Robot
a6f664c115 Merge "Prewarm renderer for All Apps blur." into main 2025-04-18 17:11:01 -07:00
Jorge Gil
82ad2a0387 Desks: Let split-select and recents use a combined WCT
Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 409639676
Test: enter split from desktop handle menu, verify it enters split
select

Change-Id: Ib215ce9666fb4a07101ff32a78aebef0c8198749
2025-04-18 23:40:26 +00:00
Treehugger Robot
fede3aee46 Merge "Don't blur workspace targets when dragging out of All Apps." into main 2025-04-18 16:28:27 -07:00
Treehugger Robot
82f07a82ff Merge "Improve TaskbarRecentAppsController on multi-display" into main 2025-04-18 16:05:10 -07:00
Toni Barzic
e5fc903495 Disable pinning popup when transient taskbar is disabled
On freeform displays where taskbar is always pinned, toggling "Always
show taskbar" option is no-op, as the taskbar won't transition to
transient taskbar.
Left a TODO to reevaluate behavior once desktop taskbar transient
behavior gets updated.

Bug: 390665752
Flag: com.android.window.flags.enable_desktop_taskbar_on_freeform_displays
Test: Manual.

Change-Id: Icfe7cd26e77de48ab34bfe4932bfedfe21923ef1
2025-04-18 22:59:55 +00:00
Andy Wickham
303b52f84a Merge "Make TaskbarOverlayContext overrideable." into main 2025-04-18 15:02:50 -07:00
Andy Wickham
9e6de0876f Prewarm renderer for All Apps blur.
We already notify renderer when a non-0 blur is about to be
applied, but this change gives additional heads up. On my device,
I saw the following latency improvements (for sending the alert,
not necessarily when it was acted upon):

 - All Apps swipe transtion: 10ms early
 - Taskbar All Apps button: 30ms early

Also clean up the SurfaceControl.Transactions using
try-with-resources.

Flag: com.android.launcher3.all_apps_blur
Bug: 410973453
Bug: 411292920
Bug: 411033774
Test: Log inspections; will run perf tests with ABTD
Change-Id: I640720767de71f439ba479f83db00c00eefe07dd
2025-04-18 14:58:19 -07:00
Mykola Podolian
daf5d90a37 Merge "Stash the taskbar on every bubble bar expansion" into main 2025-04-18 14:51:36 -07:00
Charlie Anderson
8ec6581db0 Merge "Update system shortcut icons to filled GM3 versions" into main 2025-04-18 13:20:51 -07:00
Anushree Ganjam
59d5401f59 Move InstantAppResolver to Dagger.
Helps us to delete ResourceBasedOverride class.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I9320e0309e2ae4370dcbf2f6f62d704712876bd5
2025-04-18 20:14:14 +00:00
mpodolian
04bd5b49ea Stash the taskbar on every bubble bar expansion
Added logic to enable BubbleBarView to  notify BubbleBarViewController
of expanded state change. Also updated all the test that uses
BubbleBarView to pass empty Controller.

Fixes: 411304392
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Go to any app. Swipe up to show the taskbar. Trigger any
bubble. Observe taskbar is stashed on bubble bar expanded.

Change-Id: I88ad167eb0ed444629716df3672bbb06ca8adcc4
2025-04-18 11:16:40 -07:00
Mykola Podolian
93a7212f7e Merge "Fix bubble bar drag-to-dismiss target over the taskbar interruption" into main 2025-04-18 10:43:22 -07:00
Vinit Nayak
af2f3b43ca Use SplitPosition instead of StagePosition in TaskViewSimulator
* Ultimately we want to migrate to SplitIndex, but
first we'll slowly remove all usages of StagePosition

Test: Compiles
Flag: EXEMPT cleanup
Bug: 254378592
Change-Id: I44651b4c378dedd4409d99986f7c92371180afd2
2025-04-18 17:21:00 +00:00
Surbhi Kadam
77dadc1fc5 Merge "Launcher3: send token with early wakeup request to SurfaceFlinger" into main 2025-04-18 09:48:11 -07:00
Treehugger Robot
c562b3ce4e Merge "Fix a crash on null getLegacyBaseTask" into main 2025-04-17 21:51:27 -07:00