Home
last modified time | relevance | path

Searched refs:getEventTime (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp34 jmethodID getEventTime; member
46 jmethodID getEventTime; member
57 jlong eventTime = env->CallLongMethod(obj, gMotionEventMethodIds.getEventTime) * NS_PER_MS; in nativeMotionEventTest()
127 jlong eventTime = env->CallLongMethod(obj, gKeyEventMethodIds.getEventTime) * NS_PER_MS; in nativeKeyEventTest()
179 gMotionEventMethodIds.getEventTime = env->GetMethodID(clazz, "getEventTime", "()J"); in register_android_view_cts_AMotionEventNativeTest()
194 gKeyEventMethodIds.getEventTime = env->GetMethodID(clazz, "getEventTime", "()J"); in register_android_view_cts_AKeyEventNativeTest()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java211 assertEquals(clickDown.getDownTime(), clickDown.getEventTime()); in testClickAt_producesDownThenUp()
214 clickUp.getEventTime() - clickUp.getDownTime()); in testClickAt_producesDownThenUp()
215 assertTrue(clickDown.getEventTime() + ViewConfiguration.getLongPressTimeout() in testClickAt_producesDownThenUp()
216 > clickUp.getEventTime()); in testClickAt_producesDownThenUp()
235 assertTrue(clickDown.getEventTime() + ViewConfiguration.getLongPressTimeout() in testLongClickAt_producesEventsWithLongClickTiming()
236 <= clickUp.getEventTime()); in testLongClickAt_producesEventsWithLongClickTiming()
262 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()
264 long lastEventTime = downEvent.getEventTime(); in testSwipe_shouldContainPointsInALine()
267 assertTrue(moveEvent.getEventTime() >= lastEventTime); in testSwipe_shouldContainPointsInALine()
269 ((float) (moveEvent.getEventTime() - downEvent.getEventTime())) / gestureTime; in testSwipe_shouldContainPointsInALine()
[all …]
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DSelectionEventTest.java50 assertThat(event.getEventTime()).isEqualTo(0); in testSelectionEvent()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java265 assertEquals(mEventTime, mKeyEvent.getEventTime()); in testGetEventTime()
676 assertEquals(mKeyEvent.getEventTime(), keyEvent.getEventTime()); in testWriteToParcel()
722 assertEquals(mKeyEvent.getEventTime(), newEvent.getEventTime()); in testChangeAction()
739 assertEquals(mKeyEvent.getEventTime(), newEvent.getEventTime()); in testChangeFlags()
752 assertEquals(newEventTime, newEvent.getEventTime()); in testChangeTimeRepeat()
855 assertEquals(javaKeyEvent.getEventTime(), keyEventFromNative.getEventTime()); in testNativeToJavaConverter()
DMotionEventTest.java146 assertEquals(mEventTime, mMotionEvent1.getEventTime()); in testObtainBasic()
167 assertEquals(mMotionEvent2.getEventTime(), mMotionEventDynamic.getEventTime()); in testObtainFromMotionEvent()
190 assertEquals(mEventTime, mMotionEventDynamic.getEventTime()); in testObtainAllFields()
263 assertEquals(mEventTime + 20, mMotionEvent2.getEventTime()); in testObtainNoHistory()
344 assertEquals(mMotionEvent2.getEventTime(), motionEvent.getEventTime()); in testWriteToParcel()
447 assertEquals(mEventTime + 10, mMotionEvent2.getEventTime()); in testGetHistoricalData()
463 assertEquals(mEventTime + 20, mMotionEvent2.getEventTime()); in testGetHistoricalData()
649 assertEquals(mEventTime + 10, mMotionEventDynamic.getEventTime()); in testGetHistoricalDataWithTwoPointers()
679 assertEquals(mEventTime + 20, mMotionEventDynamic.getEventTime()); in testGetHistoricalDataWithTwoPointers()
1116 withEventTime(javaMotionEvent.getEventTime()), in testNativeToJavaConverter()
DViewUnbufferedTest.java159 assertEquals(sentEvent.getEventTime(), receivedEvent.mEventTime); in compareEvent()
258 mReceivedEvents.add(new ReceivedEvent(event.getEventTime(), event.getAction(), in receivedEvent()
DVerifyInputEventTest.java320 assertEquals(keyEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareKeys()
345 assertEquals(motionEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareMotions()
DViewTest.java3338 assertEquals(event1.getEventTime(), event2.getEventTime()); in compareAndRecycleMotionEvents()
3340 assertEquals(event1.getEventTime(), event2.getEventTime(), 20 /*delta*/); in compareAndRecycleMotionEvents()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java253 long eventTime = event.getEventTime(); in sendKey()
/cts/libs/input/src/com/android/cts/input/
DInputEventMatchers.kt144 return event.getEventTime() == eventTime in withEventTime()
/cts/tests/input/src/android/input/cts/
DMotionPredictorTest.kt199 val expectedY = 30 + ((predicted!!.getEventTime() - 16) * yMovement) in testLinearMotion()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java608 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java277 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); in testSendTrackballEventSync()
DDialogTest.java530 assertEquals(expected.getEventTime(), actual.getEventTime()); in assertMotionEventEquals()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java387 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java439 if (keyEvent.getEventTime() < expectedEventTimeBefore
440 || expectedEventTimeAfter < keyEvent.getEventTime()) {
443 keyEvent.getEventTime()));
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java616 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java1240 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals()
1259 assertThat(actual).hasEventTime(expected.getEventTime()); in assertMotionEventEquals()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java600 assertWithMessage("invalid time on %s (index %s)", event, index).that(event.getEventTime()) in getEvent()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java2205 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt51090 method public abstract long getEventTime();
51171 method public final long getEventTime();
51782 method public long getEventTime();
52112 method public long getEventTime();
54702 method public long getEventTime();
56887 method public long getEventTime();
Dsystem-current.txt18116 method public long getEventTime();