Home
last modified time | relevance | path

Searched refs:downTime (Results 1 – 7 of 7) sorted by relevance

/external/droiddriver/src/io/appium/droiddriver/util/
DEvents.java40 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/droiddriver/src/io/appium/droiddriver/actions/
DClickAction.java58 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()
DSwipeAction.java193 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()
DSingleKeyAction.java73 final long downTime = Events.keyDown(injector, keyCode, metaState); in perform() local
74 Events.keyUp(injector, downTime, keyCode, metaState); in perform()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java382 public void setDownTime(long downTime) { in setDownTime() argument
383 mDownTime = downTime; in setDownTime()
564 long downTime, in initialize() argument
580 mDownTime = downTime; in initialize()
/external/libchrome/base/android/jni_generator/
DtestMotionEvent.javap7180 #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
DtestMotionEvent.javap176 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