Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTriggerSwipeUpTouchTracker.java23 import static com.android.launcher3.Utilities.squaredHypot;
98 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()
152 isSwipeUp = squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop; in onGestureEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOneHandedModeInputConsumer.java24 import static com.android.launcher3.Utilities.squaredHypot;
101 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
DOtherActivityInputConsumer.java29 import static com.android.launcher3.Utilities.squaredHypot;
288 || (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop in onMotionEvent()
368 + " disp=" + squaredHypot(displacementX, displacementY) in onMotionEvent()
DDeviceLockedInputConsumer.java22 import static com.android.launcher3.Utilities.squaredHypot;
168 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
DAssistantInputConsumer.java29 import static com.android.launcher3.Utilities.squaredHypot;
169 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java20 import static com.android.launcher3.Utilities.squaredHypot;
135 return squaredHypot(mInterceptTouchDown.x - ev.getX(), mInterceptTouchDown.y - ev.getY()) in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java693 public static float squaredHypot(float x, float y) { in squaredHypot() method in Utilities
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java47 import static com.android.launcher3.Utilities.squaredHypot;
1591 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()