Home
last modified time | relevance | path

Searched refs:downTimeNanos (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java191 @SuppressLint({ "MethodNameUnits" }) long downTimeNanos, in VerifiedKeyEvent() argument
201 this.mDownTimeNanos = downTimeNanos;
357 long downTimeNanos = in.readLong(); in VerifiedKeyEvent() local
367 this.mDownTimeNanos = downTimeNanos; in VerifiedKeyEvent()
DVerifiedMotionEvent.java181 @SuppressLint({ "MethodNameUnits" }) long downTimeNanos, in VerifiedMotionEvent() argument
191 this.mDownTimeNanos = downTimeNanos;
343 long downTimeNanos = in.readLong(); in VerifiedMotionEvent() local
353 this.mDownTimeNanos = downTimeNanos; in VerifiedMotionEvent()
DMotionEvent.java1810 long downTimeNanos, long eventTimeNanos, in nativeInitialize() argument
2319 long downTimeNanos, long eventTimeNanos, in initialize() argument
2326 xPrecision, yPrecision, downTimeNanos, eventTimeNanos, pointerCount, pointerIds, in initialize()
DKeyEvent.java1789 private static KeyEvent obtain(int id, long downTimeNanos, long eventTimeNanos, int action, in obtain() argument
1795 ev.mDownTime = downTimeNanos; in obtain()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt47 assertEquals(DOWN_TIME_NANOS, event.downTimeNanos) in testConstructor()
159 assertEquals(event1.downTimeNanos, event2.downTimeNanos) in compareVerifiedKeyEvents()
DVerifiedMotionEventTest.kt54 assertEquals(DOWN_TIME_NANOS, event.downTimeNanos) in testConstructor()
185 assertEquals(event1.downTimeNanos, event2.downTimeNanos) in compareVerifiedMotionEvents()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp37 event.rawY, event.actionMasked, event.downTimeNanos, event.flags, in android_view_VerifiedMotionEvent()
Dandroid_view_VerifiedKeyEvent.cpp36 event.action, event.downTimeNanos, event.flags, event.keyCode, in android_view_VerifiedKeyEvent()
Dandroid_view_MotionEvent.cpp327 jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, in android_view_MotionEvent_nativeInitialize() argument
379 AMOTION_EVENT_INVALID_CURSOR_POSITION, kIdentityTransform, downTimeNanos, in android_view_MotionEvent_nativeInitialize()
799 CRITICAL_JNI_PARAMS_COMMA jlong nativePtr, jlong downTimeNanos) { in android_view_MotionEvent_nativeSetDownTimeNanos() argument
801 event->setDownTime(downTimeNanos); in android_view_MotionEvent_nativeSetDownTimeNanos()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp68 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
102 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
DStructLayout_test.cpp181 sizeof(VerifiedKeyEvent::action) + sizeof(VerifiedKeyEvent::downTimeNanos) + in TestVerifiedEventSize()
190 sizeof(VerifiedMotionEvent::actionMasked) + sizeof(VerifiedMotionEvent::downTimeNanos) + in TestVerifiedEventSize()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java230 public static KeyEvent javaToAndroidKeyEvent(java.awt.event.KeyEvent event, long downTimeNanos, in javaToAndroidKeyEvent() argument
262 return KeyEvent.obtain(downTimeNanos / TimeUtils.NANOS_PER_MS, in javaToAndroidKeyEvent()
/frameworks/native/include/input/
DInput.h1097 nsecs_t downTimeNanos; member
1113 nsecs_t downTimeNanos; member
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp7296 ASSERT_EQ(keyArgs.downTime, verifiedKey.downTimeNanos); in TEST_F()
7345 EXPECT_EQ(motionArgs.downTime, verifiedMotion.downTimeNanos); in TEST_F()
7388 verifiedEvent.downTimeNanos += 1; in TEST_F()