Commit Graph

23356 Commits

Author SHA1 Message Date
Treehugger Robot
5f0e09cea8 Merge "Disable Suggestions on Grouped Task Views" into main 2025-06-09 06:27:35 -07:00
Treehugger Robot
34134a3529 Merge "[Dagger] Move LauncherRestoreEventLoggerImpl to LauncherAppModule" into main 2025-06-09 06:14:25 -07:00
Sam Cackett
1aea34dc7f Disable Suggestions on Grouped Task Views
Bug: 422977902
Flag: EXEMPT. Bugfix
Test: Manual. Split 2 apps, long press to select. Select shouldn't work.
Change-Id: Iefdc0825268e506108728b8683a1cc708249463e
2025-06-09 11:35:31 +01:00
Treehugger Robot
f23a5060ee Merge "Do not enter desktop mode if the existing fullscreen task is refocused" into main 2025-06-08 19:10:57 -07:00
Treehugger Robot
fb0f2ff41d Merge "Add remove system shortcut to folder items" into main 2025-06-07 14:08:44 -07:00
Bill Yi
bcb814268c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-06-07 09:33:58 -07:00
Alex Chau
5cd2b21417 Merge "Ignore invalidateHandlerWithLauncher_runsGestureAnimationEndCallback that has never passed" into main 2025-06-07 01:29:11 -07:00
Alex Chau
638e9bfc7c Ignore invalidateHandlerWithLauncher_runsGestureAnimationEndCallback that has never passed
Test was added but never passed on certain target.

Bug: 418979038
Fix: 423041240
Test: presubmit
Flag: EXEMPT Test Only
Change-Id: Id5317c90a97795a8b0cfb76872f75078d3801913
2025-06-07 01:26:53 -07:00
Treehugger Robot
892b0fc99b Merge "GAR - Update AllApps text color and font" into main 2025-06-06 17:40:30 -07:00
Treehugger Robot
5fa3ea28c0 Merge "Add TopTaskTrackerTest" into main 2025-06-06 16:37:04 -07:00
Saumya Prakash
5792cc00ad Merge "Adjust back button's padding for SUW" into main 2025-06-06 15:19:34 -07:00
Federico Baron
ffd3ced53f Add remove system shortcut to folder items
Bug: 419289205
Test: NexusLauncherImageTests
Flag: com.android.launcher3.enable_long_press_remove_shortcut
Change-Id: I4bba230d13696d8d9dc02e232f8a302ae9e893e0
2025-06-06 22:02:32 +00:00
Brandon Dayauon
b024e4d5c5 GAR - Update AllApps text color and font
Update color to onSurface. And font to google sans (flex) which in this case should be variable-title-small since the textsize is 14sp.

bug:418937498
Test manually:
Before DT: https://hsv.googleplex.com/4949187362816000
Before LT:  https://hsv.googleplex.com/5152308714274816
After DT: https://hsv.googleplex.com/6619686841090048
After LT: https://hsv.googleplex.com/6278208621117440
Flag: EXEMPT bug fix

Change-Id: Ib0225bcef38353c451e8fdffefcba97655f97ef1
2025-06-06 14:53:19 -07:00
Vinay Joglekar
c03dd96a10 Fix overview blur state when gemini is over the app.
When app overlay (CtS or Gemini) is involved, overlay is the
firstAppTarget and the actual lowest layer is another target in apps

Instead of blurring behind the lowest firstAppTarget, find the lowest
among all apps targets between all RemoteTargetHandles. This is
determined using layer id.

Fix: 422111861
Test: Launch any app, Long press power button to start Gemini, Swipe up
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I46aa3f642ec3446221ee31d0cf8242970bece9b2
2025-06-06 14:50:38 -07:00
Treehugger Robot
5135248ada Merge "Fix incorrect talkback announcement for app -> home" into main 2025-06-06 14:35:25 -07:00
Anushree Ganjam
ab5b7f56ab [Dagger] Move LauncherRestoreEventLoggerImpl to LauncherAppModule
LauncherRestoreEventLoggerImpl should be available to NexusLauncher as
well. It was a mistake it was exposed only to Quickstep version.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Id36deef2790373651684acb8f03f91ca9e0e662c
2025-06-06 14:09:48 -07:00
Saumya Prakash
1cc6065149 Adjust back button's padding for SUW
This change adjusts the placement for the back button in setup wizard of
16dp. This aligns with the UX design.

Fixes: 418936840
Test: Launch setup wizard and quickly verify a gap between the back
button and the SUW buttons.
Flag: EXEMPT bugfix

