Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt341 val distanceToDestination = toAtLeast - property.getValue(target) in flingThenSpring() constant
345 val velocityToReachDestination = distanceToDestination * in flingThenSpring()
354 distanceToDestination > 0f && startVelocity >= 0f -> in flingThenSpring()
356 distanceToDestination < 0f && startVelocity <= 0f -> in flingThenSpring()