Pat Manning
1a2e1ea4fc
Merge "Add screenshot test for edit state drop targets." into tm-qpr-dev am: 956631ec3a am: 423ad32120
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19852201
Change-Id: Ic7287a3a8e99e3b82c0fd28e3e4d0c14044c299f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-14 14:09:26 +00:00
Pat Manning
956631ec3a
Merge "Add screenshot test for edit state drop targets." into tm-qpr-dev
2022-10-14 12:49:09 +00:00
Sebastián Franco
28f5901264
Merge "Fix ReorderWidgets by removing faulty 4x4 cases" into tm-qpr-dev am: 9eeeeacf30 am: 35c4d65dc2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20003360
Change-Id: Iee094d591a60938cd2ba54ac7e66e45b23fdbf92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-07 21:38:44 +00:00
Sebastián Franco
9eeeeacf30
Merge "Fix ReorderWidgets by removing faulty 4x4 cases" into tm-qpr-dev
2022-10-07 20:33:41 +00:00
Ming-Shin Lu
cb4f9b8dc5
Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev am: 8ff85dc733 am: 6013ab3776
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20064292
Change-Id: I6aaeb6efe4af83a5c8621cceb3154be4d53be58c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-05 07:47:04 +00:00
Ming-Shin Lu
4d4f62ac77
TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation
...
As now FlickerTests is leveraging TAPL to interact devices CUJs,
we realized in LauncherInstrumentation will verify task bar visibility
automatically to expect it always visible when quick-switch, which is
not always reliable since the task bar may be hidden by manual or
when the activity requests to show IME.
Add setIgnoreTaskbarVisibility in LauncherInstrumentation for the caller
to ignore taskbar visibility if the test does not need to verify it.
Bug: 228012334
Bug: 240306344
Test: atest FlickerTests:SwitchImeWindowsFromGestureNavTest
in tablet device
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.\
TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Change-Id: Id0a35561523d733b8434acb702ec7dcaa466a1c2
2022-10-05 11:37:37 +08:00
Pat Manning
a34a9a0a18
Add screenshot test for edit state drop targets.
...
see: go/tapl-run-on-hold-event
Bug: 241386128
Test: HomeScreenImageTest.java
Change-Id: I5d6421c8da7d06a9eb77da249957c64d413524f1
2022-09-29 11:12:31 +01:00
Sebastian Franco
a44d255c8f
Fix ReorderWidgets by removing faulty 4x4 cases
...
Fix: 242323136
Test: atest ReorderWidgets (the device has to be cf_x86_64_phone-userdebug)
Change-Id: Ic545409ecc20420be6c7377513c704822dbaf75e
2022-09-27 09:37:54 -05:00
Vadim Tryshev
8cfd3f699d
Merge "Verifying a theory that sometimes a leak disappears while saving an object dump" into tm-qpr-dev am: af91a58659 am: c7f9e903bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20009128
Change-Id: Icc1ff73190b117b1f1560daca9c8e2f9e147827f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 06:27:23 +00:00
vadimt
592b3f9885
Verifying a theory that sometimes a leak disappears while saving an object dump
...
Bug: 241585675
Test: presubmit
Change-Id: If9c559619507002ed7ec4b1a8b96a5f62e2dbe41
2022-09-21 10:56:04 -07:00
TreeHugger Robot
8eed4f30a9
Merge "Explicit Nullbility in Launcher (Part 5)" into tm-qpr-dev am: 69c04c21c5 am: ab6be24eec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19976255
Change-Id: Ie607c03fb5aa6ca01648ebfeeba10cecf2d3bf80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-19 18:30:23 +00:00
TreeHugger Robot
69c04c21c5
Merge "Explicit Nullbility in Launcher (Part 5)" into tm-qpr-dev
2022-09-19 17:12:40 +00:00
TreeHugger Robot
ca5a1a6c60
Merge "Updating the scroll calculation from recyclerView to avoid view inflation" into tm-qpr-dev am: 860657a5f2 am: cd4951f54b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19469421
Change-Id: I5f9c405e1bff93b3e96b051bcb9b6ad0a87eecb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-17 01:14:58 +00:00
Pinyao Ting
777c13eb00
Explicit Nullbility in Launcher (Part 5)
...
This CL addresses the nullbility in LauncherModel and update tasks.
Bug: 242895652
Test: manual
Change-Id: Ied635c944c3656f0d493b295f772aa0329b354b9
2022-09-16 17:17:16 -07:00
TreeHugger Robot
860657a5f2
Merge "Updating the scroll calculation from recyclerView to avoid view inflation" into tm-qpr-dev
2022-09-16 23:07:54 +00:00
Sebastián Franco
f1aa20d811
Merge "Revert "Prevent dragging widgets to another page in tests when starting a drag."" into tm-qpr-dev am: 09a98dfdbd am: 47c78bed9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19969101
Change-Id: I01ad05d37ca822f501e6f2520249734c7e9de167
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-16 17:52:11 +00:00
Sebastián Franco
09a98dfdbd
Merge "Revert "Prevent dragging widgets to another page in tests when starting a drag."" into tm-qpr-dev
2022-09-16 16:49:26 +00:00
Sebastián Franco
a798be2ff5
Revert "Prevent dragging widgets to another page in tests when starting a drag."
...
This reverts commit 749b2b8493 .
Reason for revert: Causing tests to fail b/246972374
Change-Id: I9fc1f6d2e924f4ac5484c6674fd0adf49d04536f
2022-09-15 21:19:12 +00:00
Sebastián Franco
b35ae4fc42
Merge "Prevent dragging widgets to another page in tests when starting a drag." into tm-qpr-dev am: 610db4fc94 am: 0eaacbc644
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19945446
Change-Id: Id8e822bf084248c7618cd23837ccb1f558eedc64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-15 18:22:33 +00:00
Sebastián Franco
610db4fc94
Merge "Prevent dragging widgets to another page in tests when starting a drag." into tm-qpr-dev
2022-09-15 17:19:42 +00:00
Alex Chau
019f5c4324
Remove ScreenRecord for a test
...
- ScreenRecord might have increased flankiness of a test, reverting to verify
Bug: 242163855
Bug: 243688989
Change-Id: I6578a5ce2498f68e9b0102a2d9cb5bce91422f85
2022-09-15 05:12:08 +00:00
TreeHugger Robot
fb77b34d1d
Merge "Change wallpaper depth in widget picker" into tm-qpr-dev am: 3ded296cee am: 9c43626a36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19852193
Change-Id: Ie17c03949c3ac30156129182fec88f19cfb46e1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-13 23:38:23 +00:00
Sebastian Franco
749b2b8493
Prevent dragging widgets to another page in tests when starting a drag.
...
The function Launchable.startDrag it's supposed to grab and icon or widget
and start the dragging by moving it only in the verticall position but
because it uses the coordinates of the object before entering the
SPRING_LOADED_STATE_ORDINAL state then the coordiates where it moves
are outisde of the cell layout and it moves to a new page. This only happens
if the phone is too slow and it triggers the page change, otherwise it would
be too fast.
To fix it, I'm moving the icon/widget to the center of the screen minus
getStartDragThreshold() to ensure the drag is always triggered.
Fix: 242323136
Fix: 244224955
Fix: 241019568
Fix: 241583798
Test: atest ReorderWidgets
Change-Id: I0e431b994aa4a3d5c8be45b6c73263732553b36c
2022-09-13 15:54:58 -07:00
TreeHugger Robot
3ded296cee
Merge "Change wallpaper depth in widget picker" into tm-qpr-dev
2022-09-13 18:46:53 +00:00
Sebastián Franco
7ec80322bb
Merge "Add hotseat icons to TestWorkspaceBuilder and submit everything in a batch" into tm-qpr-dev am: 5587ef3262 am: 1163c5ea7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19759371
Change-Id: I9a9f63c26ce8184f0c0cc1f8b4073f17e8b21726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-13 18:09:10 +00:00
Sebastián Franco
5587ef3262
Merge "Add hotseat icons to TestWorkspaceBuilder and submit everything in a batch" into tm-qpr-dev
2022-09-13 16:53:36 +00:00
Alex Chau
3d2c062567
Change wallpaper depth in widget picker
...
- Also changed widget picker open/close duration, refactored the values into DeviceProfile
- Generalized MultiAdditivePropertyFactory to accept aggregator as parameter
Bug: 240580498
Test: manual
Change-Id: I6886ca514593e404b8d7b0e8ed44f20ec2b77c73
2022-09-13 12:20:56 +08:00
Sunny Goyal
20bbe95ddb
Updating the scroll calculation from recyclerView to avoid view inflation
...
> Updating the LayoutManager's scroll calculation instead of a separate
implementation to better support recyclerView's calculations
> Caching the view sizes during layout to avoid view-inflation for
unknown types
> Fixing scrollbar jump during scroll when widget list is expanded
> Fixing scrollbar never reaching end when onboarding card is displayed
in work tab
Bug: 240343082
Test: Verified on device that new views are not inflated
Change-Id: Ied11ccf65b053691c5c126c4bf8de306ec24786d
2022-09-12 12:24:34 -07:00
Sebastian Franco
5434c9d370
Add hotseat icons to TestWorkspaceBuilder and submit everything in a batch
...
Now TestWorkspaceBuilder has the logic to add hotseat icons and
the operations to add items to the Workspace is done in batches
which is faster and more stable. To submit everything in batches
it uses the FavoriteItemsTransaction.
This improves the design because TestWorkspaceBuilder and
HomeScreenImageTest belong to the Test layer and they should
only deal with the logic to run a test and TestWorkspaceBuilder
is the Model layer and holds all the logic to interact with the
Launcher model/data, so this separates the concern of each class.
Also, chagned the name from CellLayoutBoardBuilder to
TestWorkspaceBuilder to make it clearer.
Bug: 243440737
Bug: 235518637
Bug: 242323136
Test: atest HomeScreenImageTest
Test: atest ReorderWidgets
Change-Id: I14eef064fade153b8362537743b061958bb3071d
2022-09-12 10:54:53 -07:00
Qing Wang
67e22eff1f
Add tests to Launcher P0 CUJ Homescreen navigation via TAPL. am: 30c3552e7e am: 46320961b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19773679
Change-Id: I4f1b1330c4084e09c6af077803c9abbc17d57d46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-10 20:39:36 +00:00
Qing Wang
30c3552e7e
Add tests to Launcher P0 CUJ Homescreen navigation via TAPL.
...
1. Implement API to help to get page count.
2. Add test add and delete page.
Bug: 241685418
Bug: 232584721
Test: android.platform.test.scenario.launcher.integration_tests.ScreenNavigationTests#testAddAndDeletePageAndFling
Change-Id: I2e04b9ef1f2ca65ba14d6939b7b51fead6b6f6ca
2022-09-10 17:46:24 +00:00
TreeHugger Robot
7389ee2f2f
Merge "Support for animating A-Z <-> Search." into tm-qpr-dev am: 1c22b7e57c am: be89a7dec5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19629606
Change-Id: Id75b1e316424734e67c293634c47c63de18c9561
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-10 02:00:03 +00:00
TreeHugger Robot
1c22b7e57c
Merge "Support for animating A-Z <-> Search." into tm-qpr-dev
2022-09-10 01:11:36 +00:00
Andy Wickham
94d5d3cb6c
Support for animating A-Z <-> Search.
...
Demo videos (1/5 speed) and APK: https://drive.google.com/drive/folders/1qQNzcoibiFMzxYhvXc7UEHCaBhJg6SjN?resourcekey=0-OWD06iLXg3wf_eWce4rUPA&usp=sharing
Bug: 234882587
Bug: 243688989
Test: Manually tested a bunch of cases at 1/10 animation speed.
Such as work profile or not, suggested apps enabled/disabled,
typing during the animation, going back during the animation,
web results injected above apps, etc.
Change-Id: Id4f1a858d387bf3a7f9cf2d23564a276544abef1
2022-09-09 15:37:57 -07:00
Brandon Dayauon
1b1f7e4141
Merge "Added extra check to CLI command that was not checked for" into tm-qpr-dev am: 5d7aec8e03 am: f52626345e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19801569
Change-Id: I8ef7ff361fbe30147342cd2befa86004cd8272cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-09 21:48:07 +00:00
Brandon Dayauon
5d7aec8e03
Merge "Added extra check to CLI command that was not checked for" into tm-qpr-dev
2022-09-09 20:53:14 +00:00
Brandon Dayauon
e4c4e2043f
Added extra check to CLI command that was not checked for
...
check if work profile is indeed set up
- after workProfile setup, added log of profile ID for each test..
- added CLI check for "start-user"
- Investigating where flakiness occurs because of failed
work profile account set up or test just fails
bug: 243688989
test: Tested where there is no shell command in setup and all tests were skipped
Change-Id: I131b62c1a929c2e550be111a3840fd93c7435860
2022-09-07 10:00:56 -07:00
Alex Chau
f2b58fe68d
Merge "Revert "Add screen recording to flaky test""
2022-09-03 11:46:58 +00:00
Alex Chau
e609d3ee5e
Revert "Add screen recording to flaky test"
...
This reverts commit c9037cd887 .
Reason for revert: Screen record seems to have caused test to fail: https://android-build.googleplex.com/builds/tests/view?invocationId=I48500010087317917&testResultId=TR41028244871043649
Bug: 241587421
Change-Id: I4392d9944ea86f3f923d81d14d906ffc280c57f6
2022-09-03 09:29:32 +00:00
Sebastián Franco
6cea4aa0c4
Merge "Adding support to add icons in the workspace for tests" into tm-qpr-dev am: 8236313204 am: 0b2d6da850
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19701339
Change-Id: I5cd3a9993baa46727c5e27aae077d7e1659cd349
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-02 18:19:24 +00:00
Sebastián Franco
8236313204
Merge "Adding support to add icons in the workspace for tests" into tm-qpr-dev
2022-09-02 17:12:50 +00:00
Sebastian Franco
314bbf1cba
Adding support to add icons in the workspace for tests
...
Test: atest ReorderWidgets
Bug: 243440737
Change-Id: Ic656cef079be965d17ab1b58d5f73ce955c9374c
2022-08-31 16:29:53 -07:00
Sukesh Ram
1b4869fcbc
Add app predictions to secondary display app drawer & fix tab UI.
...
Bug: 233926067
Test: Manual
Change-Id: I2f45a4b30964b365bf149e8864a3af2ea909a237
(cherry picked from commit 9e5fe63a22 )
Merged-In: I2f45a4b30964b365bf149e8864a3af2ea909a237
2022-08-30 22:30:03 +00:00
Sebastián Franco
78edb995a4
Merge "Add screen recording to debug test ReorderWidgets.java flakynes" into tm-qpr-dev am: 2886ff0826 am: 76f7cacbc8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607104
Change-Id: I7cc0aa4c50e15c9000806d006bdca27686428cdf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-29 16:50:43 +00:00
Sebastián Franco
2886ff0826
Merge "Add screen recording to debug test ReorderWidgets.java flakynes" into tm-qpr-dev
2022-08-29 16:10:44 +00:00
Thales Lima
f688f1388f
Merge "Add screen recording to flaky test"
2022-08-27 01:53:03 +00:00
Alex Chau
d00b3c90be
Merge "Add screen recording to flaky test"
2022-08-26 21:57:47 +00:00
Alex Chau
543857f496
Add screen recording to flaky test
...
- Also updated bug id for a ScreenRecord
Test: presubmit
Bug: 242163205
Bug: 241821721
Fix: 242163245
Change-Id: I43ff9fca285649933a100e4a02c660087308a7ac
2022-08-26 18:36:33 +01:00
Alex Chau
b5809add48
Remove ScreenRecord for WorkProfileTest.toggleWorks
...
Bug: 242163822
Bug: 243688989
Test: presubmit
Change-Id: I6ee7934c854f379022062fd2117f12ac84209885
2022-08-25 12:06:47 +01:00
Ke-Yu Lu
7ba396089c
Merge "Add getIconName to AppIcon" into tm-qpr-dev am: 9672e2e74f am: 03456a8fc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19707039
Change-Id: Id2304ce719cdf65eba95c5d97619b92aa5dcd0ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 09:25:55 +00:00