Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal eb29313595 Updating WidgetSheets so that it can be displayed in any
activity and not just Launcher

Bug: 307306823
Test: atest Launcher3Tests
Flag: NA
Change-Id: I0e33323805c6e895e3a1639ecf5933e698212c65
2023-11-27 11:17:04 -08:00
Pat Manning 37cf983825 Merge "Wait for IME to hide in test only if software keyboard." into main 2023-11-27 18:32:23 +00:00
fbaron c04ad685f5 Fix activity leak in QuickstepLauncher
Fix: 312397873
Test: TaplAppIconMenuTest#testLaunchMenuItem
Flag: NONE
Change-Id: I63fe5fa5b3f2d301017dc6fb375e7a56e3e5fb4d
2023-11-27 18:10:45 +00:00
Federico Baron e517f0de70 Revert^2 "Update status bar scrim"
e620fc80c9

Change-Id: Id129124b5cdaaebd33b6f9671f34390d398691b4
2023-11-27 16:59:53 +00:00
helencheuk f2fc14ec4c Remove excess entry before putting new item
It is to fix gpu memory usage increase. Remove excess entry first so its max memory usage should not increase

Fix: 309182285
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Test: N/A
Change-Id: I40b4ec50c09001e6ee9d012bdcdd1444230daac3
2023-11-27 14:57:38 +00:00
Helen Cheuk 946a2493eb Merge "Not show hover border on select mode" into main 2023-11-27 14:21:29 +00:00
Pat Manning b8145edf05 Wait for IME to hide in test only if software keyboard.
Fix: 311410127
Test: TaplKeyboardFocusTest#testAllAppsExitSearchAndFocusSearchResults
Flag: NONE.
Change-Id: I74f1023bdf9118abaa9cda651b881ef60636da34
2023-11-27 13:53:03 +00:00
Pat Manning 0f395e8a11 Update text style for icon app chip menu.
Bug: 311657856
Test: OverviewImageTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: Ied1c5fddb94e3093729846cacfef9b257aad8df7
2023-11-25 11:24:45 +00:00
Thales Lima 24051842c7 Make numFolderRows/numFolderColumns accept more values
Now they can hold values for different configurations, making it akin to iconSize.

Bug: 309800141
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I9d5cccda88a0311dbe0beecef194cc8d60c5c280
2023-11-24 15:54:56 +00:00
Jordan Silva 0bb6034f74 Merge "Extract cell size information to responsive grid structure" into main 2023-11-24 14:36:39 +00:00
Alex Chau c95a4e6b1d Merge "Revert "Remove logs for bug investigation"" into main 2023-11-24 14:02:39 +00:00
Jordan Silva 999dd2a06f Extract cell size information to responsive grid structure
Bug: 287975993
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: ResponsiveCellSpecsProviderTest
Test: DeviceProfileDumpTest
Test: DeviceProfileResponsiveDumpTest
Change-Id: I26a87d9b690fdfcff1599d862c09e97fe9f9f930
2023-11-24 12:39:36 +00:00
Pat Manning 78a2dd66b2 Merge "Close allapps on press of ESC key." into main 2023-11-24 12:30:04 +00:00
Jordan Silva 2e1b287038 Merge "Use DeviceProfile numFolderRows and numFolderColumns" into main 2023-11-24 12:29:19 +00:00
Pat Manning a7a04fe901 Close allapps on press of ESC key.
Fix: 310206847
Test: TaplOpenCloseAllApps
Flag: NONE
Change-Id: I9b9f958eb2889680b731dd7134fce2793e62eb74
2023-11-24 11:03:13 +00:00
Johannes Gallmann e36c615716 Fix crash in LauncherBackAnimationController
Bug: 312949302
Flag: NONE
Test: Manual, i.e. testing quick fling back to home gesture
Change-Id: I670b2f02cab097b1d7a202a5b07fbda33d372ac8
2023-11-24 10:11:46 +01:00
Avinash Vadlamudi d1047f5415 Merge "Add necessary metric collections for barcode detection in Overview." into main 2023-11-24 01:31:07 +00:00
Sebastián Franco 525b0343f8 Merge "Moving classes inside of CellLayout to their own file" into main 2023-11-24 01:27:13 +00:00
Sebastian Franco 5f0af4f633 Moving classes inside of CellLayout to their own file
This is a no-op change ensure this we have ReorderAlgorithmUnitTest.

