/frameworks/base/services/input/ |
H A D | InputListener.cpp | 48 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 D | InputListener.h | 64 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 D | InputDispatcher.cpp | 650 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 D | InputDispatcher.h | 478 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 D | InputReader.h | 1418 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);
|
H A D | InputReader.cpp | 2144 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...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 264 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 D | InputPublisherAndConsumer_test.cpp | 81 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 D | InputTransport.h | 67 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 D | Input.h | 303 nsecs_t downTime, 362 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } argument 513 nsecs_t downTime,
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 242 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 D | Input.cpp | 130 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 D | MotionEvent.java | 1348 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 D | KeyEvent.java | 1363 * @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 D | android_view_KeyEvent.cpp | 84 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); local 88 milliseconds_to_nanoseconds(downTime),
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | EventSenderImpl.java | 122 public void setDownTime(long downTime) { argument 123 mDownTime = downTime;
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 1568 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1583 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1600 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1617 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1634 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1651 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 2051 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 2073 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 2779 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 2795 ASSERT_EQ(ARBITRARY_TIME, args.downTime); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 866 long downTime = event.getDownTime(); 882 if (downTime == 0) { 883 downTime = eventTime; 885 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState,
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 2040 final long downTime = SystemClock.uptimeMillis(); 2041 KeyEvent down = KeyEvent.obtain(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, 0, 0, 2050 KeyEvent up = KeyEvent.obtain(downTime, upTime, KeyEvent.ACTION_UP, keyCode, 0, 0,
|
H A D | ScreenMagnifier.java | 700 final long downTime = event.getDownTime() + offset; 702 return MotionEvent.obtain(downTime, eventTime,
|