Commit Graph

22634 Commits

Author SHA1 Message Date
Anushree Ganjam
06bc3f5301 Move LauncherRestoreEventLogger to dagger
Helps us to delete ResourceBasedOverride class.
Delete "launcher_restore_event_logger_class" resource from config.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Ia11162979f016513bd09e06796346d29699b2efd
2025-04-25 01:02:28 +00: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
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
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
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
Jagrut Desai
a0fc328fa2 Merge "Fix Taskbar issue with Multi Desks" into main 2025-04-17 20:15:35 -07:00
Treehugger Robot
579672c0d8 Merge "Update All Apps colors to use shared sysui resources." into main 2025-04-17 20:00:20 -07:00
Andy Wickham
33c7b3dcf1 Make TaskbarOverlayContext overrideable.
Bug: 371343636
Flag: EXEMPT refactor
Test: with other change
Change-Id: I46c4bcb88d21890e66e7db7240d3450d75d74354
2025-04-18 01:24:56 +00:00
Jagrut Desai
120250f0db Merge "Fix pinned Taksbar in Overview Modal Launcher state." into main 2025-04-17 16:54:14 -07:00
Toni Barzic
5207024240 Improve TaskbarRecentAppsController on multi-display
Fixes two issues:
1.  TaskbarRecentAppsController was reflecting tasks from the first
    DesktopTasks it found in the RecentsModel - this does not work in
    multi-display environemnt where each display may have a separate
    DesktopTask. The CL updates the logic to gather tasks from all
    available DesktopTasks.
2.  RecentsModel supported a single recent apps changed listener. In
    multi-display, each display has its own taskbar, and thus its own
    TaskbarRecentAppsController, each of which needs to listen for
    RecentsModel changes. This meant that second taskbar that registered
    a listener was clearing out the listener set by the first taskbar.

Bug: 406183146
Flag: com.android.window.flags.enable_taskbar_connected_displays
Test: On multidisplay, open apps on different displays. Taskbar reflects
      all running desktop tasks regardless of the display on which
      they're open.
Change-Id: I1dd750e5bcd58d8d90b7b859053e2616c7d18441
2025-04-17 16:32:12 -07:00
Jagrut Desai
9205db6d36 Fix Taskbar issue with Multi Desks
Test: Manual, Presubmit
Bug: 408236390
Bug: 408059650
Flag: EXEMPT bugfix
Change-Id: Iadd79fb1504e2183fee52cc0871fc27613482e2a
2025-04-17 15:02:27 -07:00
Treehugger Robot
efd9b79a4c Merge "Remove feature flag for OverviewCommandHelper timeout" into main 2025-04-17 14:33:39 -07:00
Andy Wickham
c626620f74 Don't blur workspace targets when dragging out of All Apps.
Sorry for the whack-a-mole here. The intention is to only blur
going to All Apps or returning from All Apps to Normal. Added some
tests to help prevent regressions.

Test: DepthControllerTest#test_blurWorkspaceDepthTargets
Flag: com.android.launcher3.all_apps_blur
Bug: NA (noticed locally from a recent cl)
Change-Id: Ib0285dae42c41ba9eb2e747b272d40c228e0b035
2025-04-17 21:00:21 +00:00