Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java855 public void onGestureEnded(float endVelocity, PointF velocity, PointF downPos) { in onGestureEnded() argument
858 boolean isFling = mGestureStarted && Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
869 handleNormalGestureEnd(endVelocity, isFling, velocity, false /* isCancel */); in onGestureEnded()
892 private GestureEndTarget calculateEndTarget(PointF velocity, float endVelocity, boolean isFling,
929 if (mMode == Mode.NO_BUTTON && endVelocity < 0 && !mIsShelfPeeking) {
931 endTarget = goingToNewTask && Math.abs(velocity.x) > Math.abs(endVelocity)
933 } else if (endVelocity < 0) {
938 endTarget = goingToNewTask && Math.abs(velocity.x) > Math.abs(endVelocity)
955 private void handleNormalGestureEnd(float endVelocity, boolean isFling, PointF velocity, in handleNormalGestureEnd() argument
960 final GestureEndTarget endTarget = calculateEndTarget(velocity, endVelocity, in handleNormalGestureEnd()
[all …]