Commit Graph

78789 Commits

Author SHA1 Message Date
Treehugger Robot 90dadbb211 Merge "Add flag for layout transitions for Recent Apps in Taskbar." into main 2024-11-08 22:40:23 +00:00
Matthew Mourgos ba81c0f345 Merge "Add focus ring to widgets header" into main 2024-11-08 21:44:05 +00:00
Sunny Goyal 0019e59d99 Merge "Moving some tests off TAPL" into main 2024-11-08 21:33:30 +00:00
Catherine Liang c6c724ac82 Merge "Add ability to preview dark theme into Launcher preview" into main 2024-11-08 20:37:49 +00:00
Sunny Goyal 5ad2d9f53c Moving some tests off TAPL
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I679ae043d617b74a61a682d802c38cc904d2d0c5
2024-11-08 11:09:59 -08:00
Mykola Podolian d38c28e92f Merge "Fixed quick search bar shrinking." into main 2024-11-08 17:43:00 +00:00
Federico Baron b986ac5398 Merge "Resolve issue where incorrect grid migration logic was used when migrating to strictly taller new grid" into main 2024-11-08 16:42:03 +00:00
Liran Binyamin c3a2387af4 Merge "Suppress the bubble animation on updates" into main 2024-11-08 13:40:23 +00:00
Sebastián Franco 8bd76f5b06 Merge "Adding Launcher Mode settings to Launcher settings" into main 2024-11-08 08:55:34 +00:00
fbaron 3c8a6c6914 Resolve issue where incorrect grid migration logic was used when migrating to strictly taller new grid
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: n/a
Change-Id: I615c2ada4a2275899c08f8b40589c53c9e1dff84
2024-11-07 22:22:35 -08:00
Sebastian Franco 9e4c99befd Adding Launcher Mode settings to Launcher settings
Bug: 364711735
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iab688ebdb8449f9258b61f59a0afe97875f82a81
2024-11-07 21:17:10 -08:00
Tracy Zhou 7e969d4400 Merge "Move initInputMonitor to the main thread" into main 2024-11-08 02:30:46 +00:00
Treehugger Robot 7347a81e41 Merge "Handle Desktop app launches from Taskbar/AllApps icon clicks." into main 2024-11-08 01:04:15 +00:00
Tracy Zhou 9d072a5e5c Move initInputMonitor to the main thread
- Stuff related to updating internal TIS state need to also run on the
  main thread

Bug: 374197142
Flag: EXEMPT bugfix
Test: Presubmit
Change-Id: Ia62b665d9a39bc4a4c119fce8538bb147d92957a
2024-11-07 16:27:57 -08:00
Sunny Goyal 18e5b65a17 Merge "Moving Wait to kotlin" into main 2024-11-08 00:13:27 +00:00
mpodolian 5bf8bffdb2 Fixed quick search bar shrinking.
Added an early return logic. So only icon translation provider is being
set to the hotseat icons.

Fixes: 375240372
Fixes: 377402904
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Added first bubble on unfolded Felix, quick search bar
remained the same size. Fold the device, hotseat icons do not overlap.

Change-Id: I292e565a79cfe121c2f8c617440d8b40c09bef82
2024-11-07 15:52:25 -08:00
Gustav Sennton da2c2c0f7f Handle Desktop app launches from Taskbar/AllApps icon clicks.
- Provide both launch and minimize animations from
  DesktopAppLaunchTransition
- Add support to TaskbarRecentAppsController to check whether an app is
  visible vs. minimized vs. not showing at all in Desktop Mode
- Use DesktopAppLaunchTransition when clicking a Taskbar/AllApps app
  icon (when in Desktop Mode and the app is not visible) to animate the
  app launch
- The animation / transition is passed to Shell through ActivityOptions

Note: this CL does not add animations for launching managed/work
profile apps. That will be handled in b/376819104.

Test: launch apps in Desktop from Taskbar/AllApps
Bug: 327428659
Flag: com.android.window.flags.enable_desktop_app_launch_transitions
Change-Id: I44be96b9c53718b2082d2f630e1921356785fc4b
2024-11-07 23:06:24 +00:00
Sunny Goyal 8bbe47c31b Moving Wait to kotlin
Making LauncherInstrumentation optional and removing some reduntant constants.
This allows less dependency on AbstractLauncherUITest

Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I7cf78d6acc5fef0359dee141a06fd51ff9d4f5a8
2024-11-07 13:51:27 -08:00
Liran Binyamin 44048ba0a3 Suppress the bubble animation on updates
When a bubble is updated, we now suppress the animation when needed.
This prevents the animation from playing on the lock screen, when
the shade is open, when the IME is visible, etc.

