Commit 32f3bee7 authored by Administrator's avatar Administrator

左滑事件间隔调整到30毫秒(之前50毫秒)

parent f3dafd7a
...@@ -463,7 +463,7 @@ public class ViewImage { ...@@ -463,7 +463,7 @@ public class ViewImage {
} }
// Log.i(SuperAppium.TAG, "location on screen: (" + locs[0] + "," + locs[1] + ") from loc:(" // Log.i(SuperAppium.TAG, "location on screen: (" + locs[0] + "," + locs[1] + ") from loc:("
// + fromX + "," + fromY + ") to loc:(" + toX + "," + toY + ") with and height: (" + viewWidth + "," + viewHeight + ")"); // + fromX + "," + fromY + ") to loc:(" + toX + "," + toY + ") with and height: (" + viewWidth + "," + viewHeight + ")");
SwipeUtils.simulateScroll(this, fromX, fromY, toX, toY, 300, 50); SwipeUtils.simulateScroll(this, fromX, fromY, toX, toY, 300, 30);
} }
private MotionEvent genMotionEvent(int action, float[] point) { private MotionEvent genMotionEvent(int action, float[] point) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment