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.kt45 assertEquals(EVENT_TIME_NANOS, event.eventTimeNanos) in testConstructor()
176 assertEquals(event1.eventTimeNanos, event2.eventTimeNanos) in compareVerifiedMotionEvents()
/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java62 protected VerifiedInputEvent(int type, int deviceId, long eventTimeNanos, int source, in VerifiedInputEvent() argument
66 mEventTimeNanos = eventTimeNanos; in VerifiedInputEvent()
DVerifiedKeyEvent.java187 long eventTimeNanos, in VerifiedKeyEvent() argument
197 super(VERIFIED_KEY, deviceId, eventTimeNanos, source, displayId);
DVerifiedMotionEvent.java177 int deviceId, long eventTimeNanos, int source, int displayId, in VerifiedMotionEvent() argument
185 super(VERIFIED_MOTION, deviceId, eventTimeNanos, source, displayId);
DMotionEvent.java1555 long downTimeNanos, long eventTimeNanos, in nativeInitialize() argument
1558 private static native void nativeAddBatch(long nativePtr, long eventTimeNanos, in nativeAddBatch() argument
2018 long downTimeNanos, long eventTimeNanos, in initialize() argument
2022 xPrecision, yPrecision, downTimeNanos, eventTimeNanos, pointerCount, pointerIds, in initialize()
3399 final long eventTimeNanos = nativeGetEventTimeNanos(event.mNativePtr, historyPos); in addBatch() local
3400 nativeAddBatch(mNativePtr, eventTimeNanos, pc, metaState); in addBatch()
3543 final long eventTimeNanos = nativeGetEventTimeNanos(mNativePtr, historyPos); in split() local
3552 nativeGetDownTimeNanos(mNativePtr), eventTimeNanos, in split() local
3555 nativeAddBatch(ev.mNativePtr, eventTimeNanos, pc, 0); in split()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp63 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
95 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
DStructLayout_test.cpp140 sizeof(VerifiedInputEvent::deviceId) + sizeof(VerifiedInputEvent::eventTimeNanos) + in TestVerifiedEventSize()
/frameworks/base/core/jni/
Dandroid_view_VerifiedKeyEvent.cpp35 event.deviceId, event.eventTimeNanos, event.source, event.displayId, in android_view_VerifiedKeyEvent()
Dandroid_view_VerifiedMotionEvent.cpp36 event.eventTimeNanos, event.source, event.displayId, event.rawX, in android_view_VerifiedMotionEvent()
Dandroid_view_MotionEvent.cpp340 jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, in android_view_MotionEvent_nativeInitialize() argument
382 AMOTION_EVENT_INVALID_DISPLAY_SIZE, downTimeNanos, eventTimeNanos, in android_view_MotionEvent_nativeInitialize()
395 jlong nativePtr, jlong eventTimeNanos, jobjectArray pointerCoordsObjArray, in android_view_MotionEvent_nativeAddBatch() argument
416 event->addSample(eventTimeNanos, rawPointerCoords); in android_view_MotionEvent_nativeAddBatch()
/frameworks/native/include/input/
DInput.h916 nsecs_t eventTimeNanos; member
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp2382 ASSERT_EQ(keyArgs.eventTime, verified->eventTimeNanos); in TEST_F()
2419 EXPECT_EQ(motionArgs.eventTime, verified->eventTimeNanos); in TEST_F()
2518 verifiedEvent.eventTimeNanos += 1; in TEST_F()