summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2019-07-23 19:26:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-07-23 19:26:54 +0000
commit2f0fdd6a7f0cdc6723c027c2480628795795fe0a (patch)
treef1c101be91a049d879dbb482b0575c3f566cb2ec /tests
parentb6841ac630fd4ca894e2638586511e3085c40baa (diff)
parent20aa2e4f51da9d35a0f699ff864fe56ae31f2220 (diff)
downloadandroid_packages_apps_Trebuchet-2f0fdd6a7f0cdc6723c027c2480628795795fe0a.tar.gz
android_packages_apps_Trebuchet-2f0fdd6a7f0cdc6723c027c2480628795795fe0a.tar.bz2
android_packages_apps_Trebuchet-2f0fdd6a7f0cdc6723c027c2480628795795fe0a.zip
Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
index 8639ea207..b76a82c6e 100644
--- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
+++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -821,6 +821,7 @@ public final class LauncherInstrumentation {
// Inject a swipe gesture. Inject exactly 'steps' motion points, incrementing event time by a
// fixed interval each time.
void linearGesture(int startX, int startY, int endX, int endY, int steps) {
+ log("linearGesture: " + startX + ", " + startY + " -> " + endX + ", " + endY);
final long downTime = SystemClock.uptimeMillis();
final Point start = new Point(startX, startY);
final Point end = new Point(endX, endY);