Commit Graph

4763 Commits

Author SHA1 Message Date
Fengjiang Li 939ca48bae Cancel all apps icons preinflation when device profile has changed
Bug: 312816372
Test: perinflate large number of App Icons then rotate screen. Verified 1) preinflation runnable is cancelled and 2) no ViewHolder created from this cancelled runnable is added to RecyclerViewPool
Flag: LEGACY ENABLE_ALL_APPS_RV_PREINFLATION ENABLED
Change-Id: I1a6110278e1af2b32387ab27273106d30513886f
2023-12-13 15:31:30 -08:00
Vadim Tryshev fb3ae6a6c4 Converting more pressBack calls to calls that wait for animation
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ib4e08b4778a24ac617ea1e0101147612b0f53967
2023-12-13 13:07:46 -08:00
Vadim Tryshev 8fa129e9a8 Merge "Disabling the failing piece of a test in presubmit" into main 2023-12-13 19:53:10 +00:00
Vadim Tryshev 122e5b9389 Disabling the failing piece of a test in presubmit
Bug: 315847371
Test: presubmit
Flag: N/A
Change-Id: I9cf9818946de8b53edc8c44cbd9e673f3bea832f
2023-12-13 10:33:20 -08:00
Vadim Tryshev fd309ca3d0 Merge "Inserting waiting for settling in the Workspace state after "back" from All Apps" into main 2023-12-13 00:27:08 +00:00
Vadim Tryshev d48279bf1d Merge "Disabling ViewCaptureRule" into main 2023-12-12 23:10:57 +00:00
Vadim Tryshev 9c1df6db6b Inserting waiting for settling in the Workspace state after "back" from All Apps
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Idd6e3383be21c2040797148817b96105a6f94fe3
2023-12-12 14:03:45 -08:00
Vadim Tryshev 1c7bc492fb Merge "Inserting waiting for wallpaper animation into "back" gesture from app to workspace" into main 2023-12-12 18:24:56 +00:00
Sebastián Franco c715781453 Merge "Removing debbug comments" into main 2023-12-11 20:37:38 +00:00
Vadim Tryshev 5e9e07e0dc Merge "Enabling wallpaper animation wait in presubmit widget tests" into main 2023-12-11 20:10:51 +00:00
Vadim Tryshev 5915443a33 Merge "Disabling leak checks in presubmits" into main 2023-12-11 19:50:20 +00:00
Vadim Tryshev 8c3dbdf22a Enabling wallpaper animation wait in presubmit widget tests
This check is stable now

Bug: 313926097
Flag: N/A
Test: presubmit, postsubmit runs
Change-Id: Id6bbe5f8ca3aaae3ef025732b4d429d109b567ce
2023-12-11 10:31:20 -08:00
Vadim Tryshev 79e12b893d Disabling leak checks in presubmits
They block 36% of presubmit runs

Bug: 313501215
Test: presubmit
Flag: N/A
Change-Id: Id91e5a467dfe2485614a4ac99861670a1afaa533
2023-12-11 10:16:13 -08:00
Vadim Tryshev 04e044565d Merge "Disable alpha jump detector" into main 2023-12-11 18:07:03 +00:00
Sebastian Franco 9658523297 Removing debbug comments
Bug: 303263644
Flag: NA
Test: TaplWidgetPickerTest
Change-Id: I6ad428100b2455110315755cea4b75f46b7217c0
2023-12-11 10:01:16 -06:00
Thales Lima df643c4540 Merge changes from topic "numFolderRows" into main
* changes:
  Update dump tests
  Make numFolderRows/Columns accept more values
2023-12-11 10:54:04 +00:00
Thales Lima 0c9e869a8a Update dump tests
Bug: 309800141
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I75c6a07192f6af94adbea89a6dfdf03984272849
2023-12-08 22:00:51 +00:00
Thales Lima 1faa4edc42 Make numFolderRows/Columns accept more values
InvariantDeviceProfile hold values that are not related to current DP in use. Now other classes get the value correctly from DeviceProfile, and each posture can hold different values, making it akin to iconSize.

