Home
last modified time | relevance | path

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

12

/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselView.java584 mController.onTouchStarted(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
593 mController.onTouchMoved(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
598 mController.onTouchStopped(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java577 mTimeDelta = curr.getEventTime() - prev.getEventTime(); in setContext()
735 public long getEventTime() { in getEventTime() method in ScaleGestureDetector
736 return mCurrEvent.getEventTime(); in getEventTime()
DGestureDetector.java626 if (secondDown.getEventTime() - firstUp.getEventTime() > DOUBLE_TAP_TIMEOUT) { in isConsideredDoubleTap()
DViewRootImpl.java2959 final float xOff = x.collect(event.getX(), event.getEventTime(), "X"); in deliverTrackballEvent()
2960 final float yOff = y.collect(event.getY(), event.getEventTime(), "Y"); in deliverTrackballEvent()
3067 final long time = event.getEventTime(); in updateJoystickDirection()
3789 sendMessageAtTime(msg, event.getEventTime()); in dispatchKey()
3807 sendMessageAtTime(msg, event.getEventTime()); in dispatchPointer()
3814 sendMessageAtTime(msg, event.getEventTime()); in dispatchTrackball()
3821 sendMessageAtTime(msg, event.getEventTime()); in dispatchGenericMotion()
DMotionEvent.java1793 public final long getEventTime() { in getEventTime() method in MotionEvent
2897 msg.append(", eventTime=").append(getEventTime()); in toString()
DKeyEvent.java2339 public final long getEventTime() { in getEventTime() method in KeyEvent
/frameworks/base/libs/ui/tests/
DInputEvent_test.cpp196 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F()
327 ASSERT_EQ(ARBITRARY_EVENT_TIME + 2, event->getEventTime()); in assertEqualsEventWithHistory()
470 ASSERT_EQ(event.getEventTime(), copy.getEventTime()); in TEST_F()
DInputPublisherAndConsumer_test.cpp131 EXPECT_EQ(eventTime, keyEvent->getEventTime()); in PublishAndConsumeKeyEvent()
248 EXPECT_EQ(sampleEventTimes[lastSampleIndex], motionEvent->getEventTime()); in PublishAndConsumeMotionEvent()
291 EXPECT_EQ(sampleEventTimes[lastSampleIndex], motionEvent->getEventTime()); in PublishAndConsumeMotionEvent()
/frameworks/base/native/android/
Dinput.cpp80 return static_cast<const KeyEvent*>(key_event)->getEventTime(); in AKeyEvent_getEventTime()
108 return static_cast<const MotionEvent*>(motion_event)->getEventTime(); in AMotionEvent_getEventTime()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java236 final long lastExploreTime = mLastTouchExploreEvent.getEventTime(); in handleMotionEventStateTouchExploring()
385 final long exploreTime = mLastTouchExploreEvent.getEventTime(); in handleMotionEventStateTouchExploring()
701 event.setDownTime(event.getEventTime()); in sendMotionEvent()
1184 mReceivedPointerDownTime[pointerId] = event.getEventTime(); in handleReceivedPointerDown()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp55 nanoseconds_to_milliseconds(event->getEventTime()), in android_view_KeyEvent_fromNative()
Dandroid_view_MotionEvent.cpp588 return event->getEventTime(); in android_view_MotionEvent_nativeGetEventTimeNanos()
/frameworks/base/include/ui/
DInput.h305 inline nsecs_t getEventTime() const { return mEventTime; } in getEventTime() function
399 inline nsecs_t getEventTime() const { return mSampleEventTimes[getHistorySize()]; } in getEventTime() function
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java429 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector()
1191 final long now = me.getEventTime();
1232 final long eventTime = me.getEventTime();
1271 mDownTime = me.getEventTime();
1473 long time = ev.getEventTime(); in addMovement()
/frameworks/base/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java68 long t = event.getEventTime(); in onTouchEvent()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java581 mStrokeBuffer.add(new GesturePoint(x, y, event.getEventTime())); in touchDown()
634 mStrokeBuffer.add(new GesturePoint(x, y, event.getEventTime())); in touchMove()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java694 public long getEventTime() { in getEventTime() method in AccessibilityEvent
/frameworks/base/core/java/android/webkit/
DWebView.java5142 letPageHandleNavKey(keyCode, event.getEventTime(), true, event.getMetaState()); in onKeyDown()
5170 if (navHandledKey(keyCode, 1, false, event.getEventTime())) { in onKeyDown()
5314 letPageHandleNavKey(keyCode, event.getEventTime(), false, event.getMetaState()); in onKeyUp()
5952 Log.v(LOGTAG, ev + " at " + ev.getEventTime() in onTouchEvent()
5982 long eventTime = ev.getEventTime(); in handleTouchEventCommon()
6513 Log.v(LOGTAG, "multi-touch: " + ev + " at " + ev.getEventTime() in handleMultiTouchInWebView()
6536 mLastTouchTime = ev.getEventTime(); in handleMultiTouchInWebView()
6806 long time = ev.getEventTime(); in onTrackballEvent()
8031 long eventTime = ev.getEventTime();
8085 mLastEventTime = ev.getEventTime();
[all …]
DWebTextView.java671 mDragStartTime = event.getEventTime(); in onTouchEvent()
/frameworks/base/libs/ui/
DInput.cpp443 mSampleEventTimes.push(other->getEventTime()); in copyFrom()
860 eventTime = event->getEventTime(); in addMovement()
/frameworks/base/services/input/
DInputDispatcher.cpp3054 injectedEntry = new KeyEntry(keyEvent->getEventTime(), in injectInputEvent()
3072 nsecs_t eventTime = motionEvent->getEventTime(); in injectInputEvent()
4010 keyEntry->eventTime = event.getEventTime(); in afterKeyEventLockedInterruptible()
/frameworks/base/services/jni/
Dcom_android_server_InputManager.cpp759 nsecs_t when = keyEvent->getEventTime(); in interceptKeyBeforeQueueing()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1671 event.getDownTime(), event.getEventTime(), in dispatchUnhandledKey()
/frameworks/base/core/java/android/widget/
DAbsListView.java5139 forwardEvent = KeyEvent.changeTimeRepeat(event, event.getEventTime(), 0); in sendToTextFilter()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6149 long eventTime = ev.getEventTime(); in injectKeyEvent()

12