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
Winson Chung
252ec11e4e
Update Launcher for removed shared wrappers
...
- Launcher can reference system code directly now
Bug: 219861883
Test: Builds/Presubmit
Change-Id: I3f656b6c7fce93243ccb7591e52441e99137dec6
2022-09-12 16:04:56 +00: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
Hui Kang
4420babf45
Merge "Add launch assistant method." into tm-qpr-dev am: 0b44854718 am: f6142422af
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19822904
Change-Id: I6109c36d79d523b61edf2725da66521d859194cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-09 18:55:40 +00:00
Hui Kang
0b44854718
Merge "Add launch assistant method." into tm-qpr-dev
2022-09-09 17:53:06 +00:00
c
af5017c6cc
Add launch assistant method.
...
Test: manual atest
Local test with atest on cf_x86_64_phone: 100/100 PASS.
ABTD 100/100 PASS: https://android-build.googleplex.com/builds/abtd/run/L71100000956341271
Change-Id: Ib9276d1cc395f134d77ba0237d94f4f23a3485b3
2022-09-09 03:30:43 +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
Tony Wickham
2be2312543
Merge changes Ie55bd70e,I69bcfa97,I222522bc into tm-qpr-dev am: d833fe4a12 am: 94894d8d88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19472817
Change-Id: Ib419b6f6fad396917f5b477e5c20ca5bd425a165
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-01 01:43:50 +00:00
Tony Wickham
d833fe4a12
Merge changes Ie55bd70e,I69bcfa97,I222522bc into tm-qpr-dev
...
* changes:
Fix taskbar stash state not persisting properly across recreate
Add support to Tapl to recreateTaskbar
Don't rely on QuickstepLauncher instance for tests
2022-09-01 00:52:54 +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
Tony Wickham
c8e824dbdb
Add support to Tapl to recreateTaskbar
...
Also moved references of "tasbkar_view" to share TASKBAR_RES_ID constant
Test: compiles; see follow up CLs
Bug: 235986838
Change-Id: I69bcfa975550e567f3daa35af8a810546297d79c
2022-08-30 13:40:45 -07: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
Ke-Yu Lu
9672e2e74f
Merge "Add getIconName to AppIcon" into tm-qpr-dev
2022-08-25 08:43:49 +00:00
Ke-Yu Lu
6520372966
Add getIconName to AppIcon
...
Bug: 237606436
Test: manual on local device
Change-Id: Ifcd18cefa35148fd744087a207e48791c098899a
2022-08-25 04:54:58 +08:00
Nataniel Borges
d49770c716
Merge "Fix testDisableRotationCheck"
2022-08-24 07:13:49 +00:00
Pinyao Ting
292d0d3dc9
Merge "Explicit Nullbility in Launcher (Part 2)" into tm-qpr-dev am: 775b0d21dc am: ff8f09b5b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19679564
Change-Id: I569d5e6fd9ebbcb31266c6683c129481ee3c2144
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 05:08:54 +00:00
Sam Dubey
18c244b452
Merge "Onboard tests in IW suite" into tm-qpr-dev am: f9d1b193bc am: 07f55c6304
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19657853
Change-Id: I635d88fa6fc4c4781116f4b0aa38164222653626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 05:01:15 +00:00
Nataniel Borges
8fe224c90a
Fix testDisableRotationCheck
...
Move it to the NexusLauncherTests and launch app before rotation check
Bug: 241017339
Test: testDisableRotationCheck
Change-Id: Ia9b5d6738a8c725c68bb6422ab44cbed5ecbc0a6
2022-08-23 18:32:40 +00:00
Pinyao Ting
775b0d21dc
Merge "Explicit Nullbility in Launcher (Part 2)" into tm-qpr-dev
2022-08-23 16:53:20 +00:00
Sam Dubey
f9d1b193bc
Merge "Onboard tests in IW suite" into tm-qpr-dev
2022-08-23 14:28:13 +00:00
Alex Chau
a3857fc66a
Merge "Add ScreenRecord for flaky tests"
2022-08-23 07:29:58 +00:00
Brandon Dayauon
3e411d189b
Merge "Make test always pass when command fails" into tm-qpr-dev am: 79da23e57b am: b275f027e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19498062
Change-Id: Idc27cdb8f42c298e57bc2ca345734f8049dedf0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 04:17:27 +00:00
Pinyao Ting
023b973d15
Explicit Nullbility in Launcher (Part 2)
...
This CL updates the nullabality on methods associated with IconCache in Launcher.
Bug: 242895652
Test: manual
Change-Id: I4832c0950141c8a52c8a9e62659ccabb082897c8
2022-08-22 17:15:44 -07:00
Brandon Dayauon
7ad8227a08
Make test always pass when command fails
...
because command Would cause flakiness if cli command fails.
bug: 237428272
test: on AS
Change-Id: I0bfe26b9242afffe1399fd9788981f71d8fea73e
2022-08-22 21:00:21 +00:00
Alex Chau
20a9f45281
Add ScreenRecord for flaky tests
...
Bug: 242163245
Bug: 242163855
Bug: 242163822
Bug: 206481237
Test: presubmit
Change-Id: Id1e58c70802107f5b964c1f67bff4ef3a7e5de70
2022-08-22 13:47:05 -04:00
Sam Dubey
664fde7744
Onboard tests in IW suite
...
Adding annotations to test methods confirmed to perform CUJ steps in the bugs attached.
Test: Forrest
Bug: 239384214
Fix: 241945343, b/241845943, b/241845754, b/241848386
Change-Id: Ifc21339f4acf558003cb1db8ebd5e05df5134a55
2022-08-19 09:34:28 +00:00
Sebastian Franco
8bd1283482
Add screen recording to debug test ReorderWidgets.java flakynes
...
Bug: 242323136
Test: atest ReorderWidgets
Change-Id: If87dc5b37029f75c4a480fbbb62e5eaca02cde4a
2022-08-17 16:52:33 -07:00
Thales Lima
5c842cde1f
Merge "Make folder sizes customizable" into tm-qpr-dev am: 7b10492e88 am: f97d64e152
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19559864
Change-Id: I35b9cc3af1bd282cb2fc2389c27e8f67fbf1cb37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:40:58 +00:00
Sihua Ma
3cedd3920d
Merge "Resize preview for correct clipping" into tm-qpr-dev am: 2d675e8ab0 am: eeb46032ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19324973
Change-Id: I0dec5e33e09efca7afe60c7d7183025018712965
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:37:36 +00:00
Andras Kloczl
c9037cd887
Add screen recording to flaky test
...
Test: n/a
Bug: 241587421
Change-Id: I767710e63713cd4636e595915108f495012f0a73
2022-08-17 11:58:08 -04:00
Sukesh Ram
e02c21259a
Merge "Added Tests for Secondary Display Launcher"
2022-08-17 06:46:19 +00:00