Home
last modified time | relevance | path

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

12

/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/java/android/accessibilityservice/
DGestureDescription.java436 long downTime = motionEvents.get(motionEvents.size() - 1).getDownTime(); in appendMoveEventIfNeeded()
453 long downTime = motionEvents.get(motionEvents.size() - 1).getDownTime(); in appendUpEvents()
480 motionEvents.get(motionEvents.size() - 1).getDownTime(); in appendDownEvents()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp119 event->getRepeatCount(), event->getDownTime(), event->getEventTime()); in sendKeyEvent()
143 event->getDownTime(), event->getHistoricalEventTime(i), in sendMotionEvent()
Dandroid_view_KeyEvent.cpp58 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
Dandroid_view_MotionEvent.cpp552 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()
196 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/native/include/input/
DInput.h336 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
415 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
/frameworks/base/core/java/android/view/
DGestureDetector.java586 mHandler.sendEmptyMessageAtTime(LONG_PRESS, mCurrentDownEvent.getDownTime() in onTouchEvent()
589 … mHandler.sendEmptyMessageAtTime(SHOW_PRESS, mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
DMotionEvent.java1912 public final long getDownTime() { in getDownTime() method in MotionEvent
3176 msg.append(", downTime=").append(getDownTime()); in toString()
DKeyEvent.java2456 public final long getDownTime() { in getDownTime() method in KeyEvent
DViewGroup.java2303 mLastTouchDownTime = ev.getDownTime(); in dispatchTouchEvent()
DViewRootImpl.java5411 event.getDownTime(), event.getEventTime(), in process()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java172 MotionEvent offsetEvent = MotionEvent.obtain(startTime + event.getDownTime(), in injectEventsMainThread()
DMagnificationGestureHandler.java210 mDelegatingStateDownTime = event.getDownTime(); in handleMotionEventStateDelegating()
254 event = MotionEvent.obtain(event.getDownTime(), in dispatchTransformedEvent()
DTouchExplorer.java429 MotionEvent click_event = MotionEvent.obtain(event.getDownTime(), in onDoubleTap()
999 return MotionEvent.obtain(event.getDownTime(), in offsetEvent()
1340 mLastInjectedDownEventTime = event.getDownTime(); in onMotionEvent()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java326 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendLinearDrag()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java153 long desiredTime = downEvent.getDownTime() + (long)(delayBetweenMovements * i); in perform()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp2637 keyEvent->getRepeatCount(), keyEvent->getDownTime()); in injectInputEvent()
2666 motionEvent->getDownTime(), displayId, in injectInputEvent()
2679 motionEvent->getDownTime(), displayId, in injectInputEvent()
3762 keyEntry->downTime = event.getDownTime(); in afterKeyEventLockedInterruptible()
/frameworks/base/core/java/android/app/
DInstrumentation.java890 long downTime = event.getDownTime(); in sendKeySync()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1027 mScreenshotChordPowerKeyTime = event.getDownTime(); in interceptPowerKeyDown()
1074 wakeUpFromPowerKey(event.getDownTime()); in interceptPowerKeyDown()
1106 final long eventTime = event.getDownTime(); in interceptPowerKeyUp()
3487 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey()
5541 mScreenshotChordVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32393 method public final long getDownTime();
32899 method public final long getDownTime();
/frameworks/base/api/
Dcurrent.txt41139 method public final long getDownTime();
41689 method public final long getDownTime();

12