/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 70 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_trackMotionEvents() 71 assertThat(motionEventList.get(1).getEventTime(), is(2L)); in test_trackMotionEvents() 72 assertThat(motionEventList.get(2).getEventTime(), is(3L)); in test_trackMotionEvents() 90 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_trackRecentMotionEvents() 91 assertThat(motionEventList.get(1).getEventTime(), is(800L)); in test_trackRecentMotionEvents() 103 assertThat(motionEventList.get(0).getEventTime(), is(800L)); in test_trackRecentMotionEvents() 104 assertThat(motionEventList.get(1).getEventTime(), is(1200L)); in test_trackRecentMotionEvents() 113 assertThat(firstRealMotionEvent.getEventTime(), is(1L)); in test_trackRecentMotionEvents() 136 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_unpackMotionEvents() 137 assertThat(motionEventList.get(1).getEventTime(), is(2L)); in test_unpackMotionEvents() [all …]
|
D | ClassifierTest.java | 105 mMotionEvents.size() - 1).getEventTime() + 1; in appendMotionEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 48 event.getEventTime(), in MotionEventMatcher() 62 && (event.getEventTime() == mEventTime) in matchesSafely() 72 "event.getEventTime() = " + event.getEventTime() + ", expected " + mEventTime); in matchesSafely()
|
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 126 final long millisSinceLastUp = event.getEventTime() - mLastUpMillis; in update() 156 mLastDownMillis = event.getEventTime(); in update() 165 mLastUpMillis = event.getEventTime(); in update()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 105 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 60 assertEquals(EVENT_TIME, keyEvent.getEventTime()); in testObtain() 87 assertEquals(EVENT_TIME, keyEvent.getEventTime()); in testObtainWithDisplayId() 174 assertEquals(key1.getEventTime(), key2.getEventTime()); in compareKeys()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | GestureUtils.java | 64 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut()
|
D | EventDispatcher.java | 110 event.setDownTime(event.getEventTime()); in sendMotionEvent() 213 event.getEventTime(), in offsetEvent() 353 event.getEventTime(), in clickWithTouchEvents()
|
D | Swipe.java | 145 mBaseTime = rawEvent.getEventTime(); in onDown() 156 final long time = rawEvent.getEventTime(); in onMove()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | TimeLimitedMotionEventBuffer.java | 50 long mostRecentMs = mMotionEvents.getLast().getEventTime(); in ejectOldEvents() 53 if (mostRecentMs - ev.getEventTime() > mMaxAgeMs) { in ejectOldEvents()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 59 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST() 91 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
|
D | InputEvent_test.cpp | 203 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F() 348 ASSERT_EQ(ARBITRARY_EVENT_TIME + 2, event->getEventTime()); in assertEqualsEventWithHistory() 496 ASSERT_EQ(event.getEventTime(), copy.getEventTime()); in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 123 EXPECT_EQ(eventTime, keyEvent->getEventTime()); in PublishAndConsumeKeyEvent() 232 EXPECT_EQ(eventTime, motionEvent->getEventTime()); in PublishAndConsumeMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 138 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 166 mLastPokeTime = event.getEventTime();
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationSession.java | 212 .setDurationSinceSessionStart(now - mStartEvent.getEventTime()) in sanitizeEvent() 223 event.setDurationSincePreviousEvent(now - mPrevEvent.getEventTime()) in sanitizeEvent()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 177 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertSessionStartedEvent() 209 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertSessionFinishedEvent() 300 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertContextUpdatedEvent()
|
/frameworks/base/core/java/android/view/ |
D | InputEvent.java | 194 public abstract long getEventTime(); in getEventTime() method in InputEvent
|
D | ScaleGestureDetector.java | 234 mCurrTime = event.getEventTime(); in onTouchEvent() 574 public long getEventTime() { in getEventTime() method in ScaleGestureDetector
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 108 mDownTouchTime = ev.getEventTime(); in onTouchEvent() 191 mUpTouchTime = ev.getEventTime(); in onTouchEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | MouseUiController.java | 95 if (me.getEventTime() - SystemClock.uptimeMillis() > 10) { in injectMotionEventSequence()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 170 assertEquals(ssOther.getEventTime(j), ss.getEventTime(j)); in verifyStatus()
|
/frameworks/base/native/android/ |
D | input.cpp | 82 return static_cast<const KeyEvent*>(key_event)->getEventTime(); in AKeyEvent_getEventTime() 110 return static_cast<const MotionEvent*>(motion_event)->getEventTime(); in AMotionEvent_getEventTime()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 214 mDownTime[i] = event.getEventTime(); in captureDown() 253 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe()
|
/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/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 217 mLastScheduledEventTime = event.getEventTime(); in injectEventsMainThread() 218 mHandler.sendMessageDelayed(message, Math.max(0, event.getEventTime() - currentTime)); in injectEventsMainThread()
|