Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGestureDetector.java670 int slopSquare = isGeneratedGesture ? 0 : mTouchSlopSquare; in onTouchEvent() local
678 if (distance > slopSquare) { in onTouchEvent()
698 slopSquare *= mAmbiguousGestureMultiplier * mAmbiguousGestureMultiplier; in onTouchEvent()
701 if (distance > slopSquare) { in onTouchEvent()
878 int slopSquare = isGeneratedGesture ? 0 : mDoubleTapSlopSquare; in isConsideredDoubleTap() local
879 return (deltaX * deltaX + deltaY * deltaY < slopSquare); in isConsideredDoubleTap()