Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev

This commit is contained in:
Vadim Tryshev
2019-07-23 19:26:54 +00:00
committed by Android (Google) Code Review
@@ -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);