AnimationUtils

Utility class for animations containing Material interpolators.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun lerp(startValue: Float, endValue: Float, fraction: Float): Float
open fun lerp(startValue: Int, endValue: Int, fraction: Float): Int
Linear interpolation between startValue and endValue by fraction.
open fun lerp(outputMin: Float, outputMax: Float, inputMin: Float, inputMax: Float, value: Float): Float
Linear interpolation between outputMin and outputMax when value is between inputMin and inputMax.