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/
DAbsSwipeUpHandler.java1109 public void onGestureEnded(float endVelocityPxPerMs, PointF velocityPxPerMs) {
1115 boolean isVelocityVertical = Math.abs(velocityPxPerMs.y) > Math.abs(velocityPxPerMs.x);
1117 mLogDirectionUpOrLeft = velocityPxPerMs.y < 0;
1119 mLogDirectionUpOrLeft = velocityPxPerMs.x < 0;
1122 endVelocityPxPerMs, isFling, velocityPxPerMs, /* isCancel= */ false);
1226 PointF velocityPxPerMs, float endVelocityPxPerMs, boolean isFlingY, boolean isCancel) {
1229 velocityPxPerMs.x == 0 && velocityPxPerMs.y == 0
1234 .append(dpiFromPx(velocityPxPerMs.x))
1236 .append(dpiFromPx(velocityPxPerMs.y))
1239 -velocityPxPerMs.y, velocityPxPerMs.x))), gestureEvent);
[all …]
/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/util/
DRectFSpringAnim.java241 public void start(Context context, @Nullable DeviceProfile profile, PointF velocityPxPerMs) { in start() argument
252 float xVelocityPxPerS = velocityPxPerMs.x * 1000; in start()
253 float yVelocityPxPerS = velocityPxPerMs.y * 1000; in start()
309 .setStartVelocity(velocityPxPerMs.y * minVisibleChange) in start()
358 .setStartVelocity(velocityPxPerMs.y * minVisibleChange) in start()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java356 PointF velocityPxPerMs = new PointF(velocity.x, velocity.y); in handleSwipeUpToHome() local
358 final float startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleSwipeUpToHome()
365 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome()
410 windowAnim.start(mContext, mDp, velocityPxPerMs); in handleSwipeUpToHome()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java434 float velocityPxPerMs = mNavBarPosition.isRightEdge() in finishTouchTracking() local
440 mInteractionHandler.onGestureEnded(velocityPxPerMs, in finishTouchTracking()