Home
last modified time | relevance | path

Searched refs:downTime (Results 1 – 18 of 18) 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMotionEvent.java24 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/
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/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...