Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DInterpolators.java199 float endProgress, float velocityPxPerMs, int totalDistancePx, Context context) {
200 velocityPxPerMs = Math.abs(velocityPxPerMs);
204 float overshootBy = OVERSHOOT_FACTOR * velocityPxPerMs *
214 float decelerationPxPerMs = velocityPxPerMs * velocityPxPerMs / (2 * overshootDistance);
218 duration = (long) (velocityPxPerMs / decelerationPxPerMs);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandlerV2.java809 PointF velocityPxPerMs = new PointF(velocity.x / 1000, velocity.y / 1000); in handleNormalGestureEnd() local
824 startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleNormalGestureEnd()
843 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleNormalGestureEnd()
889 animateToProgress(startShift, endShift, duration, interpolator, endTarget, velocityPxPerMs); in handleNormalGestureEnd()
934 GestureEndTarget target, PointF velocityPxPerMs) { in animateToProgress() argument
936 interpolator, target, velocityPxPerMs)); in animateToProgress()
959 Interpolator interpolator, GestureEndTarget target, PointF velocityPxPerMs) { in animateToProgressInternal() argument
987 getOrientationHandler().adjustFloatingIconStartVelocity(velocityPxPerMs); in animateToProgressInternal()
988 windowAnim.start(mContext, velocityPxPerMs); in animateToProgressInternal()
989 homeAnimFactory.playAtomicAnimation(velocityPxPerMs.y); in animateToProgressInternal()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DRectFSpringAnim.java150 public void start(Context context, PointF velocityPxPerMs) {
166 velocityPxPerMs.x * 1000, mMinVisChange, minXValue, maxXValue, 1f, onXEndListener);
168 float startVelocityY = velocityPxPerMs.y * 1000;
187 .setStartVelocity(velocityPxPerMs.y * minVisibleChange)
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java194 PointF velocityPxPerMs = new PointF(velocity.x, velocity.y); in handleSwipeUpToHome() local
196 final float startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleSwipeUpToHome()
203 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome()
223 windowAnim.start(mContext, velocityPxPerMs); in handleSwipeUpToHome()