Home
last modified time | relevance | path

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

/frameworks/base/services/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/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/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/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.cpp55 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
Dandroid_view_MotionEvent.cpp537 return event->getDownTime(); in android_view_MotionEvent_nativeGetDownTimeNanos()
/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/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/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.java1769 public final long getDownTime() { in getDownTime() method in MotionEvent
2998 msg.append(", downTime=").append(getDownTime()); in toString()
DKeyEvent.java2421 public final long getDownTime() { in getDownTime() method in KeyEvent
DViewGroup.java1919 mLastTouchDownTime = ev.getDownTime(); in dispatchTouchEvent()
DViewRootImpl.java5778 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey()
/frameworks/native/include/input/
DInput.h281 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
359 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
/frameworks/base/services/java/com/android/server/accessibility/
DScreenMagnifier.java392 mDelegatingStateDownTime = event.getDownTime(); in handleMotionEventStateDelegating()
420 event = MotionEvent.obtain(event.getDownTime(), in handleMotionEventStateDelegating()
815 final long downTime = event.getDownTime() + offset; in obtainEventWithOffsetTimeAndDownTime()
DTouchExplorer.java1032 return MotionEvent.obtain(event.getDownTime(), in offsetEvent()
1198 MotionEvent event = MotionEvent.obtain(secondTapUp.getDownTime(), in onDoubleTap()
1589 mLastInjectedDownEventTime = event.getDownTime(); in onMotionEvent()
/frameworks/base/services/input/
DInputDispatcher.cpp2583 keyEvent->getRepeatCount(), keyEvent->getDownTime()); in injectInputEvent()
2612 motionEvent->getDownTime(), displayId, in injectInputEvent()
2624 motionEvent->getDownTime(), displayId, in injectInputEvent()
3680 keyEntry->downTime = event.getDownTime(); in afterKeyEventLockedInterruptible()
/frameworks/base/core/java/android/app/
DInstrumentation.java873 long downTime = event.getDownTime(); in sendKeySync()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2331 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey()
3880 mVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
3980 mImmersiveModeConfirmation.onPowerKeyDown(isScreenOn, event.getDownTime(), in interceptKeyBeforeQueueing()
3985 mPowerKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
/frameworks/base/api/
Dcurrent.txt26639 method public final long getDownTime();
27108 method public final long getDownTime();