Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DMotionEventMatcher.java47 event.getDownTime(), in MotionEventMatcher()
61 if ((event.getDownTime() == mDownTime) in matchesSafely()
69 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() + ", expected " + mDownTime); in matchesSafely()
DTouchEventGenerator.java188 /* downTime */ originalEvent.getDownTime(), in movePointer()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMotionEventDispatcherDelegate.java67 info.mEvent.setDownTime(info.mEvent.getDownTime() + offset); in sendDelayedMotionEvents()
77 mLastDelegatedDownEventTime = event.getDownTime(); in dispatchMotionEvent()
91 Log.d(TAG, "dispatchMotionEvent original down time = " + event.getDownTime()); in dispatchMotionEvent()
DMagnificationGesturesObserver.java120 mLastDownEventTime = event.getDownTime(); in onMotionEvent()
DFullScreenMagnificationGestureHandler.java882 mLastDelegatedDownEventTime = event.getDownTime(); in onMotionEvent()
916 mLastDetectingDownEventTime = event.getDownTime(); in onMotionEvent()
1208 mLastDetectingDownEventTime = event.getDownTime(); in onMotionEvent()
1460 info.event.setDownTime(info.event.getDownTime() + offset); in sendDelayedMotionEvents()
/frameworks/base/services/core/java/com/android/server/policy/
DDeferredKeyActionExecutor.java93 if (buffer == null || buffer.getDownTime() != downTime) { in getActionsBufferWithLazyCleanUp()
129 long getDownTime() { in getDownTime() method in DeferredKeyActionExecutor.TimedActionsBuffer
DSingleKeyGestureDetector.java276 final long keyDownInterval = event.getDownTime() - mLastDownTime; in interceptKeyDown()
277 mLastDownTime = event.getDownTime(); in interceptKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java100 mDownTime = ev.getDownTime(); in add()
102 if (mDownTime != ev.getDownTime()) { in add()
104 +ev.getDownTime()+") does not match gesture downTime ("+mDownTime+")"); in add()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp68 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
102 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGesturesObserverTest.java109 verify(mCallback, timeout(timeoutMillis)).onGestureCancelled(eq(downEvent.getDownTime()), in onMotionEvent_unrecognizedEvents_onDetectionCanceledAfterTimeout()
126 eq(downEvent.getDownTime()), mEventInfoArgumentCaptor.capture(), in sendEventsOfSwiping_onGestureCompleted()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java231 event.getDownTime(), in offsetEvent()
359 prototype.getDownTime(), in computeInjectionDownEvent()
363 prototype.getDownTime(), in computeInjectionDownEvent()
448 event.getDownTime(), in clickWithTouchEvents()
DTouchState.java153 mLastInjectedDownEventTime = event.getDownTime(); in onInjectedMotionEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java681 mCurrentDownEvent.getDownTime() in onTouchEvent()
685 mCurrentDownEvent.getDownTime() + TAP_TIMEOUT); in onTouchEvent()
729 ev.getDownTime() in onTouchEvent()
945 (int) (SystemClock.uptimeMillis() - mCurrentMotionEvent.getDownTime()), in recordGestureClassification()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java263 .that(key2.getDownTime()).isEqualTo(key1.getDownTime()); in compareKeys()
297 .that(keyEvent.getDownTime()).isEqualTo(downTime); in assertKeyEventFields()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java210 Matcher<MotionEvent> hasRightDownTime = hasDownTime(mCaptor1.getValue().getDownTime()); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
434 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes()
474 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes()
507 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes()
547 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes()
849 return event.getDownTime() == downTime;
877 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationGestureDetector.java121 event.getDownTime() + ViewConfiguration.getLongPressTimeout()); in onTouch()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp130 event->getDownTime(), event->getEventTime()); in sendKeyEvent()
161 event->getRawTransform(), event->getDownTime(), in sendMotionEvent()
Dandroid_view_KeyEvent.cpp103 event.getDownTime(), event.getEventTime(), in android_view_KeyEvent_obtainAsCopy()
/frameworks/base/native/android/
Dinput.cpp85 return static_cast<const KeyEvent*>(key_event)->getDownTime(); in AKeyEvent_getDownTime()
120 return static_cast<const MotionEvent*>(motion_event)->getDownTime(); in AMotionEvent_getDownTime()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java220 if (e.getEventTime() - e.getDownTime() > 100) { in onTouchEvent()
233 if (e.getEventTime() - e.getDownTime() < 200) { in onTouchEvent()
/frameworks/native/include/input/
DInputEventBuilders.h186 mDownTime = event.getDownTime(); in KeyEventBuilder()
/frameworks/native/libs/input/
DInput.cpp292 event.getDownTime(), in verifiedKeyEventFromKeyEvent()
306 event.getDownTime(), in verifiedMotionEventFromMotionEvent()
426 out << ", downTime=" << event.getDownTime(); in operator <<()
1190 out << ", downTime=" << event.getDownTime(); in operator <<()
DMotionPredictor.cpp323 event.getRawTransform(), event.getDownTime(), predictionTime, in predict()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingDataProvider.java370 motionEvent.getDownTime(),
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h259 return mDownTime == event.getDownTime(); in MatchAndExplain()
263 return mDownTime == event.getDownTime(); in MatchAndExplain()

123