Searched refs:getDownTime (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/view/jni/ |
D | android_view_cts_AInputNativeTest.cpp | 33 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/ |
D | KeyEventTest.java | 258 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()
|
D | MotionEventTest.java | 110 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()
|
D | VerifyInputEventTest.java | 311 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys() 333 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
|
D | ViewTest.java | 3200 assertEquals(event1.getDownTime(), event2.getDownTime()); in compareAndRecycleMotionEvents()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 205 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/ |
D | InputTestCase.java | 336 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/ |
D | CtsKeyEventUtil.java | 176 long downTime = event.getDownTime(); in sendKey()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 216 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
|
D | DialogTest.java | 528 assertEquals(expected.getDownTime(), actual.getDownTime()); in assertMotionEventEquals()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 881 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals() 900 assertThat(actual).hasDownTime(expected.getDownTime()); in assertMotionEventEquals()
|