Home
last modified time | relevance | path

Searched refs:eventTimeNanos (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt40 assertEquals(EVENT_TIME_NANOS, event.eventTimeNanos) in testConstructor()
152 assertEquals(event1.eventTimeNanos, event2.eventTimeNanos) in compareVerifiedKeyEvents()
DVerifiedMotionEventTest.kt44 assertEquals(EVENT_TIME_NANOS, event.eventTimeNanos) in testConstructor()
173 assertEquals(event1.eventTimeNanos, event2.eventTimeNanos) in compareVerifiedMotionEvents()
/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java61 protected VerifiedInputEvent(int type, int deviceId, long eventTimeNanos, int source, in VerifiedInputEvent() argument
65 mEventTimeNanos = eventTimeNanos; in VerifiedInputEvent()
DVerifiedKeyEvent.java186 long eventTimeNanos, in VerifiedKeyEvent() argument
196 super(VERIFIED_KEY, deviceId, eventTimeNanos, source, displayId);
DVerifiedMotionEvent.java173 int deviceId, long eventTimeNanos, int source, int displayId, in VerifiedMotionEvent() argument
181 super(VERIFIED_MOTION, deviceId, eventTimeNanos, source, displayId);
DMotionEvent.java1528 long downTimeNanos, long eventTimeNanos, in nativeInitialize() argument
1531 private static native void nativeAddBatch(long nativePtr, long eventTimeNanos, in nativeAddBatch() argument
1989 long downTimeNanos, long eventTimeNanos, in initialize() argument
1993 xPrecision, yPrecision, downTimeNanos, eventTimeNanos, pointerCount, pointerIds, in initialize()
3355 final long eventTimeNanos = nativeGetEventTimeNanos(event.mNativePtr, historyPos); in addBatch() local
3356 nativeAddBatch(mNativePtr, eventTimeNanos, pc, metaState); in addBatch()
3498 final long eventTimeNanos = nativeGetEventTimeNanos(mNativePtr, historyPos); in split() local
3507 nativeGetDownTimeNanos(mNativePtr), eventTimeNanos, in split() local
3510 nativeAddBatch(ev.mNativePtr, eventTimeNanos, pc, 0); in split()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp59 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
91 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
DStructLayout_test.cpp113 sizeof(VerifiedInputEvent::deviceId) + sizeof(VerifiedInputEvent::eventTimeNanos) + in TestVerifiedEventSize()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp36 event.eventTimeNanos, event.source, event.displayId, event.rawX, in android_view_VerifiedMotionEvent()
Dandroid_view_VerifiedKeyEvent.cpp35 event.deviceId, event.eventTimeNanos, event.source, event.displayId, in android_view_VerifiedKeyEvent()
Dandroid_view_MotionEvent.cpp337 jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, in android_view_MotionEvent_nativeInitialize() argument
377 downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, in android_view_MotionEvent_nativeInitialize()
396 jlong nativePtr, jlong eventTimeNanos, jobjectArray pointerCoordsObjArray, in android_view_MotionEvent_nativeAddBatch() argument
417 event->addSample(eventTimeNanos, rawPointerCoords); in android_view_MotionEvent_nativeAddBatch()
/frameworks/native/include/input/
DInput.h789 nsecs_t eventTimeNanos; member
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp330 verifiedEvent.eventTimeNanos += 1; in TEST_F()
1672 ASSERT_EQ(keyArgs.eventTime, verified->eventTimeNanos); in TEST_F()
1709 EXPECT_EQ(motionArgs.eventTime, verified->eventTimeNanos); in TEST_F()