Fix: 309800141
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I32295738585de67205dcd6c8942d08a3d07d169a
2023-12-08 22:00:48 +00:00
Vadim Tryshev 5eac9a5d81 Waiting for wallpaper animation in widget tests only for Nexus Launcher and in postsubmit
This code flakes in postsubmit and presubmit, but the failure is
not reproducible in local and abtd runs. Landing the change to make postsubmit
flake; then I'll use tricks like tracing to debug the cause.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I77c324d43a2400fe1015f5cd0a4729e34552687c
2023-12-08 12:06:45 -08:00
Vadim Tryshev 229a181771 Disabling ViewCaptureRule
Looks like vire capture needs some time to stabilize; for now,
 it sometimes generates empty view capture data.

Bug: 315482167
Flag: N/A
Test: presubmit
Change-Id: I864ffacf4a3a28cfc01b300ac1df71890f93c5e1
2023-12-08 10:44:48 -08:00
Sebastián Franco 4d548b5992 Merge "Make all tapl test start with Tapl" into main 2023-12-08 15:43:47 +00:00
Thales Lima 65cc1ff5a4 Merge "Adding test for folder preview loading" into main 2023-12-08 10:15:51 +00:00
Xin Li 861ce33a59 Merge UQ1A.231205.015
Bug: 308969284
Merged-In: I91dd8b4088f02af9dc5e603853d8e26606acc38f
Change-Id: I7f5bca7edd18631b36f2b9213e17554cf769cbc6
2023-12-07 15:48:03 -08:00
Vadim Tryshev d7dd3ca0a4 Merge "Better diagnosing when Launcher settings popup is visible" into main 2023-12-07 23:30:25 +00:00
Vadim Tryshev 76dd9d4eb9 Inserting waiting for wallpaper animation into "back" gesture from app to workspace
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ib0f6d62de5caba00823618bdf661d0e4f27e5650
2023-12-07 14:50:42 -08:00
Vadim Tryshev d7ef3b4486 Merge "Waiting for Launcher stop when dropping a widget that starts an activity" into main 2023-12-07 22:41:50 +00:00
Sebastian Franco 957e4e513e Make all tapl test start with Tapl
Flag: NA
Bug: 298234173
Test: only test name change
Change-Id: Ib2e67a569599568cf1e681a7f1ac44924da83b84
2023-12-07 22:27:53 +00:00
Vadim Tryshev fd07533f37 Better diagnosing when Launcher settings popup is visible
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I27c28ae5914b8b4d96133afafefc93f650f2eda1
2023-12-07 14:00:53 -08:00
Sunny Goyal 522dfa139a Adding test for folder preview loading
Bug: 315352494
Test: atest FolderIconLoadTest
Flag: N/A
Change-Id: Idcef30427b8ea637eb98b1a7a0d2eda09abd0837
2023-12-07 12:11:38 -08:00
William Leshner 5836cec7ec Merge "Show Launcher's widget picker in an activity." into main 2023-12-07 19:23:58 +00:00
Tony Wickham 1482ec384c Merge "Remove ENABLE_TRANSIENT_TASKBAR and long-press stash support" into main 2023-12-07 19:11:07 +00:00
Vadim Tryshev d987586323 Disable alpha jump detector
The detector flakes, and I have no bandwidth now to take care of it.

Bug: 309014345
Test: presubmit
Flag: N/A
Change-Id: I97b02736354274a97ed0eb4eb71773a5c858cae4
2023-12-06 18:57:33 -08:00
Vadim Tryshev 4b3cc96ac2 Waiting for Launcher stop when dropping a widget that starts an activity
This will help to ensure that Launcher state has settled before continuing the test.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I810c3bd1da2839a482422396536acd664f3e4b82
2023-12-06 18:46:14 -08:00
Vadim Tryshev 286581ebf2 Partially reverting waiting for animation when setting widget result
It flakes, i.e. sometimes the animation is not detected.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I829e4124879c3a3abe78762a8d04fcd0494f5b1a
2023-12-06 18:15:52 -08:00
Tony Wickham 18551f29fe Remove ENABLE_TRANSIENT_TASKBAR and long-press stash support
Flag: NA
Test: manual, TaplTestsTaskbar, TaplTestsPersistent, TaplTestsTransient
Fixes: 270395798
Change-Id: I4ecf5ddcd1206e846538175c684043c5e065fd5d
2023-12-06 22:13:10 +00:00
Vadim Tryshev 0156324805 Merge "Waiting for wallpaper animation in widget tests only for Nexus Launcher" into main 2023-12-06 20:23:04 +00:00
Vadim Tryshev c0fc0d2b0b Waiting for wallpaper animation in widget tests only for Nexus Launcher
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I6235b2ffc66db9f32ce998523cad74bb239588d0
2023-12-06 10:21:50 -08:00
Tony Wickham 5a26b1ce0f Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main 2023-12-06 18:06:44 +00:00
Jordan Silva c0c1999e8f Merge "Update TaplOpenCloseAllApps click position to dismiss All Apps" into main 2023-12-06 17:53:45 +00:00
Jordan Silva 6728f40220 Update TaplOpenCloseAllApps click position to dismiss All Apps
After enabling responsive grid all apps container for tablet got wider. The previous calculation to click outside the All Apps container for this test no longer works.
This CL updates the click position to click after the All Apps scrollbar position. Also it changes the click to be right next to the container and not halfway to the edge. The calculation to get the position halfway to the edge was leading to a invalid click position where the click was happening inside the 24dp limit of the edge, and it was not dismissing the AllApps container.

Fix: 315076033
Fix: 315084703
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: TaplOpenCloseAllApps
Test: TaplTestsTaskbar
Change-Id: I38bcdb4e0d4c27f35a16fa04411c65627bc88b11
2023-12-06 12:12:03 -03:00
Vadim Tryshev 42476cc355 Merge "Waiting for wallpaper animation completion when configuring new widget" into main 2023-12-06 01:43:07 +00:00
Vadim Tryshev 878784aa2d Merge "Waiting for Launcher activity to stop in OverviewTaskMenu.tapAppInfoMenuItem" into main 2023-12-05 21:34:23 +00:00
Vadim Tryshev 61434924f0 Waiting for wallpaper animation completion when configuring new widget
This will help to ensure that Launcher state has settled before continuing the test.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ice7ae8a2517d68c53d135a34cc33e11f3203f788
2023-12-05 13:32:41 -08:00
Jordan Silva 85cea3e07b Merge "Update ReorderWidget tests to drag and drop widget inside the board" into main 2023-12-05 21:18:29 +00:00
Will Leshner 9dce65e05a Show Launcher's widget picker in an activity.
Bug: 307306823
Test: atest Launcher3Tests
Flag: NA

Change-Id: I28ef731abcdf1bd44c66366d42a135912dbcc5be
2023-12-05 13:12:05 -08:00
Tony Wickham d546564f3e 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: Ie7b8fcedb94e33742b7bf18cb829dab55af74b7d
2023-12-05 20:38:41 +00:00
Sebastián Franco 8d07e2f80a Merge "Adding ReorderParameters to ReorderAlgorithm" into main 2023-12-05 19:03:05 +00:00
Jordan Silva 21cdba04c3 Update ReorderWidget tests to drag and drop widget inside the board
Fix: 314946012
Flag: N/A
Test: ReorderWidgets
Change-Id: I9e160e76a1fff568af9b21bebc46ef11fb97b962
2023-12-05 10:55:31 -03:00
Satish Yalla b85266aef2 Merge "Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."" into main 2023-12-05 10:21:18 +00:00
Satish Yalla de82f8f44f Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."
Revert submission 25532044-tapl-transient-taskbar-default

Reason for revert: <test revert (b/314873201)>

Reverted changes: /q/submissionid:25532044-tapl-transient-taskbar-default

Change-Id: I51e78699f588a8fe8506c96398de921448e0ab6a
2023-12-05 06:48:25 +00:00