Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java655 public void onGestureEnded(float endVelocity, PointF velocity, PointF downPos) { in onGestureEnded() argument
658 boolean isFling = mGestureStarted && Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
669 handleNormalGestureEnd(endVelocity, isFling, velocity, false /* isCancel */); in onGestureEnded()
696 private GestureEndTarget calculateEndTarget(PointF velocity, float endVelocity, boolean isFling,
734 boolean isSwipeUp = endVelocity < 0;
736 goingToNewTask && Math.abs(velocity.x) > Math.abs(endVelocity);
760 private void handleNormalGestureEnd(float endVelocity, boolean isFling, PointF velocity, in handleNormalGestureEnd() argument
765 final GestureEndTarget endTarget = calculateEndTarget(velocity, endVelocity, in handleNormalGestureEnd()
781 if (Math.abs(endVelocity) > minFlingVelocity && mTransitionDragLength > 0) { in handleNormalGestureEnd()
784 startShift, endShift, endShift, endVelocity / 1000, in handleNormalGestureEnd()
DBaseSwipeUpHandler.java330 public abstract void onGestureEnded(float endVelocity, PointF velocity, PointF downPos); in onGestureEnded() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DFallbackNoButtonInputConsumer.java249 public void onGestureEnded(float endVelocity, PointF velocity, PointF downPos) { in onGestureEnded() argument
257 boolean isFling = Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
260 mEndTarget = endVelocity < 0 ? HOME : LAST_TASK; in onGestureEnded()