Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandlerV2.java674 public void onGestureEnded(float endVelocity, PointF velocity, PointF downPos) { in onGestureEnded() argument
677 boolean isFling = mGestureStarted && Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
688 handleNormalGestureEnd(endVelocity, isFling, velocity, false /* isCancel */); in onGestureEnded()
745 private GestureEndTarget calculateEndTarget(PointF velocity, float endVelocity, boolean isFling,
783 boolean isSwipeUp = endVelocity < 0;
785 goingToNewTask && Math.abs(velocity.x) > Math.abs(endVelocity);
807 private void handleNormalGestureEnd(float endVelocity, boolean isFling, PointF velocity, in handleNormalGestureEnd() argument
812 final GestureEndTarget endTarget = calculateEndTarget(velocity, endVelocity, in handleNormalGestureEnd()
828 if (Math.abs(endVelocity) > minFlingVelocity && mTransitionDragLength > 0) { in handleNormalGestureEnd()
831 startShift, endShift, endShift, endVelocity / 1000, in handleNormalGestureEnd()
DBaseSwipeUpHandler.java336 public abstract void onGestureEnded(float endVelocity, PointF velocity, PointF downPos); in onGestureEnded() argument