Note that for new bubbles we were already suppressing the animation.
The issue fixed by this change is only observed for updated bubbles.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 377618253
Fixes: 377624611
Test: manual
       - tap qsb or launch any app and show the keyboard
       - send an update to a bubble
       - observe the flyout is not appearing
       - repeat with shade open and on lock screen
Change-Id: Id78e0cfbc413bcebaf6445cecacaaf34b36ed411
2024-11-07 16:45:39 -05:00
Brian Isganitis f722e4cb86 Add flag for layout transitions for Recent Apps in Taskbar.
Change-Id: Ie5c9b5c9373ac289054f1c7f330106004ddc3de4
Flag: com.android.launcher3.taskbar_recents_layout_transition
Bug: 343521765
Test: go/testedequals
2024-11-07 21:18:43 +00:00
Matthew Mourgos 7820eab80c Add focus ring to widgets header
Change the widgets header drawable to be a selector with the
state_focused property in addition to the state_expanded property. The
focused items are drawn with a focus ring with no ripple, while the
unfocused items have a ripple.

Bug: 365120324
Test: focus traversal through left widget picker pane
Flag: EXEMPT bug fix
Change-Id: I710cb9e2d727a061e0c19df15526e8c832f6366b
2024-11-07 12:56:16 -08:00
Liran Binyamin a2603e829a Merge "Disable bubble bar in vertical taskbar" into main 2024-11-07 20:01:41 +00:00
Liran Binyamin c944fb15ad Merge "Animate bubble badge scale" into main 2024-11-07 20:00:21 +00:00
Catherine Liang daf1defe55 Add ability to preview dark theme into Launcher preview
Dark theme preview currently works for views and themed icons but
doesn't work for widgets (remote views).

Flag: com.android.systemui.shared.new_customization_picker_ui
Test: manually verified
Bug: 371985937
Change-Id: I33193dff09d5900f1480720143ea272125a4c06c
2024-11-07 19:09:38 +00:00
Kevin Lim 1e154280fd Merge "[AllAppsHeader] Add override system for implementer to add plugin rows to the header of all apps grid" into main 2024-11-07 18:33:48 +00:00
Liran Binyamin 35e1be7ade Disable bubble bar in vertical taskbar
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 348694846
Test: manual
      - force vertical taskbar
      - observe that bubbles are floating
Change-Id: I831787933efb922877ee14911e395f27d6936336
2024-11-07 11:12:21 -05:00
Liran Binyamin f4434d169a Animate bubble badge scale
When a bubble is added or removed while we're collapsed, animate the
badge scale to make sure that only the badge for the top bubble is
visible.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 360652359
Test: manual
       - add bubble while collapsed
       - observe that badge only shows for top bubble
       - remove bubble while collapsed
       - observe that badge only shows for top bubble
Change-Id: I91472bb2ddeeeebd33ca64e20e065b2336c08589
2024-11-07 10:47:34 -05:00
Shamali P d39c31da74 Adjust the bottom padding padding on the left pane in picker
Right now, with 24dp bottom padding, the last item is partially visible
behind that padding. And makes the touch target for last item small.
This is more visible when show all button ends up there.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Unit tests
Change-Id: If2743f73bec0ea244fef7eb1fa3efc903876914b
2024-11-07 14:02:02 +00:00
Shamali P 531c227c45 Update widget predictor to apply prediction filter
When enough widgets are not passing the filter, additional randomly
 selected widgets are added.

The count to decide whether to add more is a configuration, so that,
if some OEMs don't want any suggestions, can override the value to 0.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Unit tests
Change-Id: Iffa8619149a1a4b468d367fc7bbee381be59469d
2024-11-07 14:01:52 +00:00
Shamali P 35a25984c3 Update the widget picker UI to show the "view all" button
Screenshot test in follow up to include the button.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Manual
Change-Id: Iac847361a0fa4a4b57d37e802ce6a7a5d8bb17d7
2024-11-07 14:01:39 +00:00
Shamali P 1c173e96be Define the list entry and view holder for the view all button
Child cl updates the adapter & picker to use this list entry type.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Manual
Change-Id: I69e82fb7df24270dac4cc0afd003e98247280552
2024-11-07 14:01:29 +00:00
Shamali P 8694df5f59 Move search widgets list view besides the personal/work lists
With the sticky header removed from two pane, the search results list
should to be aligned similar to the work / personal lists relative
to the search bar container.

