Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverviewWithoutFocusInputConsumer.java23 import static com.android.launcher3.Utilities.squaredHypot;
96 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()
139 triggerQuickstep = squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop; in finishTouchTracking()
DDeviceLockedInputConsumer.java22 import static com.android.launcher3.Utilities.squaredHypot;
149 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
DAssistantTouchConsumer.java26 import static com.android.launcher3.Utilities.squaredHypot;
165 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
DOtherActivityInputConsumer.java27 import static com.android.launcher3.Utilities.squaredHypot;
267 if (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop) { in onMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java19 import static com.android.launcher3.Utilities.squaredHypot;
143 return squaredHypot(mInterceptTouchDown.x - ev.getX(), mInterceptTouchDown.y - ev.getY()) in onInterceptTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java27 import static com.android.launcher3.Utilities.squaredHypot;
494 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java755 public static float squaredHypot(float x, float y) { in squaredHypot() method in Utilities