/frameworks/base/services/input/ |
D | InputListener.cpp | 48 int32_t metaState, nsecs_t downTime) : in NotifyKeyArgs() argument 51 metaState(metaState), downTime(downTime) { in NotifyKeyArgs() 59 metaState(other.metaState), downTime(other.downTime) { in NotifyKeyArgs() 74 float xPrecision, float yPrecision, nsecs_t downTime) : in NotifyMotionArgs() argument 78 xPrecision(xPrecision), yPrecision(yPrecision), downTime(downTime) { in NotifyMotionArgs() 92 xPrecision(other.xPrecision), yPrecision(other.yPrecision), downTime(other.downTime) { in NotifyMotionArgs()
|
D | InputListener.h | 64 nsecs_t downTime; member 70 int32_t metaState, nsecs_t downTime); 97 nsecs_t downTime; member 105 float xPrecision, float yPrecision, nsecs_t downTime);
|
D | InputDispatcher.h | 478 nsecs_t downTime; member 494 int32_t repeatCount, nsecs_t downTime); 513 nsecs_t downTime; member 524 nsecs_t downTime, int32_t displayId, uint32_t pointerCount, 746 nsecs_t downTime; member 756 nsecs_t downTime; member
|
D | InputDispatcher.cpp | 650 entry->metaState, entry->repeatCount + 1, entry->downTime); in synthesizeKeyRepeatLocked() 802 entry->repeatCount, entry->downTime); in logOutboundKeyDetailsLocked() 874 entry->downTime); in logOutboundMotionDetailsLocked() 1951 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime, in startDispatchCycleLocked() 1997 motionEntry->downTime, motionEntry->eventTime, in startDispatchCycleLocked() 2316 originalMotionEntry->downTime, in splitMotionEvent() 2352 args->metaState, args->downTime); in notifyKey() 2386 args->downTime, args->eventTime); in notifyKey() 2413 metaState, repeatCount, args->downTime); in notifyKey() 2435 args->edgeFlags, args->xPrecision, args->yPrecision, args->downTime); in notifyMotion() [all …]
|
D | InputReader.cpp | 2144 nsecs_t downTime = mDownTime; in processKey() local 2166 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime); in processKey() 2422 nsecs_t downTime = mDownTime; in sync() local 2512 mXPrecision, mYPrecision, downTime); in sync() 2522 mXPrecision, mYPrecision, downTime); in sync() 2535 mXPrecision, mYPrecision, downTime); in sync() 3831 mCurrentVirtualKey.downTime = when; in consumeRawTouches() 3877 nsecs_t downTime = mCurrentVirtualKey.downTime; in dispatchVirtualKey() local 3882 keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime); in dispatchVirtualKey() 4358 0, 0, mPointerGesture.downTime); in dispatchPointerGestures() [all …]
|
D | InputReader.h | 1418 nsecs_t downTime; member 1524 nsecs_t downTime; member 1566 downTime = 0; in reset() 1595 nsecs_t downTime; member 1604 downTime = 0; in reset() 1652 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 264 long downTime = SystemClock.uptimeMillis(); in tapView() local 267 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in tapView() 274 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in tapView() 280 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in tapView() 304 long downTime = SystemClock.uptimeMillis(); in touchAndCancelView() local 307 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in touchAndCancelView() 314 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, in touchAndCancelView() 339 long downTime = SystemClock.uptimeMillis(); in clickView() local 342 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in clickView() 350 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in clickView() [all …]
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | WebViewEventSender.java | 181 long downTime = SystemClock.uptimeMillis(); in touchStart() local 188 mTouchPoints.get(i).setDownTime(downTime); in touchStart() 191 MotionEvent event = MotionEvent.obtain(downTime, downTime, in touchStart() 223 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(), in touchMove() 246 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(), in touchEnd() 286 MotionEvent event = MotionEvent.obtain(mTouchPoints.get(0).downTime(), in touchCancel() 389 public void setDownTime(long downTime) { mDownTime = downTime; } in setDownTime() argument 390 public long downTime() { return mDownTime; } in downTime() method in WebViewEventSender.TouchPoint
|
/frameworks/base/libs/androidfw/tests/ |
D | InputPublisherAndConsumer_test.cpp | 81 const nsecs_t downTime = 3; in PublishAndConsumeKeyEvent() local 85 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); in PublishAndConsumeKeyEvent() 110 EXPECT_EQ(downTime, keyEvent->getDownTime()); in PublishAndConsumeKeyEvent() 143 const nsecs_t downTime = 3; in PublishAndConsumeMotionEvent() local 167 downTime, eventTime, pointerCount, in PublishAndConsumeMotionEvent() 194 EXPECT_EQ(downTime, motionEvent->getDownTime()); in PublishAndConsumeMotionEvent()
|
/frameworks/base/include/androidfw/ |
D | InputTransport.h | 67 nsecs_t downTime; member 84 nsecs_t downTime; member 208 nsecs_t downTime, 232 nsecs_t downTime,
|
D | Input.h | 303 nsecs_t downTime, 362 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime() argument 513 nsecs_t downTime,
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1348 private static native void nativeSetDownTimeNanos(int nativePtr, long downTime); in nativeSetDownTimeNanos() argument 1430 static public MotionEvent obtain(long downTime, long eventTime, in obtain() argument 1439 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 1474 static public MotionEvent obtain(long downTime, long eventTime, in obtain() argument 1485 return obtain(downTime, eventTime, action, pointerCount, pp, in obtain() 1520 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument 1540 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 1580 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument 1583 return obtain(downTime, eventTime, action, x, y, pressure, size, in obtain() 1602 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument [all …]
|
D | KeyEvent.java | 1373 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 1375 mDownTime = downTime; in KeyEvent() 1397 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 1399 mDownTime = downTime; in KeyEvent() 1424 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 1427 mDownTime = downTime; in KeyEvent() 1454 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 1457 mDownTime = downTime; in KeyEvent() 1486 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 1489 mDownTime = downTime; in KeyEvent() [all …]
|
/frameworks/base/libs/androidfw/ |
D | InputTransport.cpp | 242 nsecs_t downTime, in publishKeyEvent() argument 250 downTime, eventTime); in publishKeyEvent() 269 msg.body.key.downTime = downTime; in publishKeyEvent() 287 nsecs_t downTime, in publishMotionEvent() argument 300 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent() 328 msg.body.motion.downTime = downTime; in publishMotionEvent() 883 msg->body.key.downTime, in initializeKeyEvent() 908 msg->body.motion.downTime, in initializeMotionEvent()
|
D | Input.cpp | 130 nsecs_t downTime, in initialize() argument 139 mDownTime = downTime; in initialize() 294 nsecs_t downTime, in initialize() argument 309 mDownTime = downTime; in initialize()
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 84 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative() local 88 milliseconds_to_nanoseconds(downTime), in android_view_KeyEvent_toNative()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 1568 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 1583 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 1600 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 1617 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 1634 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 1651 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 2051 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 2073 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 2779 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() 2795 ASSERT_EQ(ARBITRARY_TIME, args.downTime); in TEST_F() [all …]
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | EventSenderImpl.java | 122 public void setDownTime(long downTime) { in setDownTime() argument 123 mDownTime = downTime; in setDownTime()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 866 long downTime = event.getDownTime(); in sendKeySync() local 882 if (downTime == 0) { in sendKeySync() 883 downTime = eventTime; in sendKeySync() 885 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState, in sendKeySync()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2040 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local 2041 KeyEvent down = KeyEvent.obtain(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, 0, 0, in sendDownAndUpKeyEvents() 2050 KeyEvent up = KeyEvent.obtain(downTime, upTime, KeyEvent.ACTION_UP, keyCode, 0, 0, in sendDownAndUpKeyEvents()
|
D | ScreenMagnifier.java | 700 final long downTime = event.getDownTime() + offset; in obtainEventWithOffsetTimeAndDownTime() local 702 return MotionEvent.obtain(downTime, eventTime, in obtainEventWithOffsetTimeAndDownTime()
|