Searched refs:endVelocity (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 655 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()
|
D | BaseSwipeUpHandler.java | 330 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/ |
D | FallbackNoButtonInputConsumer.java | 249 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()
|