Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTriggerSwipeUpTouchTracker.java23 import static com.android.launcher3.Utilities.squaredHypot;
97 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()
151 isSwipeUp = squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop; in onGestureEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOneHandedModeInputConsumer.java25 import static com.android.launcher3.Utilities.squaredHypot;
102 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
DOtherActivityInputConsumer.java29 import static com.android.launcher3.Utilities.squaredHypot;
304 boolean passedSlop = squaredHypot(displacementX, displacementY) in onMotionEvent()
363 + " disp=" + squaredHypot(displacementX, displacementY) in onMotionEvent()
DOverscrollInputConsumer.java25 import static com.android.launcher3.Utilities.squaredHypot;
175 float squaredDist = squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y); in onMotionEvent()
DDeviceLockedInputConsumer.java23 import static com.android.launcher3.Utilities.squaredHypot;
162 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
DAssistantInputConsumer.java27 import static com.android.launcher3.Utilities.squaredHypot;
169 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java18 import static com.android.launcher3.Utilities.squaredHypot;
194 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java20 import static com.android.launcher3.Utilities.squaredHypot;
136 return squaredHypot(mInterceptTouchDown.x - ev.getX(), mInterceptTouchDown.y - ev.getY()) in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java752 public static float squaredHypot(float x, float y) { in squaredHypot() method in Utilities
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java32 import static com.android.launcher3.Utilities.squaredHypot;
1035 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()