Pat Manning
c7087e8f9f
Do not consume hover events not coming from cursor for a11y.
...
Fix: 283041221
Test: TaplTestsTransientTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I95e9ded6873173ea001c82d6319716a2d48b3bad
2023-08-22 09:17:04 +00:00
Pat Manning
bd4e77ccf7
Merge "Check taskbar stash state for hover only on hover events." into udc-qpr-dev
2023-08-21 18:18:10 +00:00
Pat Manning
3447016c66
Check taskbar stash state for hover only on hover events.
...
Fix: 293419351
Test: TaplTestsTransientTaskbar.
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I86d166d71dc5d41a7c4e450584e8948db96bf199
2023-08-18 14:45:48 +00:00
Treehugger Robot
bc6e67da45
Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev
2023-08-17 23:12:08 +00:00
Pat Manning
39521ce7a5
Add test to dismiss AllApps by swipe up to home gesture.
...
Fix: 292080259
Test: TaplTestsLauncher3
Change-Id: I6053078cbfaf37d26c11376aecd21ba4edcbba44
2023-08-17 12:25:41 +01:00
Pat Manning
dc90a46e77
Skips checking for overview actions when grid only overview flag is enabled.
...
Fix: 296060682
Test: TaplTestsQuickstep
Flag: ENABLE_GRID_ONLY_OVERVIEW
Change-Id: If8ef23767350dbbcf80294abf6b93eebe57d3487
2023-08-15 16:55:23 +01:00
Pat Manning
ccf611234a
Add test to access overview app menu.
...
Approved tapl DD: go/tapl-overview-task-menu-app-info
Fix: 292081139
Test: TaplTestsQuickstep.
Change-Id: Ic74267ec80b0a8c6af502a445d355f0420d8f569
2023-08-02 17:20:03 +01:00
Tracy Zhou
bfef402e1e
Add quick switch to trackpad gesture tests
...
Bug: 23895346
Test: presubmit
Change-Id: I85f3e010757595763f58ea81a13671fe49604b76
2023-07-25 10:55:40 -07:00
Tracy Zhou
dc6d7e1e51
Merge "Add pressBack test to TaplTestsTrackpad" into udc-qpr-dev
2023-07-24 16:32:19 +00:00
Brandon Dayauon
6dc98ad842
Merge "Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev
2023-07-24 14:37:28 +00:00
Tracy Zhou
c9968e6c5c
Add pressBack test to TaplTestsTrackpad
...
Bug: 281732733
Test: presubmit
Change-Id: Iba1b9073d8bf2050c2862ddf81612472b38ea607
2023-07-21 18:52:41 -07:00
Brandon Dayauon
df4dfdba4d
Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH
...
PM said we can enable ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH flags.
Since I am enabling two-line text for all apps, it's possible that the text would have other texts within the app name itself. For example, if a title of an app is long for example "Amazon Shopping" the title can now be like "Amazon\nShopping". For tests to recognize its "Amazon shopping", I am resorting to identifying the app title based on the content description.
Turn on the two feature flags in another CL
bug: 287307252
test: manual
Change-Id: I8bdc3db710514c9098ccb5d9781a100ac9b35eab
2023-07-21 20:15:19 +00:00
Pat Manning
d35d630745
Merge "Sends user home when stashed taskbar handle is clicked." into udc-qpr-dev
2023-07-19 18:24:06 +00:00
Tracy Zhou
29deae51ee
Fix testAllAppsFromHome failure
...
Fixes: 291072758
Test: presubmit
Change-Id: If2cd0d5d67ab5b2b4b6ca918b6e7a8777ee9f030
2023-07-13 09:52:42 -07:00
Tracy Zhou
db476c3921
Introduce multi finger trackpad gestures to tapl tests
...
- Add tests to go to overview from home and all apps
Bug: 281732733
Test: presubmit
Change-Id: Ief6d72d7293ca7dff935e764362aa5ab271fd36b
2023-07-12 19:52:04 -07:00
patmanning
2c1860e8c6
Sends user home when stashed taskbar handle is clicked.
...
TAPL, see: go/tapl-taskbar-hover-states
Fix: 249852605
Test: TaplTestsTransientTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: If3c31b9b43a7361bc4e1a97395486249a44ad0f6
2023-07-05 22:18:01 +01:00
Tracy Zhou
323958007d
Add initial trackpad tapl tests
...
- go home
Bug: 281732733
Test: presubmit
Change-Id: I538d63bde2bf427a02c2bc355eab71546d667bf9
2023-07-03 10:50:54 -07:00
Schneider Victor-tulias
67ca528591
Update TestProtocol.REQUEST_CLEAR_DATA to properly clear the workspace
...
Flag: not needed
Fixes: 287097473
Test: TaplTestsLauncher3
Change-Id: I980a68dff8b475ce8f7b86284663f697b7bc2b57
2023-06-28 10:37:44 -07:00
Sunny Goyal
ee9740462e
Simplifying some test utility methods
...
Bug: 283821111
Test: Presubmit
Flag: N/A
Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
2023-06-02 13:30:55 +00:00
Sunny Goyal
cbb13841f5
Merge "Revert "Add hover state border line to overview task item by usi..."" into udc-qpr-dev
2023-06-01 21:39:15 +00:00
Sunny Goyal
8dbdd3d702
Revert "Add hover state border line to overview task item by usi..."
...
Revert submission 23378417-cherrypick-overview-border-249859410-786docmioso
Reason for revert: flaky implementation
Reverted changes: /q/submissionid:23378417-cherrypick-overview-border-249859410-786docmioso
Change-Id: I6792fc25dbbd80db24df93ebd7a974b0dc0ba5d5
2023-06-01 21:29:13 +00:00
Helen Cheuk
ed4c2acf58
Merge "Add hover state border line to overview task item by using the same approach used by keyboard focus state" into udc-qpr-dev
2023-06-01 15:45:01 +00:00
Treehugger Robot
77b9c764b8
Merge "Removing memory object checks based on "dumpsys meminfo"" into udc-dev am: c0f24b4e7e am: 243011384c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23421682
Change-Id: I24e31426f5973cd04c6737ee452d45370a3acc80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 00:53:50 +00:00
helencheuk
64975ae992
Add hover state border line to overview task item by using the same approach used by keyboard focus state
...
Reviewed TAPL DD: https://docs.google.com/document/d/1OmCLgTDw3gFOMXjEvH0W1XoAe0n2J5pPdyMcAHtflMA/edit?resourcekey=0-bXle-rOnQqOR_RJBffRybQ
Fix: 249859410
Test: OverviewTaskImageTest
Change-Id: Ic9ce4e9fe90f38a4bf4be6c7deed302a12a3192a
2023-05-30 21:30:14 +01:00
vadimt
efe75cecad
Removing memory object checks based on "dumpsys meminfo"
...
This "dumpsys meminfo" can return phantom references that we have no control over and that can break all counting.
Given that the removed code haven't found issues in the past, and that we have Launcher activity counting implemented via TestProtocol.REQUEST_GET_ACTIVITIES, removing all "dumpsys meminfo" code.
Test: presubmit
Bug: 260260325
Flag: N/A
Change-Id: Ic80a6145d76d7cddfedad5328cb141a955b1eaf5
2023-05-24 18:06:19 -07:00
Thales Lima
ec06cd1039
Merge "Create TAPL test for taskbar in overview" into udc-dev am: ac206e1daf am: dd2c541ffe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23155127
Change-Id: Id3659cc04359e2cdf0efca8ab2b5e7ae286696cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 19:58:12 +00:00
Thales Lima
1f10e53ba2
Create TAPL test for taskbar in overview
...
Fix: 269985301
Test: TaplTestsQuickstep
Flag: none
Change-Id: Iea0311bcba54882f7f2cf5d35cd98a538ae85855
2023-05-23 13:22:10 +00:00
Tracy Zhou
6a71c2a6f5
[Trackpad] Gesture navigation in 3-button mode
...
Back gesture will be in a separate change
Bug: 279948218
Test: https://recall.googleplex.com/projects/3388b17c-d22f-46f8-b140-a102690377b4/sessions/0b8e838a-89b0-4451-ad44-df2916db877d
Change-Id: I1f14ca873efa33684e36ac1f0f72d766815752ae
2023-05-21 22:45:37 -07:00
patmanning
419cac7ab3
Exit hover after taskbar unstash to clean up events between tests.
...
Fix: 281068877
Test: TaplTestsTaskbar
Change-Id: I5cbac63cb96788bf84bf5dc0e60a7d5c579c1438
2023-05-09 11:10:46 +00:00
Brandon Dayauon
1ee28cd273
Merge "ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)" into udc-dev
2023-05-05 20:49:58 +00:00
Qiao Yang
1aee68df56
Merge "Revert "Revert "Listen for hover events over stashed taskbar.""" into udc-dev
2023-05-05 19:09:44 +00:00
Qiao Yang
2482c8dcd4
Revert "Revert "Listen for hover events over stashed taskbar.""
...
This reverts commit c27605099c .
Reason for revert: DroidMonitor-triggered revert due to breakage <https://android-build.googleplex.com/builds/quarterdeck?branch=git_udc-dev&target=cf_x86_64_phone-userdebug&lkgb=10076607&lkbb=10076982&fkbb=10076788 >, bug <281093059>
Change-Id: I71e7fd07232c27a004243df0ffb0457fe53fe13b
2023-05-05 19:07:17 +00:00
Qiao Yang
51669b612f
Merge "Revert "Listen for hover events over stashed taskbar."" into udc-dev
2023-05-05 18:05:16 +00:00
Pat Manning
c27605099c
Revert "Listen for hover events over stashed taskbar."
...
This reverts commit c5882bcdfc .
Reason for revert: b/281068877
Change-Id: I431678658fc464c995df0df5e3cac5491d91b052
2023-05-05 17:22:21 +00:00
Brandon Dayauon
017e7a2e06
ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)
...
- modified test so enabling two line all apps work
- have appIconSelector() select from content description
bug: 275116822
test: manual
Change-Id: Id3ccc6859b55d6b8a80ca509d420409d484207cf
2023-05-04 19:37:48 -07:00
Treehugger Robot
b6f64a4465
Merge "Listen for hover events over stashed taskbar." into udc-dev
2023-05-04 23:15:44 +00:00
Pat Manning
c5882bcdfc
Listen for hover events over stashed taskbar.
...
Bug: 243191650
Test: TaplTestsTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: Ia189ac6a6097d073c40c69ead6ecaf398d22eba8
2023-05-04 20:35:44 +01:00
Pat Manning
fb9687dded
Merge "Change hover state based on color selector" into udc-dev
2023-05-04 10:17:35 +00:00
Jagrut Desai
8818b17337
Revert to Fix AddConfigWidgetTest
...
- we were checking the widget being valid and bound after we are accepting the config
- solution is to revert back to test before and check post result after be check if widget is valid and bound.
making sure that ShellCommandRule is checking for success,
refactor for AddConfigWidgetTest with extra launcher wait condition.
Test: none
Bug: 276794291
Flag: not needed
Change-Id: I4a6caf0851a947da03711b2a5d5bc9f736a47f95
2023-05-03 18:03:33 -07:00
patmanning
f8bfdef4c0
Change hover state based on color selector
...
Fix: 278046965
Test: OverviewActionsMenuImageTest.
Change-Id: I5190510dabb3b515e6e8939f57d56ffb14c28fbd
2023-05-03 13:23:40 +01:00
Winson Chung
c8ad4f7f43
Wait for shell drop target to be ready for handling drags in tests
...
- Wait for the shell drop target to be made visible and drawn before
attempting to continue with the drag gesture
Bug: 234653212
Test: atest NexusLauncherTests
Change-Id: Ida851343873b51288460f25bba062f29019005d4
2023-05-02 05:29:36 +00:00
Vadim Tryshev
2b24e53531
Merge "Better diagnose Launcher state when there is an open folder." into udc-dev
2023-04-21 00:39:15 +00:00
vadimt
9f49e5f33f
Better diagnose Launcher state when there is an open folder.
...
Without this change, the diag is:
visible state is LaunchedApp (active app: com.google.android.apps.nexuslauncher)
https://android-build.corp.google.com/test_investigate/?testResultId=TR37728586113816784&invocationId=I13000010147719553&tab=trace
Test: presubmit
Bug: 187761685
Change-Id: Ia2425a09408d7e1a9c22d0a65fc4ab31cc793a46
2023-04-20 13:59:39 -07:00
Sebastián Franco
051a1e35c8
Merge "Make functions private to keep TAPL design consistent" into udc-dev
2023-04-19 23:45:14 +00:00
Sebastian Franco
c42520965f
Make functions private to keep TAPL design consistent
...
Bug: 266116487
Test: compiles
Change-Id: I22b612e4bc1a7424af3702474b709426fcfcb6ef
2023-04-18 13:43:10 -07:00
Brian Isganitis
01be7eeb57
Properly compute scroll for Taskbar All Apps.
...
It was hooked up to Launcher All Apps scroll, which is a separate
instance from Taskbar.
Test: atest WMShellFlickerTests
Fix: 270770472
Change-Id: I14b11c8b5f1143886dd5976a12bba9e4ee66aa96
2023-04-17 18:19:54 +00:00
Sunny Goyal
ab2f808196
Using a runtime generated layout for tests instead of defining xml
...
This allows support for easily setting up default layouts
Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
2023-04-12 22:54:14 +00:00
Vadim Tryshev
f1fe64eb95
Merge "Not spamming logs with "Hierarchy before swiping up to home"" into udc-dev
2023-04-11 02:04:50 +00:00
vadimt
22b1daea5e
Not spamming logs with "Hierarchy before swiping up to home"
...
Bug: 260260325
Test: presubmit
Change-Id: I74e0729ae62656a235eb71e443a2ddf9a6cae3f9
2023-04-10 15:19:48 -07:00
TreeHugger Robot
7163918dd0
Merge "Show suggested widgets header only when there are suggested widgets" into udc-dev
2023-04-02 22:47:07 +00:00