Vadim Tryshev
9155ea4cf2
Merge "Changing how we inject drag gesture" into ub-launcher3-master
2019-04-05 23:51:01 +00:00
vadimt
a6700d04d8
Changing how we inject drag gesture
...
Since Launcher doesn't use event time to detect the long click that
start drag, it may not detect valid long clicks. Now waiting for the
context menu to appear.
Bug: 129434166
Change-Id: I7431d185016152fa63e75ea394dd8caf3365b21b
2019-04-05 13:31:36 -07:00
Vadim Tryshev
2c46fcfa3a
Merge "Going home via swipe in supported cases" into ub-launcher3-master
2019-04-04 23:24:10 +00:00
vadimt
01e114bbf5
Going home via swipe in supported cases
...
Change-Id: I8a127e206374e6e4274ad970cfaf132c3089125b
2019-04-04 15:38:08 -07:00
vadimt
2a0670890a
Not using system res ids in tests
...
Change-Id: I3aad2380dd6cd51ee23803cf5164f8b332a62e98
2019-04-04 14:36:53 -07:00
vadimt
24eb1c9c89
Not using magic constant for edge sensitivity
...
+Some cleanup in TAPL
Change-Id: I886a6c4abacf8b806ee5507e633ec21f2e7ad1d4
2019-04-04 13:20:34 -07:00
Vadim Tryshev
077df72acc
Merge "Diagnosing phone locked state in TAPL" into ub-launcher3-master
2019-04-04 17:36:46 +00:00
vadimt
471115589e
Diagnosing phone locked state in TAPL
...
Change-Id: I4bc678b35ca373015eaf476901694aee4df348f3
2019-04-03 19:09:59 -07:00
vadimt
f185552108
Not using Play Store app in tests
...
As it magically misses from some devices
Change-Id: I7765d987ef996dc2f515b9a0023b6f545f9cb534
2019-04-03 18:31:43 -07:00
vadimt
67d3fd574b
Not using unstable Messages app in tests
...
Change-Id: I4811621613dc950ce5d16fc621b7f546170d8037
2019-04-03 15:44:19 -07:00
vadimt
840ed21605
Not swiping from nav bar from Overview to all apps
...
This makes zer-button nav think that we are trying to go to home
Change-Id: I66c866ba850d417a527ca0b942adb837e3027e67
2019-04-03 12:36:53 -07:00
Winson Chung
efd4eb98a2
Fix issue with nav bar mode check in tests
...
- Don't use the version with the baked in resource constant
Bug: 129697378
Change-Id: I9b7235d10d9493273495a507ddd662a01d8870c3
2019-04-02 11:22:32 -07:00
Vadim Tryshev
a8bd0527ef
Merge "Improving TAPL diagnostics (contains changes in Launcher)" into ub-launcher3-master
2019-04-02 17:34:24 +00:00
vadimt
a734bd8d26
Improving TAPL diagnostics (contains changes in Launcher)
...
Bug: 128531133
Change-Id: Ice1ffecb39cf88afb546ceefdfca21abd879f35d
2019-04-01 13:43:46 -07:00
vadimt
d8f93dcd79
Not swiping from nav bar when scrolling in all apps
...
Change-Id: Id1fed6ab095f23fcbc199c8925c08acac34cca3f
2019-03-29 17:58:58 +00:00
vadimt
d1e90a1beb
Temporarily going home from an app via device.pressHome
...
The gesture will be restored once we have a UI automation-stable
gesture detection on the Launcher side.
Change-Id: I94cd52b61cd65961ac471d0e4ae0db1fc766a66b
2019-03-28 17:59:27 -07:00
Vadim Tryshev
09b9144746
Merge "Preparing QuickstepOnOff for running in 3 navigation modes" into ub-launcher3-master
2019-03-28 23:50:25 +00:00
vadimt
c5b06f4cf6
Preparing QuickstepOnOff for running in 3 navigation modes
...
Change-Id: I7855e756c9886a21bfc2584cf42e7921147fb256
2019-03-28 16:02:47 -07:00
TreeHugger Robot
2f9b438a3a
Merge "Adding tracing for Lab-only flake: drag to workspace doesn't happen" into ub-launcher3-master
2019-03-28 18:43:17 +00:00
vadimt
0b339b5273
Adding tracing for Lab-only flake: drag to workspace doesn't happen
...
Bug: 129434166
Change-Id: I4433a4848b57da42412a9108a0965ff13c708c39
2019-03-27 17:42:25 -07:00
Vadim Tryshev
59b3ed056c
Merge "TAPL: using assert that prints context" into ub-launcher3-master
2019-03-27 23:26:37 +00:00
vadimt
cea84574ec
TAPL: using assert that prints context
...
Change-Id: I9545e82f67e51bd07f20f0313d98f5dd65c84d4e
2019-03-27 16:10:30 -07:00
vadimt
f78f47ddef
TAPL: Not starting all apps scroll gestures over nav bar
...
This is important for zero-button navigation.
Change-Id: Ib281762dbb995e6c89ae55b808343ddb9f4963ae
2019-03-27 15:36:58 -07:00
Vadim Tryshev
60353faa2e
Merge "Improving TAPL diags" into ub-launcher3-master
2019-03-27 18:46:08 +00:00
vadimt
64df579446
Improving TAPL diags
...
Bug: 128531133
Change-Id: Iba33011b5cb315731b5104005ef5773e539a21ea
2019-03-27 11:06:10 -07:00
Winson Chung
e5af8f390a
Merge changes from topics "launcher_nav_changes", "nav-bar-mode-fw-overlay-ub-launcher3-master" into ub-launcher3-master
...
* changes:
Use system recent tasks stabilization
Use own context instead of app context to get overlay resources
Updating to nav bar mode
2019-03-27 02:50:38 +00:00
vadimt
522cc2ff0c
Adding diags for TAPL flakes that don't reproduce locally
...
Also temporarily disabling more flaky BindWidgetTests
Change-Id: Ib0d3c54c560ddb49b7964e85bf9cd6ebc567b6d7
2019-03-26 18:21:36 -07:00
Winson Chung
14b2f9dd57
Use own context instead of app context to get overlay resources
...
Bug: 129270535
Test: adb shell am instrument -w -r -e package android.platform.test.scenario.launcher android.platform.test.scenario/androidx.test.runner.AndroidJUnitRunner
Change-Id: Iff2921cafcdb933566b5eb76670facc844bc7fd9
(cherry picked from commit 15179c0674 )
2019-03-26 14:54:35 -07:00
Winson Chung
f25461c337
Updating to nav bar mode
...
Bug: 127366543
Test: Manual
Change-Id: I602539e5d6161c5bf6056bb60679b7ef1f168e3e
(cherry picked from commit 18841823ed )
2019-03-26 14:52:10 -07:00
vadimt
4397d8d5ea
Improving TAPL diagnostics
...
Bug: 128531133
Change-Id: If81861afccb665e2dc2293f2704d99818b3297c8
2019-03-25 18:29:37 -07:00
Vadim Tryshev
6d862386fb
Slowing down some gestures for testing on virtual devices
...
Change-Id: Ie8b9a4eff3e9b4c133719a6292d2d251b87b90e8
2019-03-25 15:45:47 -07:00
Vadim Tryshev
a06c880bdf
Merge "TAPL: increasing FLINGS_FOR_DISMISS_LIMIT" into ub-launcher3-master
2019-03-22 20:18:33 +00:00
vadimt
bae58982bb
TAPL: increasing FLINGS_FOR_DISMISS_LIMIT
...
Bug: 129113713
Change-Id: I294f3f3b7c9397992927a5a31972ad755472910c
2019-03-22 12:27:17 -07:00
vadimt
8bba01874a
Initial implementation for TAPL support for gestural navigation
...
It cuts some corners, flaky and has magic constants, which will be
addressed later.
Change-Id: I0acc75338a3c6d0ead3afda01e25ba43eb095913
2019-03-21 12:01:23 -07:00
Vadim Tryshev
7ca132b595
Merge "Finding icon in All Apps makes sure the icon is not covered by navbar" into ub-launcher3-master
2019-03-20 18:15:25 +00:00
vadimt
6f647c7e6b
Finding icon in All Apps makes sure the icon is not covered by navbar
...
Change-Id: I24f8bd9871f7cf8f1313f7eb7a11f1b3f71a099b
2019-03-20 10:50:44 -07:00
vadimt
174a330d5d
Stop using magic constant 0.1 for switching from home to all apps
...
Bug: 123904290
Change-Id: Ide4561adb2bb59c805cd9fd48f25440e68d91c7b
2019-03-19 19:17:40 -07:00
vadimt
6fe4e93d4a
Stop using magic constant 0.6 for returning from all apps to overview
...
Bug: 123904290
Change-Id: If1b6caf562484649ee107532ffe21d25deff4b97
2019-03-19 12:16:39 -07:00
vadimt
2ec9f290bf
Hopefully reducing flakes by waiting for SysUI objects
...
Looks like when orientation change is involved, it takes some time for
SysUI object to reappear.
Change-Id: Id08d385ea1a535d8bcd87b123f0373cd28d90a92
2019-03-15 19:54:51 -07:00
vadimt
d64b4f44da
Switching swipe-up to overview to using test info provider
...
Also moving test provider to Quickstep to have access to the new info;
and now Launcher3 doesn't have it.
Bug: 123904290
Change-Id: I653376610e83839d102beb9c0604950dd314e8ba
2019-03-15 11:42:06 -07:00
vadimt
09df0831da
Creating provider for test gesture dimensions.
...
Start with answering only whether the provider will answer any other
questions.
Bug: 123904290
Change-Id: I7b3ba8c7689f937d8bc1d470b00574ab4340130d
2019-03-13 17:52:42 -07:00
Vadim Tryshev
cd3df17d80
Merge "Slowing down gestures to get rid of flakiness" into ub-launcher3-master
2019-03-06 19:42:14 +00:00
vadimt
6cd7e864aa
Slowing down gestures to get rid of flakiness
...
Change-Id: If36476e21629fba1a0cf26fb9d2c172097a9c0b5
2019-03-06 11:25:33 -08:00
Vadim Tryshev
8675deee02
Switching to setting QS on and off via writing settings.
...
We can do this now because we hav all 6 devices in the lab.
Change-Id: I5d5fcd89086a3f945ed3fc204461cacbdde61a8a
2019-03-04 16:49:50 -08:00
Vadim Tryshev
ceedc95d4c
Slowing down dismiss gesture to reduce flakiness
...
Change-Id: I13a1d2053e841994df537896c4fe397f68fa4a65
2019-02-26 17:24:08 -08:00
vadimt
a31f7eb68d
Using different swipe length to switch to Overview.
...
Depends on whether swiping from Workspace or Background.
Change-Id: I0f647e85080ee1458a0f18cb132b87890379260e
2019-02-25 16:26:43 -08:00
Sunny Goyal
50d5cb85f2
Reducing the swipe length for going to overview to account for
...
recent threshold changes
Bug: 125795067
Change-Id: I53a9b833cc1b73626fec13742f3ea5ccbfc6abb4
2019-02-25 14:32:37 -08:00
vadimt
5616670a5a
Fixing swipe-up mode recognition in TAPL
...
It failed on Cuttlefish
Change-Id: I81e168f133d51d7c140897cd6847bf30da608d70
2019-02-15 18:04:54 -08:00
vadimt
2a648aa894
Moving state ordinals to TestProtocol
...
These checks immediately broke after recent change of ordinals.
Test: Tapl tests
Change-Id: Ie040f452d3f31c86f780e6f38c6f9afa0d0dcbf3
2019-02-14 17:47:11 -08:00
vadimt
0589b07829
Disable state checks.
...
They fails for a reason I don't understand.
Change-Id: Ie3b5407a8a3efa3bf5f0f75562191191b0e8e9a5
2019-02-14 17:10:43 -08:00