Commit Graph
82921 Commits
Author SHA1 Message Date
Android Build Coastguard Worker 3a0e86938d [coastguard skipped] Merge sparse cherrypicks from sparse-13585864-L01400030012734454 into 25Q3-release.
COASTGUARD_SKIP: I47677eda5bb21155fc3d59401192ad5442404021
COASTGUARD_SKIP: Iac3be94342e7def142e31bac34ab9043e870c305

Change-Id: I1514e85ea1e9dc4ff703481c428cda7976b2036c
2025-06-03 00:06:00 -07:00
Android Build Coastguard Worker 620a2f6134 Merge cherrypicks of ['googleplex-android-review.googlesource.com/33834780'] into sparse-13585864-L01400030012734454.
SPARSE_CHANGE: Iac3be94342e7def142e31bac34ab9043e870c305

Change-Id: I47677eda5bb21155fc3d59401192ad5442404021
2025-06-03 00:05:03 -07:00
Andy Wickham 89b154f2f7 Fix reverse interpolation when closing All Apps.
This was inadvertently reverted in ag/33712864.

Bug: 415247657
Test: Manual
Flag: com.android.launcher3.all_apps_sheet_for_handheld
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e8526c5593c1e5f32136e1fb100c812b01e24746)
Merged-In: Iac3be94342e7def142e31bac34ab9043e870c305
Change-Id: Iac3be94342e7def142e31bac34ab9043e870c305
2025-06-03 00:04:44 -07:00
Android Build Coastguard Worker 2a3fcfac6c Snap for 13585852 from 33ce4677e5 to 25Q3-release
Change-Id: I7275cf9aa24ab1133fdab681d756348777b1239f
2025-06-02 16:22:13 -07:00
Jon Miranda 33ce4677e5 Merge "Update taskbar icon alpha in pinned taskbar animation if not final value." into main 2025-06-02 10:01:26 -07:00
Treehugger Robot 31ae5a7c6d Merge "Don't cap number of items in taskbar overflow" into main 2025-06-02 08:55:22 -07:00
Xiaoqian (Daisy) Dai ca247dd30b Merge "desktop_exploded_view: re-enable window activation functionality" into main 2025-06-02 08:48:28 -07:00
Uwais Ashraf 3883ac96ff Merge "Change bg Coroutine dispatchers to use single thread." into main 2025-06-02 02:32:57 -07:00
Treehugger Robot d1bf60e380 Merge "Change ScalingWorkspaceRevealAnim to use SurfaceTransactionApplier." into main 2025-06-01 23:55:07 -07:00
Android Build Coastguard Worker febd5bbbb6 Snap for 13581829 from d3c7533a55 to 25Q3-release
Change-Id: I3c4d2a3f18154f8514d266a76899456bc0476149
2025-06-01 14:17:59 -07:00
Android Build Coastguard Worker 2755a0e470 Snap for 13580881 from a6bab0b412 to 25Q3-release
Change-Id: I96a14db7488ff86e99c2945b7d47dc6f28d375bf
2025-05-31 14:18:12 -07:00
Steven Ng d3c7533a55 Unregister all apps key gesture handler at AllAppsActionManager#onDestory
Bug: 406452076
Flag: com.android.window.flags.grant_manage_key_gestures_to_recents
Test: atest NexusLauncherTests:AllAppsActionManagerTest
Change-Id: Idec5ad32b190eff58c263d6c7696a9f218084f5a
2025-05-31 09:35:09 -07:00
Treehugger Robot a6bab0b412 Merge "Updating launcher preview generation" into main 2025-05-30 19:19:38 -07:00
Android Build Coastguard Worker 01751c09fc Snap for 13579076 from bb41fe629a to 25Q3-release
Change-Id: Id4290d9cc7818589c5322ddd5913a31b5ede2dfa
2025-05-30 18:20:42 -07:00
Treehugger Robot 2f9d81a9d7 Merge "Converting FastBitmapDrawable to kotlin" into main 2025-05-30 17:38:05 -07:00
Treehugger Robot 17d69d9db5 Merge "Use pixels as breakpoints for non-desktop grid sizes" into main 2025-05-30 17:29:53 -07:00
Sunny Goyal bf49baab09 Updating launcher preview generation
> Moving classes to a separate package
> Extracting PreviewContext outside of renderer
> Always loading the sandbox instead of loading real model followed by a sandbox
> Binding LoaderTask using params so that it can be customized

Bug: 420997234
Flag: EXEMPT refactor
Test: Presubmit

