Home
last modified time | relevance | path

Searched refs:velX (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt125 velX: Float, in <lambda>()
373 val velX = velocityTracker.xVelocity in <lambda>() constant
379 if (objectNewlyStuckToTarget && abs(velX) > stickToTargetMaxXVelocity) { in <lambda>()
388 animateStuckToTarget(targetObjectIsInMagneticFieldOf, velX, velY, false, null) in <lambda>()
409 val velX = velocityTracker.xVelocity in <lambda>() constant
422 targetObjectIsStuckTo!!, velX, velY, wasFlungOut = true) in <lambda>()
436 isForcefulFlingTowardsTarget(target, ev.rawX, ev.rawY, velX, velY) in <lambda>()
445 animateStuckToTarget(flungToTarget, velX, velY, true) { in <lambda>()
483 velX: Float, in <lambda>()
505 .spring(xProperty, xProperty.getValue(underlyingObject) + xDiff, velX, in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipDismissTargetHandler.java132 (target, velX, velY, flung, after) -> { in init() argument
134 mMotionHelper.animateIntoDismissTarget(target, velX, velY, flung, after); in init()
150 float velX, float velY, boolean wasFlungOut) { in init()
152 mMotionHelper.flingToSnapTarget(velX, velY, null /* endAction */); in init()
DPipMotionHelper.java298 float velX, float velY, in animateIntoDismissTarget() argument
322 .spring(FloatProperties.RECT_X, destinationX, velX, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
400 void stashToEdge(float velX, float velY, @Nullable Runnable postBoundsUpdateCallback) { in stashToEdge() argument
402 movetoTarget(velX, velY, postBoundsUpdateCallback, true /* isStash */); in stashToEdge()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java421 float velX, float velY, boolean wasFlungOut) {
430 mExpandedAnimationController.getDraggedOutBubble(), velX, velY);
462 float velX, float velY, boolean wasFlungOut) {
466 mStackAnimationController.getStackPosition().x, velX, velY);
644 float viewInitialY, float dx, float dy, float velX, float velY) {
656 mExpandedAnimationController.snapBubbleBack(v, velX, velY);
666 viewInitialX + dx, velX, velY) <= 0;
715 float viewInitialY, float dx, float dy, float velX, float velY) {
718 onLeft ? velX < -FLYOUT_DISMISS_VELOCITY : velX > FLYOUT_DISMISS_VELOCITY;
723 final boolean isCancelFling = onLeft ? velX > 0 : velX < 0;
[all …]
DRelativeTouchListener.kt79 velX: Float, in onDown()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java352 public float flingStackThenSpringToEdge(float x, float velX, float velY) { in flingStackThenSpringToEdge() argument
356 ? velX < ESCAPE_VELOCITY in flingStackThenSpringToEdge()
357 : velX < -ESCAPE_VELOCITY; in flingStackThenSpringToEdge()
397 ? Math.min(minimumVelocityToReachEdge, velX) in flingStackThenSpringToEdge()
398 : Math.max(minimumVelocityToReachEdge, velX); in flingStackThenSpringToEdge()
DExpandedAnimationController.java433 public void snapBubbleBack(View bubbleView, float velX, float velY) {
441 .withPositionStartVelocities(velX, velY)
DPhysicsAnimationLayout.java879 public PhysicsPropertyAnimator withPositionStartVelocities(float velX, float velY) {
880 mPositionStartVelocities.put(DynamicAnimation.TRANSLATION_X, velX);
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4826 int velX = 0; in run() local
4828 velX = overscrollX < 0 ? -vel : overscrollX > 0 ? vel : 0; in run()
4837 absorbGlows(velX, velY); in run()
4839 if ((velX != 0 || overscrollX == x || scroller.getFinalX() == 0) in run()