/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()
|
D | NotificationMenuRow.java | 291 final double timeForGesture = ev.getEventTime() - ev.getDownTime(); in handleUpEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 188 Matcher<MotionEvent> hasRightDownTime = hasDownTime(mCaptor1.getValue().getDownTime()); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 391 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 431 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() 464 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() 504 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() 757 this(event.getDownTime(), event.getEventTime(), event.getActionMasked(), in MotionEventMatcher() 768 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely() 774 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() in matchesSafely() 855 return event.getDownTime() == downTime; 883 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 119 event->getRepeatCount(), event->getDownTime(), event->getEventTime()); in sendKeyEvent() 143 event->getDownTime(), event->getHistoricalEventTime(i), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 58 nanoseconds_to_milliseconds(event->getDownTime()), in android_view_KeyEvent_fromNative()
|
D | android_view_MotionEvent.cpp | 687 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 | 111 EXPECT_EQ(downTime, keyEvent->getDownTime()); in PublishAndConsumeKeyEvent() 196 EXPECT_EQ(downTime, motionEvent->getDownTime()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 194 ASSERT_EQ(ARBITRARY_DOWN_TIME, event.getDownTime()); in TEST_F() 313 ASSERT_EQ(ARBITRARY_DOWN_TIME, event->getDownTime()); in assertEqualsEventWithHistory()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | GestureDetectorCompat.java | 320 mHandler.sendEmptyMessageAtTime(LONG_PRESS, mCurrentDownEvent.getDownTime() in onTouchEvent() 324 mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 336 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function 415 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() function
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | ArcSwipe.java | 137 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendArcSwipe()
|
/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/core/java/android/view/ |
D | GestureDetector.java | 589 mCurrentDownEvent.getDownTime() + LONGPRESS_TIMEOUT); in onTouchEvent() 592 mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
|
D | MotionEvent.java | 1991 public final long getDownTime() { in getDownTime() method in MotionEvent 3257 msg.append(", downTime=").append(getDownTime()); in toString()
|
D | KeyEvent.java | 2469 public final long getDownTime() { in getDownTime() method in KeyEvent
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 266 mDelegatingStateDownTime = event.getDownTime(); in handleMotionEventStateDelegating() 310 event = MotionEvent.obtain(event.getDownTime(), in dispatchTransformedEvent()
|
D | TouchExplorer.java | 437 MotionEvent click_event = MotionEvent.obtain(event.getDownTime(), in onDoubleTap() 1012 return MotionEvent.obtain(event.getDownTime(), in offsetEvent() 1353 mLastInjectedDownEventTime = event.getDownTime(); in onMotionEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 354 xVelocity = deltaX / ((ev.getEventTime() - ev.getDownTime()) / 1000);
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragAction.java | 326 long desiredTime = downEvent.getDownTime() + delayBetweenMovements * i; in sendLinearDrag()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1209 .getDownTime() == keyEvent.getDownTime()) { in dispatchVolumeKeyEvent()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetBehaviorTest.java | 210 long desiredTime = downEvent.getDownTime() + (long)(delayBetweenMovements * i); in perform()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.cpp | 2638 keyEvent->getRepeatCount(), keyEvent->getDownTime()); in injectInputEvent() 2667 motionEvent->getDownTime(), displayId, in injectInputEvent() 2680 motionEvent->getDownTime(), displayId, in injectInputEvent() 3763 keyEntry->downTime = event.getDownTime(); in afterKeyEventLockedInterruptible()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 1199 final long eventTime = event.getDownTime(); in interceptBackKeyUp() 1265 mScreenshotChordPowerKeyTime = event.getDownTime(); in interceptPowerKeyDown() 1312 wakeUpFromPowerKey(event.getDownTime()); in interceptPowerKeyDown() 1344 final long eventTime = event.getDownTime(); in interceptPowerKeyUp() 3911 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey() 5963 mScreenshotChordVolumeDownKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing() 5979 mA11yShortcutChordVolumeUpKeyTime = event.getDownTime(); in interceptKeyBeforeQueueing()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 984 long downTime = event.getDownTime(); in sendKeySync()
|