Change-Id: Idf45eaba9d8309cb55b47847d8e3686cbb6c0a8e
2025-05-30 16:44:49 -07:00
Xiaoqian Dai a6022cc451 desktop_exploded_view: re-enable window activation functionality
Since the blocking issue b/420744057 is now fixed.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 420744057
Change-Id: I973adbcb8cdf4ce31ca80cce31a3dadded3717cd
2025-05-30 16:42:09 -07:00
Sunny Goyal 1abaefca1c Merge "Fixing duplicate attribute definition" into main 2025-05-30 16:23:16 -07:00
Treehugger Robot 5e67f9d7cd Merge "Update DisplayControllerSpy for overview on CD" into main 2025-05-30 16:19:33 -07:00
Daniel Andersson 1da87916b2 Merge "desktop-exploded-view: Fix regression in quick switch" into main 2025-05-30 15:06:45 -07:00
Treehugger Robot bb41fe629a Merge "Make RecentTasksRepository dispayId aware" into main 2025-05-30 14:22:46 -07:00
Treehugger Robot e0a2abda93 Merge "Update Scrim values for blur" into main 2025-05-30 13:55:44 -07:00
Sunny Goyal 6c5517ad4b Fixing duplicate attribute definition
Flag: EXEMPT bugfix
Test: Manual
Bug: 353949138
Change-Id: I940e85e77c0eb4c9497be718dc9a7db70eb73656
2025-05-30 13:48:24 -07:00
Treehugger Robot d528a83c33 Merge "Add Documentation for LauncherProvider's Preferred Methods." into main 2025-05-30 13:41:17 -07:00
Treehugger Robot 66b2ec3129 Merge "Remove screenrecord for TaplUninstallRemoveTest" into main 2025-05-30 12:23:49 -07:00
Uwais Ashraf 2834af0cdb Change bg Coroutine dispatchers to use single thread.
If in future we need to increase this then it will be explicit rather than a surprise with with the first 16 CPU device we encounter.

Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Presubmits
Change-Id: I44b71f1c3dde4ca349525630e5d758962dfb8ed9
2025-05-30 11:40:36 -07:00
Vinay Joglekar 7e38e8a089 Update Scrim values for blur
Set foreground color to ScrimView in overview. Added new state property
for foreground.

Fix: 412928191
Test: Go to overview
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: Id4180eaa5501dc11bf7331073edb28dca5c4a13a
2025-05-30 19:20:40 +01:00
Stefan Andonian 8b3494ad0d Add Documentation for LauncherProvider's Preferred Methods.
This will make it easier for both the Cross OEM developers and also for
others to be able to use these APIs and figure out why their home screen
data is not showing up properly.

Bug: 379378706
Test: EXEMPT comment
Flag: EXEMPT comment
Change-Id: If25bb9d394cc90bb7bd074f4d3d6244dad22818c
2025-05-30 11:13:14 -07:00
Catherine Liang 829f57c522 Merge "Move custom Launcher theme flag to shared SysUI package (1/3)" into main 2025-05-30 10:51:09 -07:00
Federico Baron 9f429958f8 Remove screenrecord for TaplUninstallRemoveTest
Flag: EXEMPT test only
Bug: 386231522
Test: TaplUninstallRemoveTest#testUninstallFromAllApps
Change-Id: Iff5e8b081e2e26c83b6d3cfdb0ebb82d7eb0fd7b
2025-05-30 17:02:44 +00:00
Sunny Goyal e674891dfa Converting FastBitmapDrawable to kotlin
Will be adding more functionality in followup cl, and this will make it easier

Bug: 421146818
Flag: EXEMPT refactor
Test: atest FastBitmapDrawableTest
Change-Id: I7ce3ca0dc126efe410c8b7ebec6c601666b7cb54
2025-05-30 08:52:52 -07:00
Treehugger Robot ec58354bf7 Merge "Remove obsolete TODO" into main 2025-05-30 08:44:21 -07:00
Will Osborn 4589acb53d Make RecentTasksRepository dispayId aware
Bug: 402365283
Flag: com.android.launcher3.enable_overview_on_connected_displays
Test: unit tests + local test on tablet + foldable
Change-Id: I379547e41029baedb95c67b4440f23adfb29b1ba
2025-05-30 15:40:06 +00:00
Shamali Patwa cddba00520 Merge changes from topic "widget-picker-launcher" into main
* changes:
  Add dagger2-compiler to some of picker module targets.
  Add no-op widget picker module to some test modules / graphs.
  Wire the compose based widget picker in widget picker activity
  Repository and datasource implementations backing the widget picker.
  Add widget picker module dependency to launcher when compose is enabled
  Open widget picker activity instead of full sheet when refactor flag is on
2025-05-30 04:18:55 -07:00
Treehugger Robot ca758f80a7 Merge "Do not reflow dismissed grid task is already in split select." into main 2025-05-30 04:00:20 -07:00
Ajinkya Chalke d2ea106305 Update DisplayControllerSpy for overview on CD
- Use both infoModifier and infoModifierForDisplay to support overview
  on CD changes in DisplayController.

