summaryrefslogtreecommitdiffstats
path: root/tests/tapl
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-07-22 16:54:29 -0700
committervadimt <vadimt@google.com>2019-07-22 16:54:29 -0700
commit20aa2e4f51da9d35a0f699ff864fe56ae31f2220 (patch)
treeb90187a9f1fdf52333d67e250b4bc99de6dadde4 /tests/tapl
parent3ab3c768f5461ee7b09c6ad213ebebcce20233ed (diff)
downloadandroid_packages_apps_Trebuchet-20aa2e4f51da9d35a0f699ff864fe56ae31f2220.tar.gz
android_packages_apps_Trebuchet-20aa2e4f51da9d35a0f699ff864fe56ae31f2220.tar.bz2
android_packages_apps_Trebuchet-20aa2e4f51da9d35a0f699ff864fe56ae31f2220.zip
Logging start and end of linear gesture
Change-Id: Ie0756c89e3871b3f4e12849ef52c44f84a5ceeee
Diffstat (limited to 'tests/tapl')
-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);