Bug: N/A
Test: Manual
Flag: EXEMPT cleanup
Change-Id: I5cca57ca1861d3135d3b72fe84f75607555ea5ed
2024-11-07 14:01:17 +00:00
Uwais Ashraf 3e630a5d4b Merge "Make the test wait for Main Thread execution." into main 2024-11-07 11:33:19 +00:00
Gustav Sennton 6241d7ef46 Merge "Support Desktop unminimize animations, and move app-state logic" into main 2024-11-07 11:08:04 +00:00
Treehugger Robot 98aca80803 Merge "Fix failing robo test TaskbarStashControllerTest#testRecreateAsTransient_timeoutStarted" into main 2024-11-07 10:41:36 +00:00
Johannes Gallmann 652e49dc03 Merge "Add predictive back animation for 3-button-nav" into main 2024-11-07 07:59:38 +00:00
Federico Baron 56307d2cf4 Fix failing robo test TaskbarStashControllerTest#testRecreateAsTransient_timeoutStarted
Flag: EXEMPT bugfix
Test: TaskbarStashControllerTest#testRecreateAsTransient_timeoutStarted
Bug: 377256218
Change-Id: If326525a6186eb8f3cfd3e22a979828ce37e87ba
2024-11-07 04:15:16 +00:00
Sunny Goyal 0d3bac3a11 Merge "Updating IconCacheUpdateHandlerTest also fixing cached shortcut info getting invalidated on every reboot" into main 2024-11-07 00:08:04 +00:00
Sunny Goyal 7ab3c7f744 Updating IconCacheUpdateHandlerTest
also fixing cached shortcut info getting invalidated on every reboot

Bug: 373085333
Test: atest IconCacheUpdateHandlerTest
Flag: EXEMPT bugfix
Change-Id: I8cdfe9e2d4a5b0b35ea71da4b3c18ebc9327016c
2024-11-07 00:07:54 +00:00
Kevin Lim 82222b61c2 [AllAppsHeader] Add override system for implementer to add plugin rows to the header of all apps grid
Bug: b/352346748
Flag: com.google.android.apps.nexuslauncher.zero_state_tile
Test: Manual: http://recall/clips/395e9e4f-c20b-4a2b-bff1-a1ca9d5487d4
Change-Id: I65e2e9c68f05a6a387c05d5402ae3f5b2e2fcdba
2024-11-06 23:26:01 +00:00
Treehugger Robot a903eb93cf Merge "Mark TaskbarOverlayProxyView closed sooner" into main 2024-11-06 22:59:01 +00:00
Bill Yi b7666bd2f0 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-06 22:52:30 +00:00
Bill Yi 4697f0c1ca Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-06 22:52:30 +00:00
Artsiom Mitrokhin 7352a82689 Merge "Draw leave-behind circle after pressing taskbar overflow button" into main 2024-11-06 22:08:57 +00:00
Jagrut Desai 585de4e0e9 Merge "Fix ActivityLeak for RecentsViewContiner in TaskbarManager" into main 2024-11-06 21:15:25 +00:00
Andy Wickham adfd002972 Merge "Adds all_apps_sheet_for_handheld flag." into main 2024-11-06 20:25:23 +00:00
Brandon Dayauon 270e1c3dc4 Merge changes from topic "implementWorkSchedulerViewAndUpdateColorsOfFab" into main
* changes:
  Make sure work button is collapsed when keyboard is up upon going to app drawer
  Implement the work scheduler view and update colors of FAB
2024-11-06 19:57:26 +00:00
Sihua Ma 5241648873 Merge "Move icon factory to framework" into main 2024-11-06 18:56:14 +00:00
Jagrut Desai dbceb92317 Fix ActivityLeak for RecentsViewContiner in TaskbarManager
Test: presubmit
Bug: 376763663
Flag: EXEMPT TEST_ONLY
Change-Id: I9724e9d91e9ab1a414ce2fbcb6a618b5b23f7ab1
2024-11-06 10:15:00 -08:00
Sukesh Ram 48d215be87 Merge "[Connected Displays in Taskbar] Refactor TaskbarDelegate for Display Signals" into main 2024-11-06 18:12:00 +00:00