Searched refs:downTime (Results 1 - 19 of 19) sorted by relevance

/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) {
91 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, 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);
96 nsecs_t downTime; member in struct:android::NotifyMotionArgs
104 float xPrecision, float yPrecision, nsecs_t downTime);
H A DInputDispatcher.cpp632 entry->metaState, entry->repeatCount + 1, entry->downTime);
780 "repeatCount=%d, downTime=%lld",
784 entry->repeatCount, entry->downTime);
847 "edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld",
853 entry->downTime);
1908 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime,
1954 motionEntry->downTime, motionEntry->eventTime,
2273 originalMotionEntry->downTime,
2305 "flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, downTime=%lld",
2308 args->metaState, args->downTime);
3769 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
3801 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, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
[all...]
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
522 nsecs_t downTime, uint32_t pointerCount,
744 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::KeyMemento
754 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputReader.h1357 nsecs_t downTime; member in struct:android::TouchInputMapper::CurrentVirtualKeyState
1463 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerGesture
1505 downTime = 0;
1534 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerSimple
1543 downTime = 0;
1591 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
H A DInputReader.cpp2138 nsecs_t downTime = mDownTime; local
2160 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime);
2414 nsecs_t downTime = mDownTime; local
2500 1, &pointerProperties, &pointerCoords, mXPrecision, mYPrecision, downTime);
2509 1, &pointerProperties, &pointerCoords, mXPrecision, mYPrecision, downTime);
2521 1, &pointerProperties, &pointerCoords, mXPrecision, mYPrecision, downTime);
3753 mCurrentVirtualKey.downTime = when;
3799 nsecs_t downTime = mCurrentVirtualKey.downTime; local
3804 keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime);
5375 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...]
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java264 long downTime = SystemClock.uptimeMillis();
267 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
274 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE,
280 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0);
304 long downTime = SystemClock.uptimeMillis();
307 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
314 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL,
339 long downTime = SystemClock.uptimeMillis();
342 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
350 event = MotionEvent.obtain(downTime, eventTim
[all...]
/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/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.h294 nsecs_t downTime,
353 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } argument
504 nsecs_t downTime,
/frameworks/base/libs/androidfw/
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...]
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
/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...]
/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/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSenderImpl.java122 public void setDownTime(long downTime) { argument
123 mDownTime = downTime;
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1548 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1563 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1580 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1597 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1614 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1631 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2031 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2053 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2759 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2775 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
[all...]
/frameworks/base/core/java/android/app/
H A DInstrumentation.java865 long downTime = event.getDownTime();
881 if (downTime == 0) {
882 downTime = eventTime;
884 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState,
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java1755 final long downTime = SystemClock.uptimeMillis();
1756 KeyEvent down = KeyEvent.obtain(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, 0, 0,
1765 KeyEvent up = KeyEvent.obtain(downTime, upTime, KeyEvent.ACTION_UP, keyCode, 0, 0,

Completed in 451 milliseconds