Change-Id: Ie7680a5a97e78430b8f7a7fecc8e1c1ee045aa8a
2025-06-06 19:31:11 +00:00
Treehugger Robot
5917e69fa3 Merge "Don't show tasks shown in taskbar within overflow UI" into main 2025-06-06 12:24:36 -07:00
minch
16e53eec2b Add TopTaskTrackerTest
Fix: 406325205
Test: TopTaskTrackerTest
Flag: EXEMPT adding test
Change-Id: Ia4e9de25ff7d19f952e5229edf0b08480c109860
2025-06-06 19:18:57 +00:00
Schneider Victor-Tulias
672c8a10e4 Fix incorrect talkback announcement for app -> home
This change removes the talkback announcement for the background app LauncherState, which defaulted to "Recent apps".

Flag: EXEMPT bug fix
Fixes: 418854152
Test: attempted home/overview/quick switch gestures from home and app
Change-Id: I1f390902dfddd2e8576743dbbddce65121690f14
2025-06-06 15:03:51 -04:00
Treehugger Robot
0fd9ae0277 Merge "Run gesture end callback after gesture animation has ended." into main 2025-06-06 12:00:35 -07:00
Anushree Ganjam
935abda722 Merge "Move TaskbarModelCallback, TaskbarViewCallback , TaskbarOverlayContext to dagger." into main 2025-06-06 09:33:05 -07:00
Pat Manning
7454ca73fb Run gesture end callback after gesture animation has ended.
Fix: 418979038
Test: Manual
Flag: EXEMPT Bugfix.
Change-Id: I46288d8f38fe2c281f9aa6ba9bfcd1db8f1ce0e7
2025-06-06 17:20:45 +01:00
Treehugger Robot
053c33dc4f Merge "Use visibleNonExcludedTask as runningTask in 3 button flow as well" into main 2025-06-06 09:01:48 -07:00
Bill Yi
a7633730e9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id4ca018968c5c39f6af333e953f51fc696be9fb9
2025-06-06 07:50:11 -07:00
Alex Chau
7a28cf4d16 Use visibleNonExcludedTask as runningTask in 3 button flow as well
- The same logic is introduced in `InputConsumerUtils` to fix same issue for Circle to Search, but didn't get added to 3 button
- Copying the same logic to find the task underneath the Overlay (e.g. CtS or Gemini) to OverviewCommandHelper to fix the issue

Fix: 422147244
Test: Start CtS or Gemini overview an app, tap Recents button
Flag: EXEMPT bug fix
Change-Id: I9934288f72c8964d84265b2488fd2ee1ca4ff7f7
2025-06-06 14:35:14 +01:00
Treehugger Robot
b72bf3993f Merge "Handle focus events for Overview live tile" into main 2025-06-06 02:03:12 -07:00
Treehugger Robot
8dfea45cfb Merge "KeyEvent.KEYCODE_TAB changes TaskView" into main 2025-06-05 23:11:00 -07:00
Toni Barzic
83ffb6e6bd Don't show tasks shown in taskbar within overflow UI
Bug: 404753077
Flag: com.android.window.flags.enable_taskbar_overflow
Test: Verify that taskbar overflow bubble view only shows tasks not
visible in taskbar.

Change-Id: Ie04f79c91b524bbc592309ef62723d428e78f304
2025-06-06 03:46:55 +00:00
Toshiki Kikuchi
4e9affa253 Do not enter desktop mode if the existing fullscreen task is refocused
This CL prevents taskbar from forcefully moving the existing fullscreen
task to desktop on desktop-first display.
On desktop-first displays, we want to keep the current windowing mode
when its taskbar app icon is clicked.

Flag: com.android.window.flags.enable_desktop_first_fullscreen_refocus_bugfix
Bug: 420499923
Test: TaskbarRecentAppsControllerTest
Change-Id: I5e5c950d2e7bd25762eaddad94c57a4bf29ee800
2025-06-06 09:58:42 +09:00
Anushree Ganjam
e4a59b06a1 Move TaskbarModelCallback, TaskbarViewCallback , TaskbarOverlayContext to dagger.
Delete the resource id : search_session_manager_class, taskbar_model_callbacks_factory_class, taskbar_view_callbacks_factory_class, taskbar_overlay_context_factory_class from config.xml.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I7d571eeaba1f707089b2e4e0599051910927e3f2
2025-06-05 15:25:32 -07:00
Shamali Patwa
0d10ebaeaf Update flag on test related to old widget picker UI
Bug: 370950552
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Presubmit
Change-Id: I161235045b771d8534dc9b3bbfa79a7477825a48
2025-06-05 14:44:37 -07:00
Elijah Hewer
2615f6e359 Merge "desktop-exploded-view: Add gradient to TaskHeaderView title" into main 2025-06-05 13:35:01 -07:00
Saumya Prakash
0c7268c11c Merge "Update All Set page to expressive style" into main 2025-06-05 13:29:01 -07:00
Jon Miranda
9800280148 Merge "Fix bug where window is cropped to insets on 3 button phone mode." into main 2025-06-05 12:59:43 -07:00
Saumya Prakash
12d49ce2ce Merge "Ensure correct conditions for TaskbarStashControllerTest" into main 2025-06-05 11:54:49 -07:00
Treehugger Robot
f3aeca0d4b Merge "Fix app tile blur when clicked on recents button rapidly." into main 2025-06-05 11:47:26 -07:00
Merissa Mitchell
5a5abed293 Merge "[Pip] Don't reload Recents on onActivityUnpinned" into main 2025-06-05 11:33:34 -07:00
Treehugger Robot
8324fc2e17 Merge "Move logic for stable scale factor to DisplayController" into main 2025-06-05 10:48:23 -07:00
Saumya Prakash
3ec143f029 Update All Set page to expressive style
This change sees the All Set page at the end of the Setup wizard be
redesigned to match the expressive theme. Changes include background,
fonts, and overall style.

