Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGestureDetector.java652 int slopSquare = isGeneratedGesture ? 0 : mTouchSlopSquare; in onTouchEvent() local
661 if (distance > slopSquare) { in onTouchEvent()
680 slopSquare *= multiplier * multiplier; in onTouchEvent()
683 if (distance > slopSquare) { in onTouchEvent()
860 int slopSquare = isGeneratedGesture ? 0 : mDoubleTapSlopSquare; in isConsideredDoubleTap() local
861 return (deltaX * deltaX + deltaY * deltaY < slopSquare); in isConsideredDoubleTap()