Home
last modified time | relevance | path

Searched refs:DOUBLE_TAP_TIMEOUT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/
DPipTouchStateTest.java75 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT + 10, 0, 0)); in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting()
87 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 10, 0, 0)); in testDoubleTapTimeout_timeoutCallbackCalled()
120 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 20, 0, 0)); in testDoubleTap_doubleTapRegistered()
122 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 10, 0, 0)); in testDoubleTap_doubleTapRegistered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java38 static final long DOUBLE_TAP_TIMEOUT = 200; field in PipTouchState
110 (mDownTouchTime - mLastDownTouchTime) < DOUBLE_TAP_TIMEOUT; in onTouchEvent()
195 (mUpTouchTime - mDownTouchTime) < DOUBLE_TAP_TIMEOUT; in onTouchEvent()
323 return Math.max(0, DOUBLE_TAP_TIMEOUT - (mUpTouchTime - mDownTouchTime));
/frameworks/base/core/java/android/view/
DGestureDetector.java249 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); field in GestureDetector
629 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent()
880 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
DViewConfiguration.java135 private static final int DOUBLE_TAP_TIMEOUT = 300; field in ViewConfiguration
650 return DOUBLE_TAP_TIMEOUT; in getDoubleTapTimeout()