TreeHugger Robot
f13109df05
Merge "Refactor SwipeDetector to track both axes" into ub-launcher3-qt-future-dev
2019-10-24 19:24:12 +00:00
Tony Wickham
eed585b0c3
Refactor SwipeDetector to track both axes
...
Existing clients now use the SingleAxisSwipeDetector subclass. A
followup CL will add BothAxesSwipeDetector, whose first client will be
the quick switch from home controller.
Bug: 126596417
Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
Merged-In: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
2019-10-24 18:56:44 +00:00
Tony Wickham
476b7d4378
Fix testQuickSwitchFromApp
...
Instead of starting getAppPackageName() and relying on it being our Test
Pin Item activity, instead launch our own test activities with the
FLAG_ACTIVITY_MULTIPLE_TASK and FLAG_ACTIVITY_NEW_DOCUMENT flags.
Test:
- Locally run testQuickSwitchFromApp() from Android Studio
- flake -oop -t com.android.quickstep.TaplTestsQuickstep#testQuickSwitchFromApp
Bug: 140252765
Change-Id: Ie137261ce65bfd3dd39df78d57784854a026e967
Merged-In: Ie137261ce65bfd3dd39df78d57784854a026e967
2019-10-23 23:40:57 +00:00
Tony Wickham
a0f77c4449
Fix quick switch test gesture in landscape 2-button mode
...
It should swipe from the bottom right to top right when the nav bar is
on the right, rather than from the bottom left to bottom right.
For now, disable testQuickSwitchFromApp() because it seems to have
other failures as well.
Bug: 140252765
Change-Id: I1f4989f3ea5456c18bb9cbf42ea4b157cee500d7
2019-10-15 17:30:47 -07:00
Tony Wickham
1e73e320b7
Add tests for quick switch from an app and home
...
Bug: 140252765
Change-Id: I5621b614ae2d8cd3db03cae818cf8b8c1c6cb20f
2019-10-14 11:51:19 -07:00
Vadim Tryshev
af754b9a9a
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev
...
am: c3a4819b8c
Change-Id: Ifc6a781cea4dc38b58435314b8760e89b327446a
2019-10-03 18:11:32 -07:00
Vadim Tryshev
c3a4819b8c
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev
2019-10-04 00:48:34 +00:00
vadimt
3878d3ef09
Dump view hierarchy before swiping to home
...
am: 233afe98e9
Change-Id: Ib67aa2247ae43f4e875deb07a9d8b53aa5e6f181
2019-10-03 17:35:28 -07:00
vadimt
43c3d2d40a
Diagnosing anomalies prior to swiping up to Home
...
Bug: 141864547
Change-Id: I5f3814c6a90df85136484813ca4ee684da101016
2019-10-03 17:09:16 -07:00
Vadim Tryshev
f078975e9d
Merge "Logging the initial state for swiping up to home" into ub-launcher3-qt-qpr1-dev
...
am: c49ec38140
Change-Id: If74c630902a212270bae1a58b2085d8a30d2343f
2019-10-03 14:33:31 -07:00
Vadim Tryshev
12de08a3b1
Merge "Waiting until context menu goes away after attempting to close it." into ub-launcher3-qt-qpr1-dev
...
am: 7c09214298
Change-Id: If209a43004a41ca682473232789810a4d1828521
2019-10-03 14:33:04 -07:00
vadimt
1ac98548a7
resolve merge conflicts of 08776ada1e
to ub-launcher3-qt-future-dev
...
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
Merged-in: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
2019-10-03 20:58:15 +00:00
Pinyao Ting
d7fdcab612
correct naming and add comments for test case of custom shortcut.
...
Bug: 141934188
Change-Id: I69ce5f05214df10e2a376ff68c713efe8874df15
2019-10-03 10:15:30 -07:00
Pinyao Ting
d625e49552
include integration test for adding shortcut widget
...
this integration test help us catching app crashes when adding shortcut
widgets to the workplace. see b/141568904 for more context.
Bug: 141934188
Change-Id: I4d33d6127793efe2071d0d146aef24db6b676360
2019-10-03 07:46:50 -07:00
vadimt
233afe98e9
Dump view hierarchy before swiping to home
...
Bug: 141864547
Change-Id: Ifd444c4516f7f27b0dc19c0faa1d4c8716d2254a
2019-10-02 17:10:02 -07:00
Vadim Tryshev
c49ec38140
Merge "Logging the initial state for swiping up to home" into ub-launcher3-qt-qpr1-dev
2019-10-02 17:43:00 +00:00
Vadim Tryshev
7c09214298
Merge "Waiting until context menu goes away after attempting to close it." into ub-launcher3-qt-qpr1-dev
2019-10-02 02:00:28 +00:00
vadimt
7458d4aa4a
Logging the initial state for swiping up to home
...
Change-Id: Iff2003f7e6dfe4072613b775722166dc5fec9e02
2019-10-01 18:40:24 -07:00
vadimt
8ecf1b3dd3
Waiting until context menu goes away after attempting to close it.
...
Bug: 141770616
Change-Id: I528072e830627d825906ce7c1e3dbb914e2c814e
2019-10-01 18:28:46 -07:00
Andy Wickham
769c795edf
Some cleanup for SwipeDetector.
...
It is now organized as follows:
- private constants
- public constants
- private final fields
- private variable fields
- constructors
- public methods
- private methods
- public interface/abstract class
This is intended to be a functional no-op.
Bug: 141939911
Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47
Tested: Built and sanity checked manually.
2019-10-01 14:38:56 -07:00
TreeHugger Robot
08776ada1e
Merge "Waiting for Launcher model load in out-of-proc tests." into ub-launcher3-qt-qpr1-dev
2019-10-01 19:48:05 +00:00
vadimt
7371e4da68
Waiting for Launcher model load in out-of-proc tests.
...
Not doing this seems to have caused flakes.
Bug: 141770616
Change-Id: Ia9caf20e4a2d93298adf4249ca815ad79bced802
Merged-in: Ia9caf20e4a2d93298adf4249ca815ad79bced802
2019-10-01 19:18:14 +00:00
Vadim Tryshev
4c420047cf
Merge "Not unlocking phone on the test start" into ub-launcher3-qt-qpr1-dev
...
am: 872a380b59
Change-Id: I6e0831a2660459803eef6c755e4fcfc9f414c94f
2019-09-30 13:54:36 -07:00
TreeHugger Robot
d8aef47393
Merge "removed extra test protocol for unit test" into ub-launcher3-qt-future-dev
2019-09-30 20:46:15 +00:00
Vadim Tryshev
872a380b59
Merge "Not unlocking phone on the test start" into ub-launcher3-qt-qpr1-dev
2019-09-30 20:31:28 +00:00
vadimt
5500f3513e
fixingtypo
...
am: 5d58d25ea3
Change-Id: I7785e6162a79743b2a8c3f6851ade7bea31c1058
2019-09-30 13:19:32 -07:00
vadimt
ee3db65ecc
Not unlocking phone on the test start
...
Somehow tests unlock the phone anyways.
Bug: 141772190
Change-Id: I66de70ec10a7e9ae05ba942570bf9eff9d9e7a82
2019-09-30 12:48:47 -07:00
vadimt
5d58d25ea3
fixingtypo
...
Change-Id: I0d9d9f3f712fc90e82e7660c14ea31779648614a
2019-09-30 12:22:01 -07:00
Pinyao Ting
ea38c25854
removed extra test protocol for unit test
...
Bug: 140406263
Test: run TaplTestsLauncher3
Change-Id: I73b3098bd3aa92fed41d22a94cb58fd07263d26a
2019-09-30 18:34:49 +00:00
Vadim Tryshev
75b713c71e
Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-dev
...
am: 7cb5b73dfb
Change-Id: Iae6af5771238f8b6c13714e1e43b7a21ad38acee
2019-09-27 16:21:21 -07:00
Vadim Tryshev
7cb5b73dfb
Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-dev
2019-09-27 23:11:36 +00:00
vadimt
41390b8eea
Removing a too noisy dropbox diag
...
Change-Id: Ia4dee0b3f20533754b24a91a4a8d2a837bb8e60f
2019-09-27 14:24:46 -07:00
Vadim Tryshev
1430f132f3
Merge "Deprecating LauncherInstrumentation constructor with parameter" into ub-launcher3-qt-qpr1-dev
...
am: dd079691c1
Change-Id: I7419be6416f26274bf03abfd84eedef20fd6f084
2019-09-27 13:21:46 -07:00
Vadim Tryshev
dd079691c1
Merge "Deprecating LauncherInstrumentation constructor with parameter" into ub-launcher3-qt-qpr1-dev
2019-09-27 19:57:00 +00:00
vadimt
2611d79f69
Deprecating LauncherInstrumentation constructor with parameter
...
Change-Id: I779b4a8fde2db73cced8133f12d1356ad0b8729e
2019-09-27 12:00:09 -07:00
vadimt
79e9d0adba
Removing a 'percent' parameter for scroll
...
am: 83b03b08de
Change-Id: I7d082d145f211f984982d73fb3a81b8fde21fd19
2019-09-26 18:40:59 -07:00
vadimt
aaa5fcf4da
Removing magic constant 0.8f from AllApps
...
am: 7028b10c54
Change-Id: Ifb5c044f0297f2944efd348b6dff97e02ddbfb91
2019-09-26 17:57:31 -07:00
vadimt
83b03b08de
Removing a 'percent' parameter for scroll
...
It's an invitation to use magic constants.
Bug: 123904290
Change-Id: I485abbbb868c41949dddd6e2c4cf363cc44a5ccd
2019-09-26 17:52:32 -07:00
vadimt
7028b10c54
Removing magic constant 0.8f from AllApps
...
Bug: 123904290
Change-Id: I52aeb3c0452175ba37b2524d632e8069ba0911c9
Merged-in: I91ff4d4f962eefea787989362c32d987f546e84d
2019-09-26 23:54:30 +00:00
Vadim Tryshev
12db478e46
Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-dev
...
am: 77f045b607
Change-Id: I8ea519aca0ef3830f506c91c2086e1eb31b4b6f2
2019-09-26 14:40:40 -07:00
Vadim Tryshev
77f045b607
Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-dev
2019-09-26 21:15:00 +00:00
vadimt
aca7e6da5b
Removing magic constants from TAPL/Widgets
...
Bug: 123904290
Change-Id: I8abc6cde6be8a51b38782f5c94749fe0c33384c1
2019-09-26 13:45:42 -07:00
vadimt
7601d12a91
Avoiding swiping down from the from the extended touchable region around the notch in Widgets
...
am: 46f3999fb3
Change-Id: I59ad5cd711326caa64deb819083a77174338ef71
2019-09-26 13:22:10 -07:00
vadimt
46f3999fb3
Avoiding swiping down from the from the extended touchable region around the notch in Widgets
...
Bug: 141697444
Change-Id: I8edd6a05e34c8a7e91dab1757938d40efffb766f
2019-09-26 19:43:05 +00:00
Vadim Tryshev
79a4c590c5
Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" into ub-launcher3-qt-qpr1-dev
...
am: 8a2cb67d07
Change-Id: Ib3a8cd665238acdc03f45be5326399a526d52e39
2019-09-25 21:19:15 -07:00
Vadim Tryshev
137e3c28b0
Merge "Reducing usage of magic constants in TAPL's widgets" into ub-launcher3-qt-qpr1-dev
...
am: 92e3cec417
Change-Id: Iac12e2303e000791687ae56187b9988e50796245
2019-09-25 21:18:58 -07:00
Vadim Tryshev
8a2cb67d07
Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" into ub-launcher3-qt-qpr1-dev
2019-09-26 02:18:57 +00:00
Vadim Tryshev
92e3cec417
Merge "Reducing usage of magic constants in TAPL's widgets" into ub-launcher3-qt-qpr1-dev
2019-09-26 01:50:07 +00:00
vadimt
3887500f8e
Reducing usage of magic constants in TAPL's widgets (fling back)
...
Bug: 123904290
Change-Id: I398ff2ebd418551e3fed825edf79398e32025859
2019-09-25 18:31:36 -07:00
vadimt
7bd93b1639
Reducing usage of magic constants in TAPL's widgets
...
Bug: 123904290
Change-Id: I5f158eb06ab5d40825cc975e798296ab06fc1f1f
2019-09-25 18:15:10 -07:00