Commit Graph

18989 Commits

Author SHA1 Message Date
Shamali P 697dcf44ac Maintain selected or last header on clicking "Show all" button
Bug: 356127021
Test: Manual and tapl test
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Change-Id: I762695f9999e5ea4c722dbedde6d7efabd3ab0cb
2024-11-12 22:31:14 +00:00
Federico Baron 0c5177c817 Merge "Add mounted mode image tests and remove some image tests for OneGrid" into main 2024-11-11 19:17:42 +00:00
Juan Sebastian Martinez 2ba624d3e8 Merge "Introducing the MSDLPlayer in Launcher via a wrapper singleton." into main 2024-11-11 17:07:38 +00:00
Johannes Gallmann f47df1f60a Merge "Use FlingOnBackAnimationCallback for predictive back" into main 2024-11-11 08:29:47 +00:00
fbaron c1b68f4f6d Add mounted mode image tests and remove some image tests for OneGrid
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: HomeScreenImageTest, AllAppsImageTest, FolderImageTest
Change-Id: I1d51596d50d63b00614a2efd342cce72d9a4af8e
2024-11-09 01:21:40 -08:00
Treehugger Robot 9d28cceb27 Merge "Remove toggle for home screen rotation when OneGrid flag is on" into main 2024-11-09 00:07:26 +00:00
Sebastián Franco 2c83181a30 Merge "Move fixed landscape in RotationHelper from a request to a variable" into main 2024-11-09 00:02:19 +00:00
Juan Sebastian Martinez 9c774c4cf0 Introducing the MSDLPlayer in Launcher via a wrapper singleton.
The player is the main API to the MSDL library (also used in SysUI) that
implements the Multi-sensory Design Language in the system UI. This CL
also includes an example of the API usage, when the user swipes up to
reveal AllApps, or taps on QSB.

Test: manual. Verified that the MSDL haptics play when swiping to reveal
  AllApps and tapping on QSB.
Flag: com.android.launcher3.msdl_feedback
Bug: 371322466
Bug: 371250001
Change-Id: Ie13fd5494efc9fc80cdb94a7bdd6e20b2e4633a8
2024-11-08 14:24:36 -08:00
fbaron 10763a74ec Remove toggle for home screen rotation when OneGrid flag is on
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: n/a
Change-Id: I0493c5af525218615d83e931dc94f95ce27d8bb7
2024-11-08 13:52:56 -08:00
Catherine Liang c6c724ac82 Merge "Add ability to preview dark theme into Launcher preview" into main 2024-11-08 20:37:49 +00:00
Sebastian Franco b1c47097d8 Move fixed landscape in RotationHelper from a request to a variable
Bug: 364711735
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I38ed82b2906308754d5157f6319e5d19fcfbc385
2024-11-08 12:09:08 -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
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
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
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
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
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
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
Brandon Dayauon 1fa2840e82 Make sure work button is collapsed when keyboard is up upon going to app drawer
Call shrink so that work button is collapsed when keyboard is up.

bug:361589193
Test - manual: video before:https://drive.google.com/file/d/1OChJkEJEWrsuUtEaac2jtc15uGkOeGAm/view?usp=sharing
after: https://drive.google.com/file/d/1DXGia25u4JzWRLTiwqlKQu8TYjyL9SEI/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: Ifafb76b61f0d2a5e9c6b60519adc300c911b20dc
2024-11-06 09:48:57 -08:00
Brandon Dayauon bfd02bb36a Implement the work scheduler view and update colors of FAB
Update colors of the FAB to spec: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=3784-112229&node-type=instance&m=dev
Exported the brief case icon from figma since it is not available on go/icons.
Color of the brief case icon is onPrimary.
Have place holder string in launcher but implement the actual string in NL.

bug:361589193
Test - manual: video: https://drive.google.com/file/d/1CIs8qdtV1jUvbq57CcgAXDBPPHHX5CKJ/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: Ia98e9c4394f6ddfa7009653034929f9afbfeac8c
2024-11-06 09:48:26 -08:00
Treehugger Robot 230b2f50a7 Merge "Fix flag guarding for oneGridRotationHandling" into main 2024-11-06 17:04:05 +00:00
Treehugger Robot 368eed7ce6 Merge "Convert ItemInstallQueue to use Dagger" into main 2024-11-06 16:59:57 +00:00
Andy Wickham 1f6a7b46be Adds all_apps_sheet_for_handheld flag.
This flag causes All Apps to render on a background panel in
handheld mode similarly to how it does on tablets.

