Searched refs:downTime (Results 1 - 21 of 21) 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) {
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.cpp664 entry->metaState, entry->repeatCount + 1, entry->downTime);
812 "repeatCount=%d, downTime=%lld",
816 entry->repeatCount, entry->downTime);
882 "edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld",
888 entry->downTime);
1952 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime,
1998 motionEntry->downTime, motionEntry->eventTime,
2317 originalMotionEntry->downTime,
2350 "flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, downTime=%lld",
2353 args->metaState, args->downTime);
3861 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
3896 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 DInputDispatcher.h481 nsecs_t downTime; member in struct:android::InputDispatcher::KeyEntry
497 int32_t repeatCount, nsecs_t downTime);
516 nsecs_t downTime; member in struct:android::InputDispatcher::MotionEntry
527 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
750 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::KeyMemento
760 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputReader.cpp2147 nsecs_t downTime = mDownTime; local
2169 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime);
2425 nsecs_t downTime = mDownTime; local
2515 mXPrecision, mYPrecision, downTime);
2525 mXPrecision, mYPrecision, downTime);
2538 mXPrecision, mYPrecision, downTime);
3901 mCurrentVirtualKey.downTime = when;
3947 nsecs_t downTime = mCurrentVirtualKey.downTime; local
3952 keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime);
5585 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.h1438 nsecs_t downTime; member in struct:android::TouchInputMapper::CurrentVirtualKeyState
1544 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerGesture
1586 downTime = 0;
1615 nsecs_t downTime; member in struct:android::TouchInputMapper::PointerSimple
1624 downTime = 0;
1672 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
/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/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/native/include/input/
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
211 nsecs_t downTime,
235 nsecs_t downTime,
H A DInput.h302 nsecs_t downTime,
361 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } argument
512 nsecs_t downTime,
/frameworks/native/libs/input/
H A DInputTransport.cpp248 nsecs_t downTime,
253 "downTime=%lld, eventTime=%lld",
256 downTime, eventTime);
275 msg.body.key.downTime = downTime;
293 nsecs_t downTime,
302 "xPrecision=%f, yPrecision=%f, downTime=%lld, eventTime=%lld, "
306 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
334 msg.body.motion.downTime = downTime;
238 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
280 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.cpp132 nsecs_t downTime,
141 mDownTime = downTime;
296 nsecs_t downTime,
311 mDownTime = downTime;
123 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
284 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.java1381 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1391 public KeyEvent(long downTime, long eventTime, int action, argument
1393 mDownTime = downTime;
1404 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1415 public KeyEvent(long downTime, long eventTime, int action, argument
1417 mDownTime = downTime;
1429 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis})
1442 public KeyEvent(long downTime, long eventTime, int action, argument
1445 mDownTime = downTime;
1458 * @param downTime Th
1472 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1504 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1606 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/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java711 long downTime = SystemClock.uptimeMillis();
713 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, 1,
718 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
735 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
749 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
757 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, 1,
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DInteractionController.java711 long downTime = SystemClock.uptimeMillis();
713 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, 1,
718 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
735 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
749 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
757 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, 1,
/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp85 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); local
89 milliseconds_to_nanoseconds(downTime),
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1578 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1593 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1610 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1627 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1644 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
1661 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2061 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2083 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2789 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
2805 ASSERT_EQ(ARBITRARY_TIME, args.downTime);
[all...]
/frameworks/base/core/java/android/app/
H A DInstrumentation.java873 long downTime = event.getDownTime();
889 if (downTime == 0) {
890 downTime = eventTime;
892 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState,
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java815 final long downTime = event.getDownTime() + offset;
817 return MotionEvent.obtain(downTime, eventTime,
H A DAccessibilityManagerService.java2415 final long downTime = SystemClock.uptimeMillis();
2416 KeyEvent down = KeyEvent.obtain(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, 0, 0,
2425 KeyEvent up = KeyEvent.obtain(downTime, upTime, KeyEvent.ACTION_UP, keyCode, 0, 0,

Completed in 345 milliseconds