Home
last modified time | relevance | path

Searched refs:getDownTime (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DStackTapPointerEventListener.java59 if ((motionEvent.getEventTime() - motionEvent.getDownTime()) > TAP_TIMEOUT_MSEC in onPointerEvent()
74 if ((motionEvent.getEventTime() - motionEvent.getDownTime()) in onPointerEvent()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DEventInjector.java42 long downTime = event.getDownTime(); in injectKeyEvent()
90 newEvent.getUnicodeChar(), newEvent.getKeyCode(), newEvent.getDownTime())); in injectKeyEvent()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
DMotionEvents.java131 motionEvent = MotionEvent.obtain(downEvent.getDownTime(), in sendUp()
167 motionEvent = MotionEvent.obtain(downEvent.getDownTime(), in sendCancel()
205 motionEvent = MotionEvent.obtain(downEvent.getDownTime(), in sendMovement()
DSwipe.java97 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendLinearSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java101 mDownTime = ev.getDownTime(); in add()
103 if (mDownTime != ev.getDownTime()) { in add()
105 +ev.getDownTime()+") does not match gesture downTime ("+mDownTime+")"); in add()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp118 event->getRepeatCount(), event->getDownTime(), event->getEventTime()); in sendKeyEvent()
141 event->getDownTime(), event->getHistoricalEventTime(i), in sendMotionEvent()
Dandroid_view_KeyEvent.cpp56 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
Dandroid_view_MotionEvent.cpp533 return event->getDownTime(); in android_view_MotionEvent_nativeGetDownTimeNanos()
/frameworks/base/native/android/
Dinput.cpp77 return static_cast<const KeyEvent*>(key_event)->getDownTime(); in AKeyEvent_getDownTime()
106 return static_cast<const MotionEvent*>(motion_event)->getDownTime(); in AMotionEvent_getDownTime()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp111 EXPECT_EQ(downTime, keyEvent->getDownTime()); in PublishAndConsumeKeyEvent()
195 EXPECT_EQ(downTime, motionEvent->getDownTime()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp194 ASSERT_EQ(ARBITRARY_DOWN_TIME, event.getDownTime()); in TEST_F()
313 ASSERT_EQ(ARBITRARY_DOWN_TIME, event->getDownTime()); in assertEqualsEventWithHistory()
/frameworks/base/core/java/android/view/
DGestureDetector.java546 mHandler.sendEmptyMessageAtTime(LONG_PRESS, mCurrentDownEvent.getDownTime() in onTouchEvent()
549 … mHandler.sendEmptyMessageAtTime(SHOW_PRESS, mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
DMotionEvent.java1773 public final long getDownTime() { in getDownTime() method in MotionEvent
3002 msg.append(", downTime=").append(getDownTime()); in toString()
DKeyEvent.java2390 public final long getDownTime() { in getDownTime() method in KeyEvent
DViewGroup.java2121 mLastTouchDownTime = ev.getDownTime(); in dispatchTouchEvent()
DViewRootImpl.java4939 event.getDownTime(), event.getEventTime(), in process()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java315 mHandler.sendEmptyMessageAtTime(LONG_PRESS, mCurrentDownEvent.getDownTime() in onTouchEvent()
318 … mHandler.sendEmptyMessageAtTime(SHOW_PRESS, mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
/frameworks/native/include/input/
DInput.h305 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
378 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java381 mDelegatingStateDownTime = event.getDownTime(); in handleMotionEventStateDelegating()
409 event = MotionEvent.obtain(event.getDownTime(), in handleMotionEventStateDelegating()
804 final long downTime = event.getDownTime() + offset; in obtainEventWithOffsetTimeAndDownTime()
DTouchExplorer.java1036 return MotionEvent.obtain(event.getDownTime(), in offsetEvent()
1170 MotionEvent event = MotionEvent.obtain(secondTapUp.getDownTime(), in onDoubleTap()
1550 mLastInjectedDownEventTime = event.getDownTime(); in onMotionEvent()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp2607 keyEvent->getRepeatCount(), keyEvent->getDownTime()); in injectInputEvent()
2635 motionEvent->getDownTime(), displayId, in injectInputEvent()
2648 motionEvent->getDownTime(), displayId, in injectInputEvent()
3731 keyEntry->downTime = event.getDownTime(); in afterKeyEventLockedInterruptible()
/frameworks/base/core/java/android/app/
DInstrumentation.java877 long downTime = event.getDownTime(); in sendKeySync()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2562 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey()
4293 mVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
4392 event.getDownTime(), isImmersiveMode(mLastSystemUiFlags)); in interceptKeyBeforeQueueing()
4399 mPowerKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
/frameworks/base/api/
Dcurrent.txt32222 method public final long getDownTime();
32728 method public final long getDownTime();