Flag: NA
Bug: 229292911
Test: ReorderAlgorithmUnitTest
Change-Id: I6ffe2a1260f869a4686a9f1e652dd1ab6d406269
2023-11-23 23:13:56 +00:00
Schneider Victor-tulias 2b988e5fd2 Fix NPE in TaskAnimationManager
Flag: N/A
Fixes: 312949734
Test: ran launcher and launched overview from home and app
Change-Id: I7894749ac196dfd07b5e2bfa5d801040ef9b34c6
2023-11-23 14:16:17 -05:00
Alex Chau 58a8c12713 Revert "Remove logs for bug investigation"
This reverts commit dad61a0098.

Reason for revert: b/279059025

Change-Id: Id8fcd1ddf67d7df0a23c81e3ddf3849c26c529bd
2023-11-23 19:01:16 +00:00
Schneider Victor-tulias 71afdf2f19 Refactor LottieAnimationColorUtils to enforce proper usage
Flag: N/A
Fixes: 312941637
Test: launched all set page and gesture nav tutorial
Change-Id: Iaa320fea0e78a93c4e955f617cb821a47aac6f96
2023-11-23 18:28:10 +00:00
Pat Manning 3e43b8a996 Merge "Do not hide icon app chip menu when resetting color tint." into main 2023-11-23 14:23:24 +00:00
Avinash Vadlamudi cd02807544 Add necessary metric collections for barcode detection in Overview.
- Log required metric events for the barcode content interactions.

Flag: ACONFIG com.google.android.apps.miphone.aiai.matchmaker.overview.ui.enable_barcode_detection_in_overview DEVELOPMENT
Bug: 310757242
Test: Built and tested on Pixel device.
Change-Id: Iff4e4a3aec35d9d096f5b52eab0124f6e7f22e15
2023-11-23 12:26:41 +00:00
Pat Manning c078064450 Do not hide icon app chip menu when resetting color tint.
Fix: 312372713
Test: Manual.
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: Iab860eb7e69ddb47913b01040ca706a8d829abe6
2023-11-23 12:25:02 +00:00
helencheuk b4cda2adbe Not show hover border on select mode
Fix: 295175854
Test: TaskViewTest
Flag: ACONFIG com.android.launcher3.enable_cursor_hover_states Nextfood
Change-Id: I81b1af27b590ea509e8ec84a9d3ff008f31da21f
2023-11-23 10:51:58 +00:00
Pechetty Sravani d6233c18a0 Merge "Revert "Update status bar scrim"" into main 2023-11-23 10:38:42 +00:00
Pechetty Sravani e620fc80c9 Revert "Update status bar scrim"
Revert submission 25440774-scrim_update

Reason for revert: <Test Revert (b/312861259)>

Reverted changes: /q/submissionid:25440774-scrim_update

Change-Id: Ifdae7cc1754994ef16585859a9b0f08b2d257715
2023-11-23 08:50:59 +00:00
Federico Baron 2b352f6c5f Merge "Update status bar scrim" into main 2023-11-22 19:01:44 +00:00
Bill Yi 5c5c418c10 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-22 19:00:59 +00:00
Bill Yi 259cb6c190 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-22 19:00:59 +00:00
Sebastian Franco 0e02d74cbf Moving the static initialization method from TaplTestsLauncher3 to AbstractLauncherUiTest
Flag: NA
Bug: 298234173
Test: atest TaplWorkspaceTest
Change-Id: I49dadefa17ef0ea78ca342b8b6d7bb9e38d4d0c9
2023-11-22 12:43:44 -06:00
Sebastian Franco 6dda7c770c Moving bindAppsAdded and setIsFirstPagePinnedItemEnabled to ModelCallbacks
Changes are part of go/launcher_SoR .

Flag: NA
Bug: 301108526
Test: This is a no-op change, compiling should be the test
Change-Id: I79a651c9d57e443037e330728540616b0d01434a
2023-11-22 11:19:20 -06:00
Vadim Tryshev 93513ce3f5 Merge "Speeding up testDragShortcutToMultipleWorkspaceCells in presubmit" into main 2023-11-22 04:59:29 +00:00
Tracy Zhou 7ce0d39c41 [taskbar/navbar unification] Do not shift back button after unlocking in phone mode
Fixes: 312495129
Test: Back button doesn't move (stay on the left side) when unlocking from the small screen. Back button shifts from the right side to the final position after unlocking from the big screen
Change-Id: Idd9379cee0a0be49c443ee485b4dc0f4ea248366
2023-11-21 19:19:14 -08:00
Vadim Tryshev a2c32f7965 Speeding up testDragShortcutToMultipleWorkspaceCells in presubmit
On foldable, presubmit P90 is 38 min, and the requirement is to fit in
30 min.

testDragShortcutToMultipleWorkspaceCells takes around 3 min.
Making it enumerate less combinations in presubmit.

Bug: 295939967
Test: presubmit
Flag: N/A
Change-Id: Ic47223b3800fe502ed152488a2940f41c0edfb88
2023-11-21 19:05:38 -08:00
Vinit Nayak 2bccda4d2d Merge "Add logs for workspace long press" into main 2023-11-22 02:09:55 +00:00
Bill Yi d4029e7240 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I26a4cfaa45da4fd37839dc57780cf0ab69a551ce
2023-11-21 16:57:14 -08:00
Bill Yi 66f0200e50 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie7f789feff97a375ab542ea6fc7fd841c66dc15e
2023-11-21 16:55:56 -08:00
Vinit Nayak 74fb544c27 Add logs for workspace long press
Bug: 311099513
Change-Id: Ided5f317ab3c8bb68a099391f39f0e579b17c2c2
2023-11-21 15:44:44 -08:00
Andy Wickham 2aee5ff67a Adds withPackageName to StatsLogger creation
This lets you specify a package name which will be logged by the
returned StatsLogger (rather than retrieving from the ItemInfo).

Bug: 292227499
Test: Manual with other change in topic
Change-Id: I3650f9f02f6cbe560e1c21262ba1cb893702a49e
2023-11-21 15:41:50 -08:00
Vadim Tryshev 2e54a166a9 Merge "Demoting testUninstallFromWorkspace, which is a 4% presubmit blocker" into main 2023-11-21 23:09:50 +00:00
Holly Jiuyu Sun 35e68fb800 Merge "[a11y] Fix Switch Access keyboard input issue in AA+." into main 2023-11-21 22:52:15 +00:00
Sebastián Franco 7a3c354c48 Merge "Move classes inside of CellLayoutBoard to their own file" into main 2023-11-21 18:35:32 +00:00
Pat Manning 37edf2ed08 Merge "Add background to app chip menu so elevation shadow renders." into main 2023-11-21 18:09:32 +00:00
fbaron e181d221e1 Update status bar scrim
Bug: 311717313
Test: Verified on device
Flag: NONE
Change-Id: I4f4d2c7ced1625f1c58b9e06274d9e3d6250ad63
2023-11-21 09:51:31 -08:00
Jagrut Desai 426f7f4d2f Merge "Logging for ActivityLeak - Launcher" into main 2023-11-21 16:57:24 +00:00
Andreas Agvard e55daa9449 Merge "Adds recovery flow for Search feature" into main 2023-11-21 15:16:28 +00:00
Pat Manning 4c5ea5fd02 Show taskbar pinning dialog on right-click.
Fix: 308768942
Test: Manual.
Flag: ACONFIG com.android.launcher3.enable_taskbar_pinning DISABLED
Change-Id: I37e49452fada944186c8300562061bf9650a0d0a
2023-11-21 14:51:15 +00:00
Pat Manning 06ecd24ee3 Allow right-click of taskbar icons to launch long-click menu.
Fix: 290459491
Test: TaplTestsTaskbar#testOpenMenuViaRightClick
Flag: NONE.
Change-Id: Ide85f62e5b08d5261f15871e85d3250cc66d0919
2023-11-21 14:45:31 +00:00