mosaic
Toggle table of contents
0.17.0-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
mosaic
mosaic-animation
/
com.jakewharton.mosaic.animation
/
estimateAnimationDurationMillis
estimate
Animation
Duration
Millis
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY
]
)
fun
estimateAnimationDurationMillis
(
stiffness
:
Float
,
dampingRatio
:
Float
,
initialVelocity
:
Float
,
initialDisplacement
:
Float
,
delta
:
Float
)
:
Long
Returns the estimated time that the spring will last be at
delta