Searched refs:getDownTime (Results 1 – 15 of 15) sorted by relevance
/cts/tests/tests/view/jni/ |
D | android_view_cts_AInputNativeTest.cpp | 33 jmethodID getDownTime; member 45 jmethodID getDownTime; member 56 jlong downTime = env->CallLongMethod(obj, gMotionEventMethodIds.getDownTime) * NS_PER_MS; in nativeMotionEventTest() 126 jlong downTime = env->CallLongMethod(obj, gKeyEventMethodIds.getDownTime) * NS_PER_MS; in nativeKeyEventTest() 178 gMotionEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AMotionEventNativeTest() 193 gKeyEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AKeyEventNativeTest()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 272 assertEquals(mDownTime, mKeyEvent.getDownTime()); in testGetDownTime() 675 assertEquals(mKeyEvent.getDownTime(), keyEvent.getDownTime()); in testWriteToParcel() 721 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction() 738 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeFlags() 759 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeTimeRepeat() 854 assertEquals(javaKeyEvent.getDownTime(), keyEventFromNative.getDownTime()); in testNativeToJavaConverter()
|
D | MotionEventTest.java | 145 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic() 166 assertEquals(mMotionEvent2.getDownTime(), mMotionEventDynamic.getDownTime()); in testObtainFromMotionEvent() 189 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields() 343 assertEquals(mMotionEvent2.getDownTime(), motionEvent.getDownTime()); in testWriteToParcel() 1117 withDownTime(javaMotionEvent.getDownTime()), in testNativeToJavaConverter()
|
D | VerifyInputEventTest.java | 334 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys() 356 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
|
D | ViewTest.java | 3331 assertEquals(event1.getDownTime(), event2.getDownTime()); in compareAndRecycleMotionEvents()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 211 assertEquals(clickDown.getDownTime(), clickDown.getEventTime()); in testClickAt_producesDownThenUp() 212 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testClickAt_producesDownThenUp() 214 clickUp.getEventTime() - clickUp.getDownTime()); in testClickAt_producesDownThenUp() 237 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testLongClickAt_producesEventsWithLongClickTiming()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 376 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent() 387 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 605 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent() 616 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 252 long downTime = event.getDownTime(); in sendKey()
|
/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | TvAdServiceTest.java | 607 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 278 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
|
D | DialogTest.java | 529 assertEquals(expected.getDownTime(), actual.getDownTime()); in assertMotionEventEquals()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 1239 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals() 1258 assertThat(actual).hasDownTime(expected.getDownTime()); in assertMotionEventEquals()
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppServiceTest.java | 2204 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 51170 method public final long getDownTime(); 51780 method public long getDownTime();
|