Home
last modified time | relevance | path

Searched refs:getDownTime (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp33 jmethodID getDownTime; member
43 jmethodID getDownTime; member
54 jlong downTime = env->CallLongMethod(obj, gMotionEventMethodIds.getDownTime) * NS_PER_MS; in nativeMotionEventTest()
95 jlong downTime = env->CallLongMethod(obj, gKeyEventMethodIds.getDownTime) * NS_PER_MS; in nativeKeyEventTest()
133 gMotionEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AMotionEventNativeTest()
146 gKeyEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AKeyEventNativeTest()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java258 assertEquals(mDownTime, mKeyEvent.getDownTime()); in testGetDownTime()
658 assertEquals(mKeyEvent.getDownTime(), keyEvent.getDownTime()); in testWriteToParcel()
704 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction()
721 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeFlags()
742 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeTimeRepeat()
DMotionEventTest.java110 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic()
130 assertEquals(mMotionEvent2.getDownTime(), mMotionEventDynamic.getDownTime()); in testObtainFromMotionEvent()
152 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields()
273 assertEquals(mMotionEvent2.getDownTime(), motionEvent.getDownTime()); in testWriteToParcel()
DVerifyInputEventTest.java311 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys()
333 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
DViewTest.java3200 assertEquals(event1.getDownTime(), event2.getDownTime()); in compareAndRecycleMotionEvents()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java205 assertEquals(clickDown.getDownTime(), clickDown.getEventTime()); in testClickAt_producesDownThenUp()
206 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testClickAt_producesDownThenUp()
208 clickUp.getEventTime() - clickUp.getDownTime()); in testClickAt_producesDownThenUp()
231 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testLongClickAt_producesEventsWithLongClickTiming()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java336 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent()
347 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java176 long downTime = event.getDownTime(); in sendKey()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java216 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
DDialogTest.java528 assertEquals(expected.getDownTime(), actual.getDownTime()); in assertMotionEventEquals()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java881 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
900 assertThat(actual).hasDownTime(expected.getDownTime()); in assertMotionEventEquals()