Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGestureDetector.java708 int slopSquare = isGeneratedGesture ? 0 : mTouchSlopSquare; in onTouchEvent() local
716 if (distance > slopSquare) { in onTouchEvent()
736 slopSquare *= mAmbiguousGestureMultiplier * mAmbiguousGestureMultiplier; in onTouchEvent()
739 if (distance > slopSquare) { in onTouchEvent()
918 int slopSquare = isGeneratedGesture ? 0 : mDoubleTapSlopSquare; in isConsideredDoubleTap() local
919 return (deltaX * deltaX + deltaY * deltaY < slopSquare); in isConsideredDoubleTap()