Test: TaskbarModeRuleTest TaskbarInsetsControllerTes
Bug: 363251602
Flag: EXEMPT test only change
Change-Id: I18f2dd7f6c486a269769d93f5ad7623bcba5fe3c
2025-05-30 08:30:39 +00:00
Treehugger Robot 45e5c8a215 Merge "desktop-exploded-view: Expand touch area for the task header close button" into main 2025-05-29 21:17:04 -07:00
Mykola Podolian abe7f12791 Merge "Notify Taskbar and Navigation bar of the bubble bar location updates." into main 2025-05-29 21:12:21 -07:00
Mykola Podolian bd997ba791 Merge "Notify taskbar and nav bar of bubble bar location updates." into main 2025-05-29 21:12:09 -07:00
Treehugger Robot c2c5c32dcb Merge "Navigate Home to hide tasks on WidgetPicker show" into main 2025-05-29 20:02:25 -07:00
Andy Wickham 84d21e722c Change ScalingWorkspaceRevealAnim to use SurfaceTransactionApplier.
This avoids main-thread binder calls previously incurred when directly
using SurfaceControl.Transaction#apply() for blur updates.

SurfaceTransactionApplier instead synchronizes the transactions on the
RenderThread.

Bug: 420699363
Test: Additional forrest performance tests such as
systemui-splitscreen-3-jank-suite.
Flag: com.android.launcher3.enable_scaling_reveal_home_animation
Change-Id: I2a775ad0db8361af934a557749c9c9ca8d2e106a
2025-05-29 19:49:08 -07:00
Mykola Podolian 53c3354ffa Merge "Moved DragZoneChangeListener logic to the shared package." into main 2025-05-29 17:32:17 -07:00
Treehugger Robot ab7c06c6c1 Merge "Remove the debug tracing." into main 2025-05-29 17:32:01 -07:00
Sebastián Franco 1eafc57416 Merge "Moving taskbar variables in DeviceProfile to their own class" into main 2025-05-29 17:29:34 -07:00
Android Build Coastguard Worker be127858e4 Snap for 13572966 from f0e152333f to 25Q3-release
Change-Id: Idea06caf2ec0f116493d6b56fadfe0b7931440c6
2025-05-29 16:20:44 -07:00
Toni Barzic 23fdd4224f Use pixels as breakpoints for non-desktop grid sizes
Effectively reverts CL:33454986 and adds float min device width/height
attributes that specify dimensions as number of dp. Currently, dp
dimensions are only used for desktop devices.

Test: Existing tests
Bug: 375643744
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I8a2bb3b9e6f97987fb25db553fc628d30cd3bf7c
2025-05-29 16:02:03 -07:00
mpodolian 6f82248053 Notify taskbar and nav bar of bubble bar location updates.
Added logic to notify the BubbleBarLocationListener implementors on
bubble bar location updated.

Bug: 411506181
Test: DragToBubbleControllerTest
Flag: com.android.wm.shell.enable_create_any_bubble
Change-Id: I51290bb6c2b35ff913a43c04db35be65b377ea03
2025-05-29 15:54:05 -07:00
Daniel Andersson fc9044576e desktop-exploded-view: Fix regression in quick switch
This is a stop gap solution to fix an issue when quick-switching to a
desktop. The way layout exploded layout currently happens is that we
immediately lay windows out in their exploded (non overlapping) position
and interpolate to the overlapping default position using an animated
transform. When the original window is larger than its exploded layout
(which is going to be the common case), then the header (which is sized
for the exploded layout) is going to look large when the window is
transformed into its overlapping position.

This is a quick fix that basically just hides the header when it
shouldn't be visible.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
BUG=b/414991065

Change-Id: I906e7f3cb28c57fc81e64b224ef82554ef4c9a5c
2025-05-29 15:47:21 -07:00
mpodolian 9310212582 Notify Taskbar and Navigation bar of the bubble bar location updates.
Added logic to notify the BubbleBarLocationListeners (Taskbar and
Navigation bar) of bubble bar location animated.

Fixes: 420929193
Test: Manual. Use unfolded foldable device. Set 3 buttons navigation
mode. Go to the launcher overview screen. Create any application bubble.
Drag bubble to the opposite side of the screen - observe navigation
buttons bar updates its location with the bubble bar.
Add one more application bubble. Drag bubble from the expanded bubble
bar. Observe navigation bar position is updated with the bubble bar.
Flag: EXEMPT - bugfix

Change-Id: I2bbdcdd702141b19695480e87d6cdd456e834e11
2025-05-29 15:35:02 -07:00