Searched refs:downTime (Results 1 – 5 of 5) sorted by relevance
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | Events.java | 40 long downTime = SystemClock.uptimeMillis(); in newTouchDownEvent() local 41 MotionEvent event = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, x, y, 1); in newTouchDownEvent() 53 private static MotionEvent newTouchUpEvent(long downTime, int x, int y) { in newTouchUpEvent() argument 55 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 1); in newTouchUpEvent() 66 private static MotionEvent newTouchMoveEvent(long downTime, int x, int y) { in newTouchMoveEvent() argument 68 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 1); in newTouchMoveEvent() 76 private static KeyEvent newKeyEvent(long downTime, long eventTime, int action, int keyCode, in newKeyEvent() argument 78 KeyEvent event = new KeyEvent(downTime, eventTime, action, keyCode, 0 /* repeat */, metaState); in newKeyEvent() 110 long downTime = downEvent.getDownTime(); in touchDown() local 112 return downTime; in touchDown() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMotionEvent.java | 24 private long downTime; field in ShadowMotionEvent 30 …public static MotionEvent obtain(long downTime, long eventTime, int action, float x, float y, int … in obtain() argument 39 shadowMotionEvent.downTime = downTime; in obtain() 99 return downTime; in getDownTime()
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
D | ClickAction.java | 58 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform() local 61 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform() 74 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform() local 78 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
|
D | SwipeAction.java | 193 long downTime = Events.touchDown(injector, startX, startY); in perform() local 199 Events.touchMove(injector, downTime, startX + (int) (xStep * i), startY + (int) (yStep * i)); in perform() 206 Events.touchUp(injector, downTime, endX, endY); in perform()
|
D | SingleKeyAction.java | 73 final long downTime = Events.keyDown(injector, keyCode, metaState); in perform() local 74 Events.keyUp(injector, downTime, keyCode, metaState); in perform()
|