Searched refs:squaredHypot (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TriggerSwipeUpTouchTracker.java | 23 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/ |
D | OneHandedModeInputConsumer.java | 24 import static com.android.launcher3.Utilities.squaredHypot; 101 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
|
D | OtherActivityInputConsumer.java | 29 import static com.android.launcher3.Utilities.squaredHypot; 288 || (squaredHypot(displacementX, displacementY) >= mSquaredTouchSlop in onMotionEvent() 368 + " disp=" + squaredHypot(displacementX, displacementY) in onMotionEvent()
|
D | DeviceLockedInputConsumer.java | 22 import static com.android.launcher3.Utilities.squaredHypot; 168 if (squaredHypot(x - mTouchDown.x, y - mTouchDown.y) > mTouchSlopSquared) { in onMotionEvent()
|
D | AssistantInputConsumer.java | 29 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/ |
D | PopupContainerWithArrow.java | 20 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/ |
D | Utilities.java | 693 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 | 47 import static com.android.launcher3.Utilities.squaredHypot; 1591 squaredHypot(mDownX - x, mDownY - y) > mSquaredTouchSlop)) { in onTouchEvent()
|