Demo: https://drive.google.com/file/d/11K8yueTb9Xr8oRJCM3TxcFH8V3rRFJrJ/view?usp=sharing&resourcekey=0-hMNEGzMQ5KC9D7may2Gb-g

Bug: 374186088
Bug: 372618421
Test: Manual
Flag: com.android.launcher3.all_apps_sheet_for_handheld
Change-Id: Ie0b1e784d4330fd71f7f36f39e5dd85e8ee14933
2024-11-06 16:05:25 +00:00
Treehugger Robot 6c84b46ef5 Merge "Make ContextualEduStatsManager injected by Dagger (13/n)" into main 2024-11-06 00:49:55 +00:00
Federico Baron cf929471a1 Merge "Remove flags that are no longer necessary" into main 2024-11-06 00:38:14 +00:00
fbaron 49f7df0444 Fix flag guarding for oneGridRotationHandling
Bug: 364711064
Flag: com.android.launcher3.one_grid_rotation_handling
Test: n/a
Change-Id: Ic0027bf82912bf56470a8abc29880599820b3352
2024-11-05 16:29:26 -08:00
Anushree Ganjam 2d55010135 Make ContextualEduStatsManager injected by Dagger (13/n)
Bug: 361850561
Test: Manual
Flag: EXEMPT Dagger Integration
Change-Id: I0150ad8edeac1746e27b7d919891d02e648413be
2024-11-05 14:53:01 -08:00
fbaron 8f26e042b2 Remove flags that are no longer necessary
Flag: EXEMPT code cleanup
Test: GridSizeMigrationTest
Bug: b/325286145, b/325285743
Change-Id: I056021c299b56a186b754b94b33509d0b01816e0
2024-11-05 14:22:37 -08:00
Sihua Ma fb51552ac7 Move icon factory to framework
Flag: EXEMPT library moving
Test: Manual
Change-Id: I2d8b657b4e9d6c6431f3976d66cabc515cb6bb1b
2024-11-05 22:22:31 +00:00
Sebastián Franco 0acfafa64a Merge "Add tablet 5x8 grids" into main 2024-11-05 21:53:05 +00:00
Treehugger Robot fdc5b21f53 Merge "Remove logs for resolved bug, and make some logs permanent" into main 2024-11-05 21:09:52 +00:00
fbaron 3d534b15bc Remove logs for resolved bug, and make some logs permanent
Bug: 360462379
Flag: EXEMPT code cleanup
Test: n/a
Change-Id: I99d4eb55b9241a472f38c90e36ad60f2f9f3d521
2024-11-05 11:13:15 -08:00
fbaron 04752a3e63 Add tablet 5x8 grids
Bug: 364711064
Flag: com.android.launcher3.one_grid_rotation_handling
Test: n/a
Change-Id: I509a52f76852a2034020efc818bf571f00dff90d
2024-11-05 10:55:52 -08:00
Shamali Patwa 20cde49b4c Merge "Add a resource override for providing default widgets filter." into main 2024-11-05 01:01:00 +00:00
Shamali P ea078cb647 Add a resource override for providing default widgets filter.
The implementation in this CL is no-op i.e. all widgets will be shown

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Verified with other child cls
Change-Id: I0a6f8973dc8ec58fd87d29b3f291b5e290ea988d
2024-11-04 22:17:23 +00:00
Anushree Ganjam 2f73d60b30 Merge "Make VibratorWrapper injected by dagger (14/n)" into main 2024-11-04 21:36:19 +00:00
Anushree Ganjam 87ea411e97 Make VibratorWrapper injected by dagger (14/n)
Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: I57047122b35731d83674a5607e1ac980b86aebca
2024-11-04 11:33:34 -08:00
Treehugger Robot 4f793a31d8 Merge "Catch exception to prevent Launcher crash." into main 2024-11-04 19:10:14 +00:00
George Lin 2b6f265bf9 Shape screen communication with the Launcher's app (2/2)
This is a revertx2 of ag/29934361 with the fix of b/376371559

Support querying / preview / apply for the shapes from the Launcher's
app.

Test: Manually tested that it works
Fixes: 376371559
Bug: 348664593
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: I232040f4c3661f149de4c88810e51f6dd8bac9c3
2024-11-01 18:07:05 +00:00
George Lin 50d2c82de6 Fix grid entry is missing
Test: Manually tested that the entry shows up again
Fixes: 376371559
Flag: EXEMPT bugfix
Change-Id: I8ecc842b948f0ed0676d3600d9538450012c7e80
2024-11-01 17:37:55 +00:00