Searched defs:downTime (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp82 const nsecs_t downTime = 3; local
86 keyCode, scanCode, metaState, repeatCount, downTime, eventTime);
111 EXPECT_EQ(downTime, keyEvent->getDownTime());
144 const nsecs_t downTime = 3; local
168 downTime, eventTime, pointerCount,
195 EXPECT_EQ(downTime, motionEvent->getDownTime());
/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp86 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); local
90 milliseconds_to_nanoseconds(downTime),
/frameworks/native/services/inputflinger/
H A DInputListener.cpp48 int32_t metaState, nsecs_t downTime) :
51 metaState(metaState), downTime(downTime) {
59 metaState(other.metaState), downTime(other.downTime) {
74 float xPrecision, float yPrecision, nsecs_t downTime) :
78 xPrecision(xPrecision), yPrecision(yPrecision), downTime(downTime) {
92 xPrecision(other.xPrecision), yPrecision(other.yPrecision), downTime(other.downTime) {
45 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument
69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
H A DInputListener.h64 nsecs_t downTime; member in struct:android::NotifyKeyArgs
70 int32_t metaState, nsecs_t downTime);
97 nsecs_t downTime; member in struct:android::NotifyMotionArgs
105 float xPrecision, float yPrecision, nsecs_t downTime);
H A DInputDispatcher.h478 nsecs_t downTime; member in struct:android::InputDispatcher::KeyEntry
494 int32_t repeatCount, nsecs_t downTime);
513 nsecs_t downTime; member in struct:android::InputDispatcher::MotionEntry
524 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
748 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::KeyMemento
758 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputDispatcher.cpp661 entry->metaState, entry->repeatCount + 1, entry->downTime);
809 "repeatCount=%d, downTime=%lld",
813 entry->repeatCount, entry->downTime);
879 "edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld",
885 entry->downTime);
1942 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime,
1988 motionEntry->downTime, motionEntry->eventTime,
2307 originalMotionEntry->downTime,
2340 "flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, downTime=%lld",
2343 args->metaState, args->downTime);
3887 KeyEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) argument
3922 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument
[all...]
H A DInputReader.cpp2169 nsecs_t downTime = mDownTime; local
2194 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime);
2450 nsecs_t downTime = mDownTime; local
2540 mXPrecision, mYPrecision, downTime);
2550 mXPrecision, mYPrecision, downTime);
2563 mXPrecision, mYPrecision, downTime);
3952 mCurrentVirtualKey.downTime = when;
3998 nsecs_t downTime = mCurrentVirtualKey.downTime; local
4003 keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime);
5642 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
H A DInputReader.h1480 nsecs_t downTime; member in struct:android::TouchInputMapper::CurrentVirtualKeyState
1586 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerGesture
1628 downTime = 0;
1657 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerSimple
1666 downTime = 0;
1714 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
/frameworks/native/include/input/
H A DInputTransport.h74 nsecs_t downTime __attribute__((aligned(8))); member in struct:android::InputMessage::Body::Key
91 nsecs_t downTime __attribute__((aligned(8))); member in struct:android::InputMessage::Body::Motion
219 nsecs_t downTime,
243 nsecs_t downTime,
H A DInput.h321 nsecs_t downTime,
380 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } argument
531 nsecs_t downTime,
/frameworks/native/libs/input/
H A DInput.cpp63 nsecs_t downTime,
72 mDownTime = downTime;
227 nsecs_t downTime,
242 mDownTime = downTime;
54 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument
215 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
H A DInputTransport.cpp249 nsecs_t downTime,
254 "downTime=%lld, eventTime=%lld",
257 downTime, eventTime);
276 msg.body.key.downTime = downTime;
294 nsecs_t downTime,
303 "xPrecision=%f, yPrecision=%f, downTime=%lld, eventTime=%lld, "
307 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
335 msg.body.motion.downTime = downTime;
239 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument
281 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1366 private static native void nativeSetDownTimeNanos(long nativePtr, long downTime); argument
1427 * @param downTime The time (in ms) when the user originally pressed down to start
1451 static public MotionEvent obtain(long downTime, long eventTime, argument
1460 downTime * NS_PER_MS, eventTime * NS_PER_MS,
1469 * @param downTime The time (in ms) when the user originally pressed down to start
1495 static public MotionEvent obtain(long downTime, long eventTime, argument
1506 return obtain(downTime, eventTime, action, pointerCount, pp,
1516 * @param downTime The time (in ms) when the user originally pressed down to start
1541 static public MotionEvent obtain(long downTime, long eventTime, int action, argument
1561 downTime * NS_PER_M
1601 obtain(long downTime, long eventTime, int action, int pointerCount, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1623 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
1814 setDownTime(long downTime) argument
[all...]
H A DKeyEvent.java1272 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1282 public KeyEvent(long downTime, long eventTime, int action, argument
1284 mDownTime = downTime;
1295 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1306 public KeyEvent(long downTime, long eventTime, int action, argument
1308 mDownTime = downTime;
1320 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1333 public KeyEvent(long downTime, long eventTime, int action, argument
1336 mDownTime = downTime;
1349 * @param downTime Th
1363 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1395 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1497 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument
[all...]

Completed in 9315 milliseconds