Home
last modified time | relevance | path

Searched defs:downTime (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java96 final long downTime = SystemClock.uptimeMillis(); in testCancelEvent() local
115 final long downTime = SystemClock.uptimeMillis(); in testTwoPointers() local
148 final long downTime = SystemClock.uptimeMillis(); in testOnTouchExplorationHoverEvent_withNullBounds_noException() local
160 final long downTime = SystemClock.uptimeMillis(); in testOnTouchExplorationHoverEvent_whenA11yEbtDisabled_receiveNoEvent() local
193 final long downTime = SystemClock.uptimeMillis(); in click() local
199 private void dispatchTouchEventToActivity(int action, int y, long downTime) { in dispatchTouchEventToActivity()
204 private void dispatchHoverEventToActivity(int action, int y, long downTime) { in dispatchHoverEventToActivity()
209 private void dispatchMotionEventToActivity(int action, int y, long downTime, int source, in dispatchMotionEventToActivity()
222 int y, long downTime) { in dispatchMultiTouchMotionEventToActivity()
DVerifyInputEventTest.java101 final long downTime = SystemClock.uptimeMillis(); in testKeyEvent() local
125 final long downTime = SystemClock.uptimeMillis(); in testKeyEventWithoutHmac() local
147 final long downTime = SystemClock.uptimeMillis(); in testTamperedKeyEvent() local
168 final long downTime = SystemClock.uptimeMillis(); in testMotionEvent() local
196 final long downTime = SystemClock.uptimeMillis(); in testMotionEventWithoutHmac() local
221 final long downTime = SystemClock.uptimeMillis(); in testTamperedMotionEvent() local
248 final long downTime = SystemClock.uptimeMillis(); in testDeviceIdBecomesVirtualForInjectedKeys() local
278 final long downTime = SystemClock.uptimeMillis(); in testDeviceIdBecomesVirtualForInjectedMotions() local
DKeyEventInterceptTest.java121 final long downTime = SystemClock.uptimeMillis(); in testKeyCodeHomeShortcut() local
136 long downTime = SystemClock.uptimeMillis(); in sendKey() local
DMenuTest.java260 long downTime = SystemClock.uptimeMillis(); in generateKeyEvent() local
DKeyEventInjectionTest.java163 final long downTime = SystemClock.uptimeMillis(); in sendKeyViaInstrumentation() local
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java66 final long downTime = SystemClock.uptimeMillis(); in touchAndCancelOnDisplayCenterSync() local
86 final long downTime = SystemClock.uptimeMillis(); in tapOnDisplay() local
135 public static void injectMotion(long downTime, long eventTime, int action, in injectMotion()
141 public static void injectMotion(long downTime, long eventTime, int action, in injectMotion()
151 final long downTime = injectKeyActionDown(keyCode, longPress, sync); in injectKey() local
156 final long downTime = SystemClock.uptimeMillis(); in injectKeyActionDown() local
170 public static void injectKeyActionUp(int keyCode, long downTime, boolean cancelled, in injectKeyActionUp()
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt129 val downTime = SystemClock.uptimeMillis() in dragAndHoldExecute() constant
229 val downTime = SystemClock.uptimeMillis() in emulateDragGesture() constant
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractWebViewActivity.java54 final long downTime = SystemClock.uptimeMillis(); in dispatchKeyPress() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java115 final long downTime = SystemClock.uptimeMillis(); in emulateTapOnView() local
162 final long downTime = SystemClock.uptimeMillis(); in emulateDoubleTapOnView() local
244 final long downTime = SystemClock.uptimeMillis(); in emulateDragGesture() local
332 final long downTime = SystemClock.uptimeMillis(); in emulateDragGesture() local
380 public long injectDownEvent(Instrumentation instrumentation, long downTime, int xOnScreen, in injectDownEvent()
395 private void injectMoveEventForTap(Instrumentation instrumentation, long downTime, in injectMoveEventForTap()
406 private void injectMoveEventsForDrag(Instrumentation instrumentation, long downTime, in injectMoveEventsForDrag()
497 public void injectUpEvent(Instrumentation instrumentation, long downTime, in injectUpEvent()
773 final long downTime = SystemClock.uptimeMillis(); in emulateLongPressOnScreen() local
DCtsMouseUtil.java85 final long downTime = SystemClock.uptimeMillis(); in emulateHoverOnView() local
93 private static void injectHoverEvent(Instrumentation instrumentation, long downTime, in injectHoverEvent()
DCtsKeyEventUtil.java252 long downTime = event.getDownTime(); in sendKey() local
310 final long downTime = SystemClock.uptimeMillis(); in sendKeyWhileHoldingModifier() local
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java191 long downTime = SystemClock.uptimeMillis(); in injectTap() local
196 private void injectEvent(int action, int x, int y, long downTime) { in injectEvent()
/cts/tests/input/src/android/input/cts/
DInputInjectionTest.kt186 val downTime = SystemClock.uptimeMillis() in <lambda>() constant
223 val downTime = SystemClock.uptimeMillis() in <lambda>() constant
DTouchInjector.kt34 private var downTime: Long = 0 variable
DIncompleteMotionTest.kt102 val downTime = SystemClock.uptimeMillis() in testIncompleteMotion() constant
DVelocityTrackerTest.kt203 val downTime = SystemClock.uptimeMillis() in testUsesRawCoordinates() constant
/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java140 long downTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DOnBackInvokedCallbackGestureTest.java161 long downTime = TouchHelper.injectKeyActionDown(KeyEvent.KEYCODE_BACK, in invokesCallbackInButtonsNav_invoked() local
183 long downTime = TouchHelper.injectKeyActionDown(KeyEvent.KEYCODE_BACK, in invokesCallbackInButtonsNav_cancelled() local
/cts/tests/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java233 long downTime = SystemClock.uptimeMillis(); in previousParagraphCall() local
249 long downTime = SystemClock.uptimeMillis(); in nextParagraphCall() local
DTouchTest.java151 long downTime = SystemClock.uptimeMillis(); in testOnTouchEvent() local
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java66 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()
DLightBarTests.java303 long downTime = SystemClock.uptimeMillis(); in injectCanceledTap() local
308 private void injectEvent(int action, int x, int y, long downTime) { in injectEvent()
/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp56 jlong downTime = env->CallLongMethod(obj, gMotionEventMethodIds.getDownTime) * NS_PER_MS; in nativeMotionEventTest() local
126 jlong downTime = env->CallLongMethod(obj, gKeyEventMethodIds.getDownTime) * NS_PER_MS; in nativeKeyEventTest() local
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaActivityTest.java294 final long downTime = SystemClock.uptimeMillis(); in sendKeyEvent() local
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java405 final long downTime = SystemClock.uptimeMillis(); in injectFingerEventOnViewCenter() local
527 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()
532 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()

12