/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 263 long downTime = SystemClock.uptimeMillis(); 266 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 273 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, 279 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); 303 long downTime = SystemClock.uptimeMillis(); 306 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 313 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, 338 long downTime = SystemClock.uptimeMillis(); 341 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 349 event = MotionEvent.obtain(downTime, eventTim [all...] |
/frameworks/base/include/ui/ |
H A D | InputTransport.h | 131 nsecs_t downTime; member in struct:android::InputMessage::__anon148::__anon149 140 nsecs_t downTime; member in struct:android::InputMessage::__anon148::__anon150 208 nsecs_t downTime, 228 nsecs_t downTime,
|
H A D | InputDispatcher.h | 353 int32_t scanCode, int32_t metaState, nsecs_t downTime) = 0; 358 float xPrecision, float yPrecision, nsecs_t downTime) = 0; 430 int32_t scanCode, int32_t metaState, nsecs_t downTime); 435 float xPrecision, float yPrecision, nsecs_t downTime); 497 nsecs_t downTime; member in struct:android::InputDispatcher::KeyEntry 525 nsecs_t downTime; member in struct:android::InputDispatcher::MotionEntry 660 int32_t repeatCount, nsecs_t downTime); 665 nsecs_t downTime, uint32_t pointerCount, 753 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::KeyMemento 761 nsecs_t downTime; member in struct:android::InputDispatcher::InputState::MotionMemento [all...] |
H A D | Input.h | 228 nsecs_t downTime, 381 nsecs_t downTime,
|
H A D | InputReader.h | 439 nsecs_t downTime; // time of most recent key down member in struct:android::KeyboardInputMapper::LockedState 499 nsecs_t downTime; member in struct:android::TrackballInputMapper::LockedState 753 nsecs_t downTime; member in struct:android::TouchInputMapper::LockedState::CurrentVirtualKeyState
|
/frameworks/base/libs/ui/ |
H A D | Input.cpp | 101 nsecs_t downTime, 110 mDownTime = downTime; 139 nsecs_t downTime, 153 mDownTime = downTime; 92 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 128 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument
|
H A D | InputTransport.cpp | 325 nsecs_t downTime, 330 "downTime=%lld, eventTime=%lld", 333 downTime, eventTime); 347 mSharedMessage->key.downTime = downTime; 363 nsecs_t downTime, 371 "xPrecision=%f, yPrecision=%f, downTime=%lld, eventTime=%lld, " 375 xPrecision, yPrecision, downTime, eventTime, pointerCount); 397 mSharedMessage->motion.downTime = downTime; 316 publishKeyEvent( 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 352 publishMotionEvent( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument [all...] |
H A D | InputDispatcher.cpp | 582 entry->metaState, entry->repeatCount + 1, entry->downTime); 710 "repeatCount=%d, downTime=%lld", 714 entry->repeatCount, entry->downTime); 773 "metaState=0x%x, edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld", 778 entry->downTime); 1426 if (motionEntry->eventTime - motionEntry->downTime < LONG_TOUCH_DELAY) { 1661 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime, 1710 motionEntry->downTime, firstMotionSample->eventTime, 2047 originalMotionEntry->downTime, 2086 int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) { 2084 notifyKey(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument 2118 notifyMotion(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument 3029 obtainKeyEntry(nsecs_t eventTime, int32_t deviceId, int32_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 3050 obtainMotionEntry(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument [all...] |
H A D | InputReader.cpp | 861 mLocked.downTime = 0; 882 dump.appendFormat(INDENT3 "DownTime: %lld\n", mLocked.downTime); 933 nsecs_t downTime; local 969 mLocked.downTime = when; 993 downTime = mLocked.downTime; 1002 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime); 1070 dump.appendFormat(INDENT3 "DownTime: %lld\n", mLocked.downTime); 1078 mLocked.downTime = 0; 1147 nsecs_t downTime; local 2103 int32_t keyCode, scanCode, downTime; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 622 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis}) 632 public KeyEvent(long downTime, long eventTime, int action, argument 634 mDownTime = downTime; 644 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis}) 655 public KeyEvent(long downTime, long eventTime, int action, argument 657 mDownTime = downTime; 668 * @param downTime The time (in {@link android.os.SystemClock#uptimeMillis}) 681 public KeyEvent(long downTime, long eventTime, int action, argument 684 mDownTime = downTime; 697 * @param downTime Th 711 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument 743 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument [all...] |
H A D | MotionEvent.java | 398 * @param downTime The time (in ms) when the user originally pressed down to start 422 static public MotionEvent obtain(long downTime, long eventTime, argument 430 ev.mDownTimeNano = downTime * MS_PER_NS; 458 * @param downTime The time (in ms) when the user originally pressed down to start 485 static public MotionEvent obtain(long downTime, long eventTime, int action, argument 492 ev.mDownTimeNano = downTime * MS_PER_NS; 519 * @param downTime The time (in ms) when the user originally pressed down to start 551 static public MotionEvent obtain(long downTime, long eventTime, int action, argument 554 return obtain(downTime, eventTime, action, x, y, pressure, size, 563 * @param downTime Th 575 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_KeyEvent.cpp | 74 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); local 78 milliseconds_to_nanoseconds(downTime),
|
/frameworks/base/libs/ui/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 83 const nsecs_t downTime = 3; local 87 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); 118 EXPECT_EQ(downTime, keyEvent->getDownTime()); 148 const nsecs_t downTime = 3; local 173 downTime, sampleEventTimes[0], pointerCount, pointerIds, samplePointerCoords.array()); 222 EXPECT_EQ(downTime, motionEvent->getDownTime());
|
H A D | InputReader_test.cpp | 178 nsecs_t downTime; member in struct:android::FakeInputDispatcher::NotifyKeyArgs 195 nsecs_t downTime; member in struct:android::FakeInputDispatcher::NotifyMotionArgs 273 int32_t scanCode, int32_t metaState, nsecs_t downTime) { 284 args.downTime = downTime; 292 float xPrecision, float yPrecision, nsecs_t downTime) { 309 args.downTime = downTime; 1453 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 1468 ASSERT_EQ(ARBITRARY_TIME, args.downTime); 271 notifyKey(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument 288 notifyMotion(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 135 private void sendMotionEvent(long downTime, int action, float x, float y, argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | WindowManagerService.java | 5414 long downTime = ev.getDownTime(); 5430 if (downTime == 0) downTime = eventTime; 5432 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState,
|