Fix: 390550173
Test: Run SUW with a device that has the expressive theme enabled for
SUW
Flag: EXEMPT bugfix

Change-Id: I335b62d34a0587d8b5bba7f86dcc0670ec248ada
2025-06-05 10:23:03 -07:00
Elijah Hewer
9e3393a265 Merge "desktop-exploded-view: Update isFocusable location" into main 2025-06-05 10:07:04 -07:00
Jon Miranda
b62fbe7a0e Fix bug where window is cropped to insets on 3 button phone mode.
Fixes: 409548889
Test: manual
Flag: EXEMPT bugfix
Change-Id: I829dfa9033fbc308a7d63297b691198672afa655
2025-06-05 09:58:28 -07:00
Vinay Joglekar
8f29707aee Fix app tile blur when clicked on recents button rapidly.
When we tap on recents, setActivityStarted set to true where
setBaseSurface is called with launcher surface. When app is opened
setActivityStarted is false and setBaseSurface is set to null.

In subsequent calls, between where call to setBaseSurface with launcher
is skipped. This causes due to race condition between
removeOnDrawListener which is "asynchronously" posted from
onLauncherDraw and addOnDrawListener. This makes addOnDrawListener not
to get properly added.

Hence mBaseSurface remains null and we do not get chance to set the blur
to launcher layer to 0 and then reparent/relayer blur behind live tile.
Hence blur is still over launcher layer which makes live tile blur.

Added boolean that makes async removeOnDrawListener in onLauncherDraw
cancellable.

Fix: 387428198
Test: Rapidly tap on recents button
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I5ed2ec198563d9edb181a723c9db47ecfe500c5d
2025-06-05 09:20:16 -07:00
Treehugger Robot
ca739ac8ae Merge "Add tooltip for taskbar overflow button" into main 2025-06-05 09:02:43 -07:00
Treehugger Robot
bd029b8887 Merge "Fix IllegalStateException in AbsSwipeUpHandler.onRecentsAnimationStart" into main 2025-06-05 07:12:28 -07:00
Sam Cackett
d1b5d4c27e Handle focus events for Overview live tile
In liveTile mode, an InputConsumer is used for gesture navigation and
this consumes all InputEvent's. As a result, the framework doesn't see
these events and so focus isn't handled.

This CL override's dispatchKeyEvent in some of the key views in
RecentsView and handles changing focus correctly.

Bug: 366177160
Fix: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: Icc15abb19f72d28340ae944aa59b67ddec2eceda
2025-06-05 14:26:02 +01:00
Treehugger Robot
709590e001 Merge "Do not clear offloaded task's icon if in split selection." into main 2025-06-05 05:58:19 -07:00
Sam Cackett
4c06aff54b KeyEvent.KEYCODE_TAB changes TaskView
This CL restores previous tabbing behaviour to select each TaskView, rather than enter the TaskView and cycle the children as this behaviour hasn't been fully implemented and there are some issues with live tiles, so restoring the previous behaviour.

Note: rather than revert ag/32253797, I decided to leave it as if the menu is open, then the tabbing behaviour works in the menu, so didn't see a reason to revert it.

Bug: 366177160
Bug: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: I27660bdac60ee572cd633bd58465a6b8bc66aad2
2025-06-05 13:53:14 +01:00
Elijah Hewer
585b139314 desktop-exploded-view: Add gradient to TaskHeaderView title
Use a gradient at the end of the TaskHeaderView title when the text is
too long, rather than truncating.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 421406718
Change-Id: Iafd3be47297d6fc90854e5f6328e93114782a05c
2025-06-04 22:20:06 -07:00
Toni Barzic
2d0ca1a195 Move logic for stable scale factor to DisplayController
When selecting grid size to use for desktop, size breakpoints are
compared to the display dimensions with "stable" device density.
Expose the scale factor that needs to be applied to dimensions
provided in spec via DisplayController::Info, so it can be more easily
faked in tests.

Bug: 375643744
Test: atest DeviceProfileDumpTest
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I836430cc052f72c0f89b6cdd5ab5309a3482d94e
2025-06-05 05:16:23 +00:00