Searched refs:getDownTime (Results 1 – 17 of 17) sorted by relevance
153 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeys()162 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys()171 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys()180 assertThat(event.getDownTime()).isEqualTo(15L); in handlesRepeatedKeys()194 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeyWithIndents()202 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeyWithIndents()214 assertThat(event.getDownTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown()229 assertThat(event.getDownTime()).isEqualTo(42L); in separateKeyDownEvents_areIndependent()
60 if (event.getEventTime() - event.getDownTime() > ViewConfiguration.getLongPressTimeout()) { in onTouch()73 if (event.getEventTime() - event.getDownTime() < ViewConfiguration.getLongPressTimeout()) { in onTouch()
57 long duration = event.getEventTime() - event.getDownTime(); in onInterceptKeyEvent()
51 final long downTime = me.getDownTime(); in processMotionEvent()
169 trail.addStroke(tracker.getGestureStrokeDrawingPoints(), tracker.getDownTime()); in setPreviewPosition()
98 long downTime = event.getDownTime(); in logTouchEvents()
94 long downTime = event.getDownTime(); in logTouchEvents()
47 long downTime = e.getDownTime(); in transformEventOld()
97 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT) { in onInterceptTouchEvent()
607 if (mLastDownTime != ev.getDownTime()) { in shouldHandleTouchEvent()608 mLastDownTime = ev.getDownTime(); in shouldHandleTouchEvent()
269 MotionEvent touchEvent = MotionEvent.obtain(event.getDownTime(), in onGenericMotionEvent()
466 final long elapsedMs = ev.getEventTime() - ev.getDownTime(); in shouldAllowRecaptureTouch()
804 mInjector.debugHelper.debugCheck(event.getDownTime(), event.getKeyCode()); in dispatchKeyEvent()
464 public long getDownTime() { in getDownTime() method in PointerTracker
739 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT_MS in onScroll()
1629 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT) { in onInterceptTouchEvent()
3446 Log.e(TAG, "ACTION_DOWN ev.getDownTime = " + ev.getDownTime() + " Cnt=" in onTouchEvent()