/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 47 event.getDownTime(), in MotionEventMatcher() 61 if ((event.getDownTime() == mDownTime) in matchesSafely() 69 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() + ", expected " + mDownTime); in matchesSafely()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 59 assertEquals(DOWN_TIME, keyEvent.getDownTime()); in testObtain() 86 assertEquals(DOWN_TIME, keyEvent.getDownTime()); in testObtainWithDisplayId() 173 assertEquals(key1.getDownTime(), key2.getDownTime()); in compareKeys()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | GestureRecorder.java | 101 mDownTime = ev.getDownTime(); in add() 103 if (mDownTime != ev.getDownTime()) { in add() 105 +ev.getDownTime()+") does not match gesture downTime ("+mDownTime+")"); in add()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 64 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST() 98 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
|
D | InputPublisherAndConsumer_test.cpp | 122 EXPECT_EQ(downTime, keyEvent->getDownTime()); in PublishAndConsumeKeyEvent() 231 EXPECT_EQ(downTime, motionEvent->getDownTime()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 202 ASSERT_EQ(ARBITRARY_DOWN_TIME, event.getDownTime()); in TEST_F() 335 ASSERT_EQ(ARBITRARY_DOWN_TIME, event->getDownTime()); in assertEqualsEventWithHistory()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 653 mCurrentDownEvent.getDownTime() in onTouchEvent() 657 mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent() 701 ev.getDownTime() in onTouchEvent() 915 (int) (SystemClock.uptimeMillis() - mCurrentMotionEvent.getDownTime()), in recordGestureClassification()
|
D | MotionEvent.java | 2189 public final long getDownTime() { in getDownTime() method in MotionEvent 3578 msg.append(", downTime=").append(getDownTime()); in toString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 195 Matcher<MotionEvent> hasRightDownTime = hasDownTime(mCaptor1.getValue().getDownTime()); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 415 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 455 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() 488 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() 528 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() 830 return event.getDownTime() == downTime; 858 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 122 event->getDownTime(), event->getEventTime()); in sendKeyEvent() 153 event->getDownTime(), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 101 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
|
/frameworks/base/native/android/ |
D | input.cpp | 77 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/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 212 event.getDownTime(), in offsetEvent() 352 event.getDownTime(), in clickWithTouchEvents()
|
D | TouchState.java | 135 mLastInjectedDownEventTime = event.getDownTime(); in onInjectedMotionEvent()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 220 if (e.getEventTime() - e.getDownTime() > 100) { in onTouchEvent() 233 if (e.getEventTime() - e.getDownTime() < 200) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 237 motionEvent.getDownTime(), in unpackMotionEvent()
|
D | BrightLineFalsingManager.java | 224 (int) (motionEvent.getEventTime() - motionEvent.getDownTime()))) in isFalseTouch()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FullScreenMagnificationGestureHandler.java | 595 mLastDelegatedDownEventTime = event.getDownTime(); in onMotionEvent() 680 mLastDetectingDownEventTime = event.getDownTime(); in onMotionEvent() 909 info.event.setDownTime(info.event.getDownTime() + offset); in sendDelayedMotionEvents()
|
/frameworks/native/include/input/ |
D | Input.h | 452 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function 544 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
|
/frameworks/native/libs/input/ |
D | Input.cpp | 93 event.getDownTime(), in verifiedKeyEventFromKeyEvent() 107 event.getDownTime(), in verifiedMotionEventFromMotionEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragAction.java | 329 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendLinearDrag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 197 final double timeForGesture = ev.getEventTime() - ev.getDownTime(); in handleSwipeFromClosedState()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2501 && mTrackingFirstDownKeyEvent.getDownTime() == keyEvent.getDownTime() in cancelTrackingIfNeeded() 2531 } else if (mTrackingFirstDownKeyEvent.getDownTime() != keyEvent.getDownTime() in needTracking()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | EdgeBackGestureHandler.java | 539 if ((ev.getEventTime() - ev.getDownTime()) > mLongPressTimeout) { in onMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 915 mScreenshotChordPowerKeyTime = event.getDownTime(); in interceptPowerKeyDown() 978 wakeUpFromPowerKey(event.getDownTime()); in interceptPowerKeyDown() 1026 final long eventTime = event.getDownTime(); in interceptPowerKeyUp() 3098 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey() 3695 mScreenshotChordVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing() 3711 mA11yShortcutChordVolumeUpKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
|