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

/frameworks/base/libs/androidfw/tests/
H A DInputPublisherAndConsumer_test.cpp81 const nsecs_t downTime = 3; local
85 keyCode, scanCode, metaState, repeatCount, downTime, eventTime);
110 EXPECT_EQ(downTime, keyEvent->getDownTime());
143 const nsecs_t downTime = 3; local
167 downTime, eventTime, pointerCount,
194 EXPECT_EQ(downTime, motionEvent->getDownTime());
/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp84 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); local
88 milliseconds_to_nanoseconds(downTime),
/frameworks/base/services/input/
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,
746 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::KeyMemento
756 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputDispatcher.cpp650 entry->metaState, entry->repeatCount + 1, entry->downTime);
798 "repeatCount=%d, downTime=%lld",
802 entry->repeatCount, entry->downTime);
868 "edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld",
874 entry->downTime);
1951 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime,
1997 motionEntry->downTime, motionEntry->eventTime,
2316 originalMotionEntry->downTime,
2349 "flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, downTime=%lld",
2352 args->metaState, args->downTime);
3831 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
3863 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) argument
[all...]
H A DInputReader.cpp2144 nsecs_t downTime = mDownTime; local
2166 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime);
2422 nsecs_t downTime = mDownTime; local
2512 mXPrecision, mYPrecision, downTime);
2522 mXPrecision, mYPrecision, downTime);
2535 mXPrecision, mYPrecision, downTime);
3831 mCurrentVirtualKey.downTime = when;
3877 nsecs_t downTime = mCurrentVirtualKey.downTime; local
3882 keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime);
5462 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.h1418 nsecs_t downTime; member in struct:android::TouchInputMapper::CurrentVirtualKeyState
1524 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerGesture
1566 downTime = 0;
1595 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerSimple
1604 downTime = 0;
1652 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
/frameworks/base/include/androidfw/
H A DInputTransport.h67 nsecs_t downTime; member in struct:android::InputMessage::Body::Key
84 nsecs_t downTime; member in struct:android::InputMessage::Body::Motion
208 nsecs_t downTime,
232 nsecs_t downTime,
H A DInput.h303 nsecs_t downTime,
362 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } argument
513 nsecs_t downTime,
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DWebViewEventSender.java181 long downTime = SystemClock.uptimeMillis();
188 mTouchPoints.get(i).setDownTime(downTime);
191 MotionEvent event = MotionEvent.obtain(downTime, downTime,
223 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(),
246 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(),
286 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(),
389 public void setDownTime(long downTime) { mDownTime = downTime; } argument
390 public long downTime() { retur method in class:WebViewEventSender.TouchPoint
[all...]
/frameworks/base/libs/androidfw/
H A DInput.cpp130 nsecs_t downTime,
139 mDownTime = downTime;
294 nsecs_t downTime,
309 mDownTime = downTime;
121 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
282 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.cpp242 nsecs_t downTime,
247 "downTime=%lld, eventTime=%lld",
250 downTime, eventTime);
269 msg.body.key.downTime = downTime;
287 nsecs_t downTime,
296 "xPrecision=%f, yPrecision=%f, downTime=%lld, eventTime=%lld, "
300 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
328 msg.body.motion.downTime = downTime;
232 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
274 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, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSenderImpl.java122 public void setDownTime(long downTime) { argument
123 mDownTime = downTime;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1348 private static native void nativeSetDownTimeNanos(int nativePtr, long downTime); argument
1406 * @param downTime The time (in ms) when the user originally pressed down to start
1430 static public MotionEvent obtain(long downTime, long eventTime, argument
1439 downTime * NS_PER_MS, eventTime * NS_PER_MS,
1448 * @param downTime The time (in ms) when the user originally pressed down to start
1474 static public MotionEvent obtain(long downTime, long eventTime, argument
1485 return obtain(downTime, eventTime, action, pointerCount, pp,
1495 * @param downTime The time (in ms) when the user originally pressed down to start
1520 static public MotionEvent obtain(long downTime, long eventTime, int action, argument
1540 downTime * NS_PER_M
1580 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
1602 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
1779 setDownTime(long downTime) argument
[all...]
H A DKeyEvent.java1363 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1373 public KeyEvent(long downTime, long eventTime, int action, argument
1375 mDownTime = downTime;
1386 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1397 public KeyEvent(long downTime, long eventTime, int action, argument
1399 mDownTime = downTime;
1411 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1424 public KeyEvent(long downTime, long eventTime, int action, argument
1427 mDownTime = downTime;
1440 * @param downTime Th
1454 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1486 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1588 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 883 milliseconds