Uwais Ashraf
e0a4feb664
Rename Tapl tests that do not match *Test.(kt|java) for easier groups
...
Test: presubmits passing
Bug: 316551909
Flag: NA
Change-Id: Ib2070d7610927777376acf0ddefcbc90e582e6f6
2023-12-19 11:54:10 +00:00
Vadim Tryshev
de1e88da74
Waiting for Fallback Overview to stop after pressing Home
...
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I1128ca6eabe29e02d8039445696f7a006f6448bf
2023-12-17 15:45:51 -08:00
Vadim Tryshev
ae625f3d6a
Merge "Converting more pressBack calls to calls that wait for animation" into main
2023-12-15 18:07:20 +00:00
Vadim Tryshev
56a5898331
Merge "Waiting for Fallback Overview to stop after pressing Home" into main
2023-12-15 18:04:55 +00:00
Jeremy Sim
9330619ee0
Fixes crash when launching app pairs with intent+intent
...
This CL adds a new case for app pair launches. When we launch app pairs with intents, we receive initialTaskId and secondTaskId as -1, which was previously unhandled and caused a crash. With this change, we find the left/top app leash a different way, by looking for windowingMode=WINDOWING_MODE_MULTI_WINDOW and endAbsBounds.left/top == 0.
Fixes: 316050315
Test: Clear all running tasks from Overview, launch app pair, no longer crashes
Flag: ACONFIG com.android.wm.shell.enable_app_pairs DEVELOPMENT
Change-Id: Ic356d71ad267f079242213ebc59322bf1fb86b7c
2023-12-15 17:17:24 +09: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
d757e0c978
Waiting for Fallback Overview to stop after pressing Home
...
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ibbd7faad1f67e2013e3a1d4d9abcc3306729cbc0
2023-12-12 16:30:00 -08:00
Vadim Tryshev
d48279bf1d
Merge "Disabling ViewCaptureRule" into main
2023-12-12 23:10:57 +00: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
Jagrut Desai
2be2b93256
Merge "TaskbarPinningController Unit Tests" into main
2023-12-12 16:19:00 +00:00
Jeremy Sim
160225029d
Merge "App Pairs: Launch animation" into main
2023-12-12 00:58:49 +00:00
Jagrut Desai
70de8a4823
TaskbarPinningController Unit Tests
...
Test: Presubmit
Bug: 265439107
Flag: NONE
Change-Id: I5da3558adf88126b07c5d6217ee4fbbcc1e2e348
2023-12-11 14:46:55 -08:00
Sebastián Franco
1b86ab623f
Merge "Testing if the test failing is because of an incorrect state" into main
2023-12-11 21:47:24 +00:00
Sebastian Franco
08d31d2595
Testing if the test failing is because of an incorrect state
...
Bug: 315525621
Flag: NA
Test: TaplTestsQuickstep#testPressBack
Change-Id: Iba41abac8e808fadd9e0513d8c0386bbfd63fdd6
2023-12-11 20:39:15 +00:00
Jeremy Sim
23fcbf2f73
App Pairs: Launch animation
...
[App Pairs 7/?]
This patch implements the app pair launch animation from icon. Adds a new function, composeFadeInSplitLaunchAnimator(), in SplitAnimationController, that builds the combined launcher + shell animation.
Bug: 309618233
Flag: ACONFIG com.android.wm.shell.enable_app_pairs DEVELOPMENT
Test: Manual
Change-Id: I8e95f629ae2a71f1bd6cbb356f5e33233e5c2906
2023-12-11 13:09:06 +09:00
Jeremy Sim
2987d95ba4
App Pairs: Implement Taskbar functionality
...
[App Pairs 8/?]
This CL adds taskbar functionality for app pairs:
- Ability to drag an app pair icon to Taskbar
- App pair launch from Home Taskbar
- App pair launch from Overview Taskbar
- App pair launch from in-app Taskbar
KNOWN ISSUES:
- Bug (b/315190686): if user is inside a running split pair and attempts to launch the same pair from an app pair icon on taskbar, Overview tiles get temporarily messed up (recoverable by leaving Overview)
- User can attempt to split with an app pair icon on the Taskbar. This should result in a "can't split with this" bounce animation on the SplitInstructionsView (to be implemented). Currently does nothing.
Bug: 274835596
Flag: ACONFIG com.android.wm.shell.enable_app_pairs DEVELOPMENT
Test: Manual
Change-Id: I5256547af236fc2deeb192d60bfe1f2b7ddc5647
2023-12-08 15:07: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
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
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
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
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
Tony Wickham
2f334e9ca7
Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main
2023-12-05 02:40:02 +00:00
Pat Manning
bf6905c069
Merge "Navigate grid overview via arrows and tab properly." into main
2023-12-01 12:23:21 +00:00
Pat Manning
e683c4c549
Navigate grid overview via arrows and tab properly.
...
Fix: 311646336
Fix: 281021558
Test: TaskGridNavHelperTest
Flag: N/A
Change-Id: Iad5a2eec22f8fa4519a6a1f7bcde097e00d6b142
2023-12-01 11:06:41 +00:00
Pat Manning
001d1cda52
Merge "Allow right-click of taskbar icons to launch long-click menu." into main
2023-11-30 10:56:46 +00:00
Sebastián Franco
4a708997a1
Merge "Moving the static initialization method from TaplTestsLauncher3 to AbstractLauncherUiTest" into main
2023-11-28 18:32:58 +00:00
Vadim Tryshev
8f2dc92364
Merge "Permanently demoting stress tests from presubmit to speed up presubmits" into main
2023-11-28 02:38:25 +00:00
Vadim Tryshev
5feaf596e6
Permanently demoting stress tests from presubmit to speed up presubmits
...
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ib2edf419ad556d2a4bf5c77b5c026829f9b413b9
2023-11-27 11:54:22 -08:00
Helen Cheuk
946a2493eb
Merge "Not show hover border on select mode" into main
2023-11-27 14:21:29 +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
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
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
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
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
Alex Chau
5fc3b8ca9f
Merge "Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet" into main
2023-11-16 19:57:36 +00:00
Vadim Tryshev
f450938474
Merge "Removing obsolete ScreenRecord annotations" into main
2023-11-16 19:36:28 +00:00
Vadim Tryshev
070ca176c3
Merge "Removing obsolete ScreenRecord annotation" into main
2023-11-16 19:16:42 +00:00
Alex Chau
0f1be48319
Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet
...
Bug: 309820115
Test: None
Flag: None
Change-Id: I03eba051bc766482ff27b63487e9587d58770619
2023-11-16 10:21:57 +00:00
Sergey Pinkevich
172eb5896b
Merge "Show split screen action for each task" into main
2023-11-16 10:03:44 +00:00
Fengjiang Li
1da44348cf
Merge "Add unit test for RecentsAnimationDeviceState.java" into main
2023-11-15 23:05:32 +00:00
Vadim Tryshev
057f1817c4
Removing obsolete ScreenRecord annotation
...
Bug: 242163205
Test: presubmit
Flag: N/A
Change-Id: I6adc0612b3daa13fce73e610cc1017d484a21a2e
2023-11-15 13:41:53 -08:00
Vadim Tryshev
d70bd21271
Removing obsolete ScreenRecord annotations
...
Bug: 231615831
Test: presubmit
Flag: N/A
Change-Id: I85060757a11c9737ee9f6128da1f055f5056fe98
2023-11-15 13:39:19 -08:00
Fengjiang Li
b3007a9e3d
Add unit test for RecentsAnimationDeviceState.java
...
Bug: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Iaa1a7cff547e03eaacc950702c2e7cd34846e987
2023-11-15 13:01:51 -08:00
Vadim Tryshev
ebf08d8b75
Having longer period of waiting for Launcher restart only in Launcher test suites
...
This will help to avoid breaking other test suites by this increase.
Bug: 311023703
Test: presubmit
Flag: N/A
Change-Id: Ia91b03b72fa6592684e7a1673b9b56448f637dd4
2023-11-15 13:00:37 -08:00
Pat Manning
8c6dc7368e
Merge "Delete flag-based test now that flag is on by default in staging where tests run." into main
2023-11-15 15:45:59 +00:00
Sergey Pinkevich
ead5259f9a
Show split screen action for each task
...
Remove previous condition:
1. `taskView.containsMultipleTasks()` - there is already a check to filter out "Split screen" item: https://googleplex-android.googlesource.com/platform/packages/apps/Launcher3/+/refs/heads/main/quickstep/src/com/android/quickstep/TaskOverlayFactory.java#68
Edit previous condition:
2. `notEnoughTasksToSplit` - condition saying if there is less than 2 recent tasks. We still should give the possibility to split the screen if Taskbar is not presented
Bug: 305958994
Flag: NONE
Test: manual - took a photo (https://screenshot.googleplex.com/7doU5z9AjxxETUo )
Change-Id: I3fdfea987c426d557a91b0a25af368069e8af3f8
2023-11-15 15:14:50 +00:00
Pat Manning
dc24da900f
Delete flag-based test now that flag is on by default in staging where tests run.
...
Fix: 309921805
Test: None.
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: I19339253487c6cb30ab02ee6f824efa520f878b9
2023-11-15 14:18:36 +00:00
Jagrut Desai
cd016b5a41
Merge "Revert "Revert "Remove TaplTestsQuickstep tests from PlatinumTes..."" into main
2023-11-14 02:39:14 +00:00