/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 72 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_trackMotionEvents() 73 assertThat(motionEventList.get(1).getEventTime(), is(2L)); in test_trackMotionEvents() 74 assertThat(motionEventList.get(2).getEventTime(), is(3L)); in test_trackMotionEvents() 92 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_trackRecentMotionEvents() 93 assertThat(motionEventList.get(1).getEventTime(), is(800L)); in test_trackRecentMotionEvents() 105 assertThat(motionEventList.get(0).getEventTime(), is(800L)); in test_trackRecentMotionEvents() 106 assertThat(motionEventList.get(1).getEventTime(), is(1200L)); in test_trackRecentMotionEvents() 115 assertThat(firstRealMotionEvent.getEventTime(), is(1L)); in test_trackRecentMotionEvents() 138 assertThat(motionEventList.get(0).getEventTime(), is(1L)); in test_unpackMotionEvents() 139 assertThat(motionEventList.get(1).getEventTime(), is(2L)); in test_unpackMotionEvents() [all …]
|
D | ClassifierTest.java | 105 mMotionEvents.size() - 1).getEventTime() + 1; in appendMotionEvent()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 50 assertEquals(EVENT_TIME, keyEvent.getEventTime()); in testObtain() 69 assertEquals(keyEvent.getEventTime(), keyEvent2.getEventTime()); in testObtainFromKeyEvent() 88 assertEquals(EVENT_TIME, keyEvent.getEventTime()); in testObtainWithDisplayId()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 105 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GestureUtils.java | 39 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut()
|
D | AccessibilityGestureDetector.java | 275 final long time = rawEvent.getEventTime(); in onMotionEvent() 634 return MotionEvent.obtain(mSecondPointerDownTime, event.getEventTime(), action, in mapSecondPointerToFirstPointer()
|
D | MagnificationGestureHandler.java | 303 while (!queue.isEmpty() && (event.getEventTime() - queue.peek().getEventTime() > 5000)) { in storeEventInto() 783 return event != null ? event.getEventTime() : Long.MIN_VALUE; in timeOf()
|
D | MotionEventInjector.java | 215 mLastScheduledEventTime = event.getEventTime(); in injectEventsMainThread() 216 mHandler.sendMessageDelayed(message, Math.max(0, event.getEventTime() - currentTime)); in injectEventsMainThread()
|
/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/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 | 181 .setDurationSinceSessionStart(now - mStartEvent.getEventTime()) in sanitizeEvent() 192 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/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 105 mDownTouchTime = ev.getEventTime(); in onTouchEvent() 188 mUpTouchTime = ev.getEventTime(); in onTouchEvent()
|
/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/core/tests/coretests/src/android/widget/espresso/ |
D | MouseUiController.java | 93 if (me.getEventTime() - SystemClock.uptimeMillis() > 10) { in injectMotionEventSequence()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 419 long secondSequenceStart = events.get(2).getEventTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 420 assertTrue(secondSequenceStart >= events.get(1).getEventTime()); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 778 this(event.getDownTime(), event.getEventTime(), event.getActionMasked(), in MotionEventMatcher() 789 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely() 797 Log.e(LOG_TAG, "event.getEventTime() = " + event.getEventTime() in matchesSafely() 890 return event.getEventTime() == eventTime; 904 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 204 mDownTime[i] = event.getEventTime(); in captureDown() 243 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe()
|
/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/native/libs/input/tests/ |
D | InputEvent_test.cpp | 196 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F() 334 ASSERT_EQ(ARBITRARY_EVENT_TIME + 2, event->getEventTime()); in assertEqualsEventWithHistory() 482 ASSERT_EQ(event.getEventTime(), copy.getEventTime()); in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 114 EXPECT_EQ(eventTime, keyEvent->getEventTime()); in PublishAndConsumeKeyEvent() 203 EXPECT_EQ(eventTime, motionEvent->getEventTime()); in PublishAndConsumeMotionEvent()
|
/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 | 382 inline nsecs_t getEventTime() const { return mEventTime; } in getEventTime() function 480 inline nsecs_t getEventTime() const { return mSampleEventTimes[getHistorySize()]; } in getEventTime() function
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 60 nanoseconds_to_milliseconds(event->getEventTime()), in android_view_KeyEvent_fromNative()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 370 powerTapInterval = event.getEventTime() - mLastPowerDown; in interceptPowerKeyDown() 381 mLastPowerDown = event.getEventTime(); in interceptPowerKeyDown()
|