Home
last modified time | relevance | path

Searched refs:getEventTime (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGestureUtils.java44 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut()
DAccessibilityGestureDetector.java260 final long time = event.getEventTime(); in onMotionEvent()
619 return MotionEvent.obtain(mSecondPointerDownTime, event.getEventTime(), action, in mapSecondPointerToFirstPointer()
DMotionEventInjector.java226 mLastScheduledEventTime = event.getEventTime(); in injectEventsMainThread()
227 mHandler.sendMessageDelayed(message, Math.max(0, event.getEventTime() - currentTime)); in injectEventsMainThread()
DTouchExplorer.java438 event.getEventTime(), MotionEvent.ACTION_DOWN, 1, properties, in onDoubleTap()
949 event.setDownTime(event.getEventTime()); in sendMotionEvent()
1013 event.getEventTime(), event.getAction(), event.getPointerCount(), in offsetEvent()
1630 mReceivedPointerDownTime[pointerId] = event.getEventTime(); in handleReceivedPointerDown()
DKeyEventDispatcher.java172 mPowerManager.userActivity(pendingEvent.event.getEventTime(), in setOnKeyEventResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java140 int size = (int) getSize(event.getEventTime()); in onTouchEvent()
168 mLastPokeTime = event.getEventTime();
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java105 mDownTouchTime = ev.getEventTime(); in onTouchEvent()
187 mUpTouchTime = ev.getEventTime(); in onTouchEvent()
/frameworks/base/core/java/android/view/
DInputEvent.java180 public abstract long getEventTime(); in getEventTime() method in InputEvent
DScaleGestureDetector.java232 mCurrTime = event.getEventTime(); in onTouchEvent()
572 public long getEventTime() { in getEventTime() method in ScaleGestureDetector
DGestureDetector.java761 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp195 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F()
326 ASSERT_EQ(ARBITRARY_EVENT_TIME + 2, event->getEventTime()); in assertEqualsEventWithHistory()
469 ASSERT_EQ(event.getEventTime(), copy.getEventTime()); in TEST_F()
DInputPublisherAndConsumer_test.cpp113 EXPECT_EQ(eventTime, keyEvent->getEventTime()); in PublishAndConsumeKeyEvent()
200 EXPECT_EQ(eventTime, motionEvent->getEventTime()); in PublishAndConsumeMotionEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java171 mDownTime[i] = event.getEventTime(); in captureDown()
206 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java398 long secondSequenceStart = events.get(2).getEventTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes()
399 assertTrue(secondSequenceStart >= events.get(1).getEventTime()); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes()
757 this(event.getDownTime(), event.getEventTime(), event.getActionMasked(), in MotionEventMatcher()
768 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely()
776 Log.e(LOG_TAG, "event.getEventTime() = " + event.getEventTime() in matchesSafely()
869 return event.getEventTime() == eventTime;
883 return (event.getEventTime() - event.getDownTime()) == timeFromDown;
/frameworks/base/native/android/
Dinput.cpp82 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNoisyVelocityTracker.java63 mEventBuf.add(new MotionEventCopy(event.getX(), event.getY(), event.getEventTime())); in addMovement()
/frameworks/support/compat/java/android/support/v4/view/
DGestureDetectorCompat.java448 if (secondDown.getEventTime() - firstUp.getEventTime() > DOUBLE_TAP_TIMEOUT) { in isConsideredDoubleTap()
/frameworks/native/include/input/
DInput.h338 inline nsecs_t getEventTime() const { return mEventTime; } in getEventTime() function
433 inline nsecs_t getEventTime() const { return mSampleEventTimes[getHistorySize()]; } in getEventTime() function
/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/base/core/jni/
Dandroid_view_KeyEvent.cpp59 nanoseconds_to_milliseconds(event->getEventTime()), in android_view_KeyEvent_fromNative()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java363 powerTapInterval = event.getEventTime() - mLastPowerDown; in interceptPowerKeyDown()
374 mLastPowerDown = event.getEventTime(); in interceptPowerKeyDown()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java442 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector()
1183 final long now = me.getEventTime();
1224 final long eventTime = me.getEventTime();
1263 mDownTime = me.getEventTime();
1467 long time = ev.getEventTime(); in addMovement()
/frameworks/base/core/java/android/app/
DUiAutomation.java596 if (event.getEventTime() < executionStartTimeMillis) { in executeAndWaitForEvent()
1131 mLastEventTimeMillis = event.getEventTime(); in IAccessibilityServiceClientImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java99 mRecords.add(new MotionEventRecord(ev.getEventTime(), ev)); in add()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java68 long t = event.getEventTime(); in onTouchEvent()

123