Searched refs:squaredHypot (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TriggerSwipeUpTouchTracker.java | 23 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/ |
D | OneHandedModeInputConsumer.java | 25 import static com.android.launcher3.Utilities.squaredHypot; 102 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
|
D | OtherActivityInputConsumer.java | 29 import static com.android.launcher3.Utilities.squaredHypot; 304 boolean passedSlop = squaredHypot(displacementX, displacementY) in onMotionEvent() 363 + " disp=" + squaredHypot(displacementX, displacementY) in onMotionEvent()
|
D | OverscrollInputConsumer.java | 25 import static com.android.launcher3.Utilities.squaredHypot; 175 float squaredDist = squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y); in onMotionEvent()
|
D | DeviceLockedInputConsumer.java | 23 import static com.android.launcher3.Utilities.squaredHypot; 162 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
|
D | AssistantInputConsumer.java | 27 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/ |
D | NavBarGestureHandler.java | 18 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/ |
D | PopupContainerWithArrow.java | 20 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/ |
D | Utilities.java | 752 public static float squaredHypot(float x, float y) { in squaredHypot() method in Utilities
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 32 import static com.android.launcher3.Utilities.squaredHypot; 1035 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()
|