Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java151 public void start(Context context, PointF velocityPxPerMs) {
167 velocityPxPerMs.x * 1000, mMinVisChange, minXValue, maxXValue, 1f, onXEndListener);
169 float startVelocityY = velocityPxPerMs.y * 1000;
188 .setStartVelocity(velocityPxPerMs.y * minVisibleChange)
DRectFSpringAnim2.java193 public void start(Context context, PointF velocityPxPerMs) { in start() argument
196 .setStartVelocity(velocityPxPerMs.x * 1000) in start()
207 .setStartVelocity(velocityPxPerMs.y * 1000) in start()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorPlaybackController.java145 float velocityPxPerMs, float endDistance, long animationDuration) { in startWithVelocity() argument
147 float velocityProgressPerMs = velocityPxPerMs * distanceInverse; in startWithVelocity()
194 mAnimationPlayer.setInterpolator(scrollInterpolatorForVelocity(velocityPxPerMs)); in startWithVelocity()
202 clampToProgress(scrollInterpolatorForVelocity(velocityPxPerMs), 0, cutOff)); in startWithVelocity()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java281 PointF velocityPxPerMs = new PointF(velocity.x, velocity.y); in handleSwipeUpToHome() local
283 final float startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleSwipeUpToHome()
290 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome()
330 windowAnim.start(mContext, velocityPxPerMs); in handleSwipeUpToHome()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java1098 GestureEndTarget target, PointF velocityPxPerMs) {
1100 interpolator, target, velocityPxPerMs));
1126 Interpolator interpolator, GestureEndTarget target, PointF velocityPxPerMs) {
1143 getOrientationHandler().adjustFloatingIconStartVelocity(velocityPxPerMs);
1181 windowAnim.start(mContext, velocityPxPerMs);
1183 homeAnimFactory.setSwipeVelocity(velocityPxPerMs.y);
1184 homeAnimFactory.playAtomicAnimation(velocityPxPerMs.y);