/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()
|
/external/libmojo/base/android/jni_generator/ |
D | testMotionEvent.javap7 | 180 #166 = Utf8 downTime 881 0 10 0 downTime J 910 0 10 0 downTime J 941 0 10 0 downTime J 968 0 10 0 downTime J 999 0 10 0 downTime J
|
D | testMotionEvent.javap | 176 const #166 = Asciz downTime; 719 0 10 0 downTime J 749 0 10 0 downTime J 781 0 10 0 downTime J 809 0 10 0 downTime J 841 0 10 0 downTime J
|