Searched refs:DOUBLE_TAP_TIMEOUT (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/ |
D | PipTouchStateTest.java | 70 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT + 10, 0, 0)); in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting() 82 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 10, 0, 0)); in testDoubleTapTimeout_timeoutCallbackCalled() 115 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 20, 0, 0)); in testDoubleTap_doubleTapRegistered() 117 currentTime + PipTouchState.DOUBLE_TAP_TIMEOUT - 10, 0, 0)); in testDoubleTap_doubleTapRegistered()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 38 static final long DOUBLE_TAP_TIMEOUT = 200; field in PipTouchState 107 (mDownTouchTime - mLastDownTouchTime) < DOUBLE_TAP_TIMEOUT; in onTouchEvent() 191 (mUpTouchTime - mDownTouchTime) < DOUBLE_TAP_TIMEOUT; in onTouchEvent() 315 return Math.max(0, DOUBLE_TAP_TIMEOUT - (mUpTouchTime - mDownTouchTime));
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 125 private static final int DOUBLE_TAP_TIMEOUT = 300; field in ViewConfiguration 616 return DOUBLE_TAP_TIMEOUT; in getDoubleTapTimeout()
|
D | GestureDetector.java | 241 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); field in GestureDetector 601 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent() 852 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
|