/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 49 assertEquals(DOWN_TIME, keyEvent.getDownTime()); in testObtain() 68 assertEquals(keyEvent.getDownTime(), keyEvent2.getDownTime()); in testObtainFromKeyEvent() 87 assertEquals(DOWN_TIME, keyEvent.getDownTime()); in testObtainWithDisplayId()
|
/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/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 192 Matcher<MotionEvent> hasRightDownTime = hasDownTime(mCaptor1.getValue().getDownTime()); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 412 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 452 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() 485 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() 525 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() 778 this(event.getDownTime(), event.getEventTime(), event.getActionMasked(), in MotionEventMatcher() 789 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely() 795 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() in matchesSafely() 876 return event.getDownTime() == downTime; 904 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 625 mCurrentDownEvent.getDownTime() in onTouchEvent() 629 mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent() 674 ev.getDownTime() + (long) (longPressTimeout * multiplier)); in onTouchEvent() 887 (int) (SystemClock.uptimeMillis() - mCurrentMotionEvent.getDownTime()), in recordGestureClassification()
|
D | MotionEvent.java | 2155 public final long getDownTime() { in getDownTime() method in MotionEvent 3481 msg.append(", downTime=").append(getDownTime()); in toString()
|
D | KeyEvent.java | 2583 public final long getDownTime() { in getDownTime() method in KeyEvent
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 119 event->getRepeatCount(), event->getDownTime(), event->getEventTime()); in sendKeyEvent() 144 event->getDownTime(), event->getHistoricalEventTime(i), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 59 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
|
D | android_view_MotionEvent.cpp | 705 return event->getDownTime(); in android_view_MotionEvent_nativeGetDownTimeNanos()
|
/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/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 113 EXPECT_EQ(downTime, keyEvent->getDownTime()); in PublishAndConsumeKeyEvent() 202 EXPECT_EQ(downTime, motionEvent->getDownTime()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 195 ASSERT_EQ(ARBITRARY_DOWN_TIME, event.getDownTime()); in TEST_F() 321 ASSERT_EQ(ARBITRARY_DOWN_TIME, event->getDownTime()); in assertEqualsEventWithHistory()
|
/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/native/include/input/ |
D | Input.h | 380 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function 462 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 233 motionEvent.getDownTime(), in unpackMotionEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 435 MotionEvent click_event = MotionEvent.obtain(event.getDownTime(), in onDoubleTap() 1029 return MotionEvent.obtain(event.getDownTime(), in offsetEvent() 1380 mLastInjectedDownEventTime = event.getDownTime(); in onMotionEvent()
|
D | MagnificationGestureHandler.java | 588 mLastDelegatedDownEventTime = event.getDownTime(); in onMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 202 final double timeForGesture = ev.getEventTime() - ev.getDownTime(); in handleSwipeFromClosedState()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragAction.java | 329 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendLinearDrag()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 354 xVelocity = deltaX / ((ev.getEventTime() - ev.getDownTime()) / 1000);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | EdgeBackGestureHandler.java | 396 if ((ev.getEventTime() - ev.getDownTime()) > mLongPressTimeout) { in onMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 942 mScreenshotChordPowerKeyTime = event.getDownTime(); in interceptPowerKeyDown() 1005 wakeUpFromPowerKey(event.getDownTime()); in interceptPowerKeyDown() 1053 final long eventTime = event.getDownTime(); in interceptPowerKeyUp() 2611 final long eventDownTime = event.getDownTime(); in interceptKeyBeforeDispatching() 3173 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey() 3782 mScreenshotChordVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing() 3798 mA11yShortcutChordVolumeUpKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2871 keyEvent.getDownTime(), keyEvent.getEventTime()); in injectInputEvent() 2892 keyEvent.getRepeatCount(), keyEvent.getDownTime()); in injectInputEvent() 2928 motionEvent->getYPrecision(), motionEvent->getDownTime(), in injectInputEvent() 2943 motionEvent->getYPrecision(), motionEvent->getDownTime(), in injectInputEvent() 4385 keyEntry->downTime = event.getDownTime(); in afterKeyEventLockedInterruptible()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1722 .getDownTime() == keyEvent.getDownTime()) { in dispatchVolumeKeyEvent()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 1054 long downTime = event.getDownTime(); in sendKeySync()
|