/cts/tests/tests/view/jni/ |
D | android_view_cts_AInputNativeTest.cpp | 34 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/ |
D | AccessibilityGestureDispatchTest.java | 211 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/ |
D | SelectionEventTest.java | 50 assertThat(event.getEventTime()).isEqualTo(0); in testSelectionEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 265 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()
|
D | MotionEventTest.java | 146 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()
|
D | ViewUnbufferedTest.java | 159 assertEquals(sentEvent.getEventTime(), receivedEvent.mEventTime); in compareEvent() 258 mReceivedEvents.add(new ReceivedEvent(event.getEventTime(), event.getAction(), in receivedEvent()
|
D | VerifyInputEventTest.java | 320 assertEquals(keyEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareKeys() 345 assertEquals(motionEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareMotions()
|
D | ViewTest.java | 3338 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/ |
D | CtsKeyEventUtil.java | 253 long eventTime = event.getEventTime(); in sendKey()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputEventMatchers.kt | 144 return event.getEventTime() == eventTime in withEventTime()
|
/cts/tests/input/src/android/input/cts/ |
D | MotionPredictorTest.kt | 199 val expectedY = 30 + ((predicted!!.getEventTime() - 16) * yMovement) in testLinearMotion()
|
/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | TvAdServiceTest.java | 608 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 277 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); in testSendTrackballEventSync()
|
D | DialogTest.java | 530 assertEquals(expected.getEventTime(), actual.getEventTime()); in assertMotionEventEquals()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 387 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 439 if (keyEvent.getEventTime() < expectedEventTimeBefore 440 || expectedEventTimeAfter < keyEvent.getEventTime()) { 443 keyEvent.getEventTime()));
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 616 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 1240 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals() 1259 assertThat(actual).hasEventTime(expected.getEventTime()); in assertMotionEventEquals()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 600 assertWithMessage("invalid time on %s (index %s)", event, index).that(event.getEventTime()) in getEvent()
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppServiceTest.java | 2205 assertThat(actual.getEventTime()).isEqualTo(expected.getEventTime()); in assertKeyEventEquals()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 51090 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();
|
D | system-current.txt | 18116 method public long getEventTime();
|