getDurationNanos

open override fun getDurationNanos(initialValue: Float, initialVelocity: Float): Long

Returns the duration of the decay animation, in nanoseconds.

Parameters

initialValue

start value of the animation

initialVelocity

start velocity of the animation