Searched refs:squaredHypot (Results 1 – 7 of 7) sorted by relevance
23 import static com.android.launcher3.Utilities.squaredHypot;96 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()139 triggerQuickstep = squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop; in finishTouchTracking()
22 import static com.android.launcher3.Utilities.squaredHypot;149 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
26 import static com.android.launcher3.Utilities.squaredHypot;165 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
27 import static com.android.launcher3.Utilities.squaredHypot;267 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()
19 import static com.android.launcher3.Utilities.squaredHypot;143 return squaredHypot(mInterceptTouchDown.x - ev.getX(), mInterceptTouchDown.y - ev.getY()) in onInterceptTouchEvent()
27 import static com.android.launcher3.Utilities.squaredHypot;494 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()
755 public static float squaredHypot(float x, float y) { in squaredHypot() method in Utilities