Commit Graph

76729 Commits

Author SHA1 Message Date
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
Sanatt Abrol 5d81ade236 Merge "Bug: b/307278302 Fix clipping of DesktopTaskView border on focus/ hover" into main 2023-11-21 13:13:43 +00:00
Andreas Agvard b4be53477c Adds recovery flow for Search feature
Bug: 308840938
Flag: LEGACY ENABLE_LONG_PRESS_NAV_HANDLE TEAMFOOD
Test: Manual
Change-Id: Ia1dc7c644647503453c3f810569126fcb6407a5d
2023-11-21 13:36:18 +01:00
Andreas Agvard 9ed6d0be04 Merge "Fixed incorrect naming of flags" into main 2023-11-21 12:26:17 +00:00
Thales Lima 07c6b8d96d Use DeviceProfile numFolderRows and numFolderColumns
Invariant hold values that are not related to current DP in use. This is a change needed for IDP to hold more values in the future akin to iconSize.

Bug: 309800141
Change-Id: Iefb388a5f6590d7da3452d2c388c02bd5e9d32bb
Flag: N/A
Test: NexusLauncherTests
2023-11-21 11:47:21 +00:00
Sanatt Abrol a6b4e1bc43 Bug: b/307278302
Fix clipping of DesktopTaskView border on focus/ hover

Hover border: https://screenshot.googleplex.com/B9CUW49q6inMW75
Focus border: https://screenshot.googleplex.com/36uLJ4jC295t7PZ

`android:clipToOutline` prevents drawing outside view bounds and results in the focus/ hover border getting clipped, instead we can use `android:clipToPadding` with a small non-zero padding to clip children and allow drawing a border outside the bounds

Change-Id: I7e763f7ee8c7fd1090c7778c2c000d2b792bef06
2023-11-21 10:48:08 +00:00
Johannes Gallmann b1e14f85be Use Decelerate Interpolator for predictive back to home window scaling
Bug: 311365390
Flag: NONE
Test: Manual, i.e. verifying back to home behaviour on device
Change-Id: Ib26edc13d9573b9c7e23f23b3abe9cd7e19809e7
2023-11-21 09:22:06 +01:00
Johannes Gallmann 862b48e591 Prevent scaled window from leaving screen bounds for back to home
Bug: 311365390
Flag: NONE
Test: Manual, i.e. testing back to home behaviour for predictive back
Change-Id: I5427e6f69b28aacd9ad7e805e42b0a4f7c09d4f5
2023-11-21 09:02:38 +01:00
Tracy Zhou 43c46e5787 Merge "Make sure the hotseat icons are always visible in phone mode" into main 2023-11-21 06:14:08 +00:00
Vadim Tryshev 615b744930 Demoting testUninstallFromWorkspace, which is a 4% presubmit blocker
Bug: 311099513
Flag: N/A
Test: presubmit
Change-Id: I699e3198eaa632f3977e89498c62ecb8e6956255
2023-11-20 18:48:54 -08:00
Vadim Tryshev a75fd790ea Merge "Avoiding unconditional 5 sec wait in the beginning of inproc tests" into main 2023-11-21 01:59:09 +00:00
Sebastian Franco d30100eaa9 Move classes inside of CellLayoutBoard to their own file
Previous step for adding unit testing for MultipageCellLayout.

Flag: LEGACY FOLDABLE_SINGLE_PAGE DISABLED
Bug: 270395274
Test: ReorderAlgorithmUnitTest
Change-Id: Ia5ca0b10481d7a21883594434b3406fb3a5ccf0b
2023-11-20 17:58:24 -06:00
Tony Wickham e1f770df2f Change TAPL to swipe to stash taskbar (instead of deprecated long press)
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.

Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798

Change-Id: I48b4c809025a9bab0a37ada1317adee823b1a8f9
2023-11-20 23:41:01 +00:00
Pat Manning 54acb41e8c Merge "Do not hide persistent taskbar during input for physical keyboard." into main 2023-11-20 23:29:55 +00:00
Himanshu Gupta 23876959e5 Merge "Fixing Launcher crases due to methods being called on Ui Threads." into main 2023-11-20 23:02:46 +00:00
Vadim Tryshev 3f7e82e81d Avoiding unconditional 5 sec wait in the beginning of inproc tests
Also merging waiting after enabling test provider for the inproc and OOP
cases.

Bug: 311023703
Test: presubmit
Flag: N/A
Change-Id: I417111d984bb0b0d79bada61595e46a6b924ea7c
2023-11-20 13:55:13 -08:00
Brian Isganitis 78ccf9c3e6 Merge "Adding TASKBAR entry state for Taskbar Toast." into main 2023-11-20 21:03:03 +00:00
Himanshu Gupta 2b5620b295 Fixing Launcher crases due to methods being called on Ui Threads.
This CL fixes the following two issues:
1. Launcher crashing while calling `addPrivateSpaceSettingsButton` from
   BaseAllAppsAdapter as the thread is UI
2. Decorator is not removed from Private Space Header during reset to
   paused state. https://screenshot.googleplex.com/BZdLqaZQwdDApfV

Flag: ACONFIG com.android.launcher3.Flags.enable_private_space DEVELOPMENT
Bug: 311337961, 311342946
Test: Ran Launcher3 tests
Change-Id: I2763338ebf0f5468ad38f61a781e8a8334194c5c
2023-11-20 18:59:13 +00:00
Jagrut Desai 1a16edea37 Logging for ActivityLeak - Launcher
Test: Presubmit
Bug: 273347463
Flag: NONE
Change-Id: I9825fd18a89354bff2bedf1c43f0d3170a3b4795
2023-11-20 10:44:16 -08:00
Alex Chau 940fbe1e2d Merge "Avoid instantiating unnecessary OverviewTask in getCurrentTask loop" into main 2023-11-20 18:28:40 +00:00
Saumya Prakash 15bbd17775 Merge "Update Gesture nav edu animations for overview gesture" into main 2023-11-20 18:07:23 +00:00
Andreas Agvard 37eac5b585 Merge "Adds a debug & server configurable delay to search haptic hint" into main 2023-11-20 18:04:10 +00:00
Schneider Victor-tulias ca7147b289 Merge "Add debug logs for TIS ACTION_DOWN handling" into main 2023-11-20 17:41:01 +00:00
Jordan Silva 36fda11792 Merge "Fix folder label text size not downsizing to match app icon" into main 2023-11-20 17:00:55 +00:00
Pat Manning c5b7cf9e4e Add background to app chip menu so elevation shadow renders.
Fix: 312146447
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Test: OverviewImageTest.
Change-Id: I43113acd0eaafac2955cd4bbebafc103bdba6d98
2023-11-20 15:15:54 +00:00
Alex Chau 7d237cd83a Avoid instantiating unnecessary OverviewTask in getCurrentTask loop
- Replaced with moving each size getting methods to a lambda in getCurrentTask

Bug: 309820115
Test: presubmit
Flag: None
Change-Id: Ic625e30bd42f4289bbb1768c2ceeb95e98f51a15
2023-11-20 13:13:44 +00:00
Andreas Agvard fc74c095d6 Adds a debug & server configurable delay to search haptic hint
Fix: 311370599
Test: Manual
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT ENABLED

Change-Id: Ic050e8426ef91b28e6bf1dc4d86839eaa20b0dc0
2023-11-20 12:49:54 +01:00
Pat Manning a401e15553 Do not hide persistent taskbar during input for physical keyboard.
Fix: 255818649
Test: TaplTestsQuickstep
Flag: NONE.
Change-Id: Id5495163f43464125bfcbd9e255f18e24183d67a
2023-11-20 10:45:05 +00:00
Fengjiang Li f05c0f5843 Merge "Only log COLD_DEVICE_REBOOTING startup latency logs" into main 2023-11-18 16:36:35 +00:00