Pinyao Ting
556db6df04
Remove redundant a11y announcement upon removal of workspace item.
...
When a workspace item is removed, launcher currently shows a Snackbar which contains a message saying "item removed". This renders the a11y announcement in DeleteDropTarget#onAccessibilityDrop redundant since it's saying exactly the same string.
Bug: 378032433
Change-Id: I6eda4bb449f1d1fd4441a68b3129b0ab2d2c19a3
Test: manual
Flag: EXEMPT bugfix
2024-11-14 17:29:26 +00:00
Matthew Mourgos
b9e5421a63
Merge "Close any open widget resize frames when changing pages." into main
2024-11-13 21:17:21 +00:00
Treehugger Robot
27fc554d2e
Merge "Add OldGrid field for GridOption so we can properly filter out the old grids when the flag is on" into main
2024-11-13 21:16:43 +00:00
Pinyao Ting
e50d5ded77
Remove noises during a11y drag in Launcher.
...
Bug: 374642145
Bug: 374656225
Bug: 374658319
Change-Id: I842415f689c992f64d863743f019455701da22e9
Test: manual
Flag: EXEMPT bugfix
2024-11-13 20:56:30 +00:00
fbaron
6c91ef9191
Add OldGrid field for GridOption so we can properly filter out the old grids when the flag is on
...
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: NexusLauncherImageTests, DeviceProfileDumpTest
Change-Id: I8e3ff70d2f3008d1de7c8419290ff44c18c72e70
2024-11-13 11:31:50 -08:00
Shamali Patwa
37d3e2031e
Merge changes from topic "sticky-h-filter" into main
...
* changes:
Update tapl test to consider the show all button
Maintain selected or last header on clicking "Show all" button
2024-11-13 00:25:01 +00:00
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
Ana Salazar Maldonado
bdbad823ce
Add contrast pill to workspace apps
...
When the flag is enabled, allow the BubbleTextView to draw a background
pill behind the app title. Also change the color of the text to properly
ensure contrast. The contrast pill is only enabled for workpace apps,
so attempt draw the pill only for DoubleShadowBubbleTextView elements.
Bug: 341217082
Flag: com.android.launcher3.enable_contrast_tiles
Test: Manual, visual change
Change-Id: Idce27bd8dfca4b525c762fcd0873562f31b45b8f
2024-11-12 13:36:13 -08:00
Matthew Mourgos
450fb42e0f
Close any open widget resize frames when changing pages.
...
When a widget is added while talkback is enabled, the widget resize
frame does not automatically close when subsequently changing workspace
pages. This is because touch events which usually would cause the
widget resize frame to close, get intercepted by talkback before they
get to the resize frame.
Bug: 374044529
Test: manual - activate talkback, add new widget, and change page
Flag: EXEMPT bug fix
Change-Id: I2b8db22fa237a188c6705e9c6e57b12c1a7cd2f6
2024-11-12 06:06:53 +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