Ling WO
85336c23fb
delete appIcon from workspace via TAPL
...
1. Create a new class for DropBar icon.
2. Implement function to delete appIcon from workspace.
3. Add testDeleteFromWorkspace to TaplTestsLauncher3.
Bug: 205593009
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDeleteFromWorkspace
Change-Id: I259b909aebcdcc1c73af63a9970db43dab3e86eb
2021-12-10 18:14:41 -08:00
Alex Chau
367f6262e1
Merge "Improving memory dump diag" into sc-v2-dev am: eea4379a5d am: b944b46eeb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16434161
Change-Id: I1af6741c983fad7b767f84747c0adadcfdbecdd2
2021-12-10 10:25:24 +00:00
Alex Chau
b944b46eeb
Merge "Improving memory dump diag" into sc-v2-dev am: eea4379a5d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16434161
Change-Id: If3a45237f8a766eb6b812392e0aa979862a87a5e
2021-12-10 10:10:38 +00:00
vadimt
bc1da4ca98
Improving memory dump diag
...
atest deletes artifacts directory on the device, but saves artifacts at the host machine.
Bug: 187761685
Test: presubmit
Change-Id: I1f5244ebfe6b606c4891f5fca003541b27cc944c
2021-12-09 21:58:45 +00:00
Alex Chau
992db75dae
Use percentage scaling for overview thumbnail size
...
- Limit overview to screen ratio to be at max 70%
- Tuned row spacing and page spacing
- Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown
Bug: 207350366
Test: manual
Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
Merged-In: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
2021-12-07 14:50:40 +00:00
Alex Chau
a5470710a3
Use percentage scaling for overview thumbnail size am: 4f7952ead4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16389092
Change-Id: I18751b12e2c7fa2b376545a95426594cbadffd07
2021-12-07 14:50:04 +00:00
Alex Chau
4f7952ead4
Use percentage scaling for overview thumbnail size
...
- Limit overview to screen ratio to be at max 70%
- Tuned row spacing and page spacing
- Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown
Bug: 207350366
Test: manual
Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
2021-12-07 11:00:48 +00:00
András Klöczl
0722fb1b2a
Merge "Add TAPL tests for two panel workspace" into sc-v2-dev am: f4a161eef3 am: f5ee9c87b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16357467
Change-Id: I5e29e4e23a1a49e2c6ba9322a700d675040e5ca6
2021-12-06 14:46:54 +00:00
András Klöczl
f5ee9c87b8
Merge "Add TAPL tests for two panel workspace" into sc-v2-dev am: f4a161eef3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16357467
Change-Id: Icc7a700ad85315c95a3ff542d63a2c7ba888bf96
2021-12-06 14:29:15 +00:00
Andras Kloczl
c820151a4c
Add TAPL tests for two panel workspace
...
- Add test for icon dragging
- Add test for page pairing
- Add test for empty page removal
- Add dragIcon helper method
Test: TwoPanelWorkspaceTest
Bug: 197631877
Change-Id: I7ce2dd88e183626feac49b34254d00a589473944
2021-12-02 16:44:26 +00:00
Prabir Pradhan
13bdf056b1
Merge "Tapl Widgets: Don't use container width as gesture margin" into sc-v2-dev am: 79350ef1bc am: 60bbc7c74f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16365181
Change-Id: Id7249c0341f36ec5f19e86b4dea47c9f14f4a884
2021-12-01 12:07:14 +00:00
Prabir Pradhan
60bbc7c74f
Merge "Tapl Widgets: Don't use container width as gesture margin" into sc-v2-dev am: 79350ef1bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16365181
Change-Id: I2d7400327fc04cf07b872a0769095dfd7859cd46
2021-12-01 11:52:54 +00:00
Prabir Pradhan
79350ef1bc
Merge "Tapl Widgets: Don't use container width as gesture margin" into sc-v2-dev
2021-12-01 11:39:11 +00:00
TreeHugger Robot
41e7174cb8
Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev am: 96f34af124 am: 0a3ae68934
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16170178
Change-Id: I05cd240dcb21a526614fde03ad5423cb3f27cfcf
2021-11-30 19:05:22 +00:00
TreeHugger Robot
0a3ae68934
Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev am: 96f34af124
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16170178
Change-Id: I4834f39f505dad8ffd2d0db826c4e6f6bf364f31
2021-11-30 18:47:53 +00:00
TreeHugger Robot
96f34af124
Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev
2021-11-30 18:34:09 +00:00
Prabir Pradhan
53ae5d85a6
Tapl Widgets: Don't use container width as gesture margin
...
The test used margin that was equal to the width of the container when
injecting a backward swipe. This means the swipe was injected at an x
value of 0 in the View's local coordinates. When injecting such events
into the system, the coordinates will undergo several transformations,
at which point floating point precision errors could accumulate. This
could result in the event being dispatched outside the boundary of the
view.
Change the injection margin so that the swipe is injected in the middle
of the View instead of at its edge.
Bug: 201777251
Bug: 207146693
Test: atest TaplTestsLauncher3
Change-Id: I4082c2845aef033a6fbe41070061866d6048e21d
2021-11-30 15:06:42 +00:00
Alex Chau
eab71ab652
Merge "Fix tapl tests for overview actions in fallback recents." into sc-v2-dev am: 22d7524f53 am: eb6be24779
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182391
Change-Id: I54cf9c8d25be9a3393c122d0bf4135c051d11975
2021-11-25 18:28:10 +00:00
Alex Chau
eb6be24779
Merge "Fix tapl tests for overview actions in fallback recents." into sc-v2-dev am: 22d7524f53
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182391
Change-Id: Iedec936c8c9c904b2be13d4589958b0ccc5f9a73
2021-11-25 18:16:18 +00:00
Alex Chau
22d7524f53
Merge "Fix tapl tests for overview actions in fallback recents." into sc-v2-dev
2021-11-25 17:58:02 +00:00
TreeHugger Robot
a6f666f12e
Merge "Revert "Migrate workspace item adding tests to kotlin"" into sc-v2-dev am: da014976cd am: 6b17728794
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16340532
Change-Id: Ifb4d6dd8bfcdd914c042dd1681bc9bbd977ce09f
2021-11-25 16:10:20 +00:00
TreeHugger Robot
6b17728794
Merge "Revert "Migrate workspace item adding tests to kotlin"" into sc-v2-dev am: da014976cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16340532
Change-Id: Ic8ad226dab178bd50189b78830d7ea56da55f450
2021-11-25 15:56:20 +00:00
TreeHugger Robot
da014976cd
Merge "Revert "Migrate workspace item adding tests to kotlin"" into sc-v2-dev
2021-11-25 15:40:06 +00:00
Pat Manning
4433db800c
Fix tapl tests for overview actions in fallback recents.
...
Note: fallback recents test may still fail manual testing if using flag SEPARATE_RECENTS_ACTIVITY
Test: FallbackRecentsTest.java
Bug: 197630182
Change-Id: Id18184e1f6271337adceacc9bac583d84e83afed
2021-11-25 15:39:47 +00:00
Alex Chau
4075f17c2d
Revert "Migrate workspace item adding tests to kotlin"
...
This reverts commit e77eafc263 .
Reason for revert: b/207684378
Bug: 207684378
Bug: 199160559
Change-Id: I4a35fea423f1cd7afae4603fd1185150763f8bf0
2021-11-25 11:54:26 +00:00
András Klöczl
95b43e593c
Merge "Migrate workspace item adding tests to kotlin" into sc-v2-dev am: 283798dbd5 am: 2d1cfb899b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16321893
Change-Id: I1bbd1d40c9f4f69d9c4d6123229dfdf71a3ba849
2021-11-24 10:54:00 +00:00
András Klöczl
2d1cfb899b
Merge "Migrate workspace item adding tests to kotlin" into sc-v2-dev am: 283798dbd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16321893
Change-Id: I1fd1ed39633fdc4c48a8d4a6c0b568faa8a39e09
2021-11-24 10:37:26 +00:00
András Klöczl
283798dbd5
Merge "Migrate workspace item adding tests to kotlin" into sc-v2-dev
2021-11-24 10:21:39 +00:00
Andras Kloczl
e77eafc263
Migrate workspace item adding tests to kotlin
...
In a former CL (http://ag/16064580 ) I've tried to
do the same but presubmit was constantly failing,
probably because the test is in kotlin.
Test: AddWorkspaceItemsTaskTest.kt
Bug: 199160559
Change-Id: Ie1bc4fcd4f94cd7cb0601c21bbdf273452b9dd1f
2021-11-23 18:32:12 +00:00
TreeHugger Robot
c35eb548d5
Merge "Add timeout to AbstractLauncherUiTest.getOnUiThread" into sc-v2-dev am: 953641e28d am: 1bad3382fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16321879
Change-Id: Iee12654f4221a0afef718057d9569d4ac2527538
2021-11-22 21:35:52 +00:00
TreeHugger Robot
1bad3382fc
Merge "Add timeout to AbstractLauncherUiTest.getOnUiThread" into sc-v2-dev am: 953641e28d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16321879
Change-Id: I763c42250a2793647122c3c12423457bc2a140c5
2021-11-22 21:13:14 +00:00
TreeHugger Robot
953641e28d
Merge "Add timeout to AbstractLauncherUiTest.getOnUiThread" into sc-v2-dev
2021-11-22 20:59:16 +00:00
vadimt
edb0527dbd
Logging the stack trace for system anomaly messages am: 499e2055a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16322469
Change-Id: I86b2c6379ce08d42fe727a6c63679136ffe428de
2021-11-22 20:37:38 +00:00
Alex Chau
31b46953cb
Add timeout to AbstractLauncherUiTest.getOnUiThread
...
- Send signal 6 to Launcher process when this happens to get a thread dump
Bug: 203416429
Test: labtest
Change-Id: If22b58418be33131e7f585e718a2197cda2e7365
2021-11-22 18:36:11 +00:00
vadimt
499e2055a6
Logging the stack trace for system anomaly messages
...
With these system anomalies, you are never sure that the system/tests will be able to normally bubble up the error.
Bug: 203416429
Test: presubmit
Change-Id: Ie1d3d183cf6e56778d5c052ef7b8e0541bbc6255
(cherry picked from commit 37542c8c0e )
2021-11-22 18:08:00 +00:00
Vadim Tryshev
98c0dcb638
Merge "Logging the stack trace for system anomaly messages"
2021-11-22 18:07:13 +00:00
vadimt
37542c8c0e
Logging the stack trace for system anomaly messages
...
With these system anomalies, you are never sure that the system/tests will be able to normally bubble up the error.
Bug: 203416429
Test: presubmit
Change-Id: Ie1d3d183cf6e56778d5c052ef7b8e0541bbc6255
2021-11-19 15:25:07 -08:00
TreeHugger Robot
cfb379f134
Merge "Revert "Adding screen record for a flake"" into sc-v2-dev am: 8c8e2a22da am: 29eee5f1fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16283892
Change-Id: Ibafab58da774055547fa5ff049fd7a737df7dd45
2021-11-19 01:17:21 +00:00
TreeHugger Robot
29eee5f1fe
Merge "Revert "Adding screen record for a flake"" into sc-v2-dev am: 8c8e2a22da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16283892
Change-Id: I7e9973c5600c996bd26b242f3e8b7c82d513ea37
2021-11-19 01:04:50 +00:00
TreeHugger Robot
8c8e2a22da
Merge "Revert "Adding screen record for a flake"" into sc-v2-dev
2021-11-19 00:51:07 +00:00
Alex Chau
7210d90e3f
Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev am: 90a9982b36 am: 3bf362fe30
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16285317
Change-Id: I9267f7bef72eb9f23afd4417c6c46380a79aae5d
2021-11-18 10:45:04 +00:00
Alex Chau
3bf362fe30
Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev am: 90a9982b36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16285317
Change-Id: Id1503027367fdc2c4e4f20fcf12de9863e012667
2021-11-18 10:33:48 +00:00
vadimt
60ba2ac084
Recognizing Launcher builds consisting only of digits
...
Bug: 206687633
Test: online regex tools
Change-Id: Ia6155f22fb9a0eba3beb6edb607f44f901629330
2021-11-17 19:07:20 +00:00
Jonathan Miranda
ae1bcc9ba8
Revert "Adding screen record for a flake"
...
This reverts commit da02250c29 .
Reason for revert: Flake resolved
Bug: 202735477
Test: presubmit
Change-Id: I86856110ca9b8745c194a716a587d3bbe7f0137e
2021-11-17 16:24:26 +00:00
Sebastian Franco
3b86202a95
Fling to close tasks in the GestureNav can be too small.
...
The problem is that the velocity threshold to activate the fling
was set using pixels per second, so a better aproach would is to
use dp/s. So now there is a variable set in the dimes.xml file
called base_swift_detector_fling_release_velocity.
Test: Manually tested
Fix: 201252634
Change-Id: Ief14f25de136dead74f03cb24d2120b67900239e
2021-11-16 14:46:36 -06:00
TreeHugger Robot
86d0c44e25
Merge "Fix LauncherProvider newScreenId issue" into sc-v2-dev am: 82fc85f9b8 am: 506927514d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16064580
Change-Id: Iaa46ac7af2731e42c438f907ca80cf982952a381
2021-11-16 19:16:03 +00:00
TreeHugger Robot
506927514d
Merge "Fix LauncherProvider newScreenId issue" into sc-v2-dev am: 82fc85f9b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16064580
Change-Id: I8f25b31835fc64a7f76ae7267e7bcb2a6a4d8434
2021-11-16 19:15:25 +00:00
TreeHugger Robot
82fc85f9b8
Merge "Fix LauncherProvider newScreenId issue" into sc-v2-dev
2021-11-16 19:00:47 +00:00
TreeHugger Robot
431d0cacde
Merge "Revert "Add ScreenRecord to methods affected by a flaky problem"" into sc-v2-dev am: a6c4b66b7f am: a8a8c75bd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16272580
Change-Id: Ib98ceb1fb8faf7966ac7f2030a02b9674103aa18
2021-11-16 13:24:39 +00:00
TreeHugger Robot
a8a8c75bd7
Merge "Revert "Add ScreenRecord to methods affected by a flaky problem"" into sc-v2-dev am: a6c4b66b7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16272580
Change-Id: Ic3f37f1c1803ac4fe19dc048932d77772e0d3105
2021-11-16 13:13:34 +00:00