MotionUtils

open class MotionUtils

A utility class for motion system functions.

Functions

Link copied to clipboard
open fun resolveThemeDuration(@NonNull context: Context, @AttrRes attrResId: Int, defaultDuration: Int): Int
Resolve a duration from a material duration theme attribute.
Link copied to clipboard
open fun resolveThemeInterpolator(@NonNull context: Context, @AttrRes attrResId: Int, @NonNull defaultInterpolator: TimeInterpolator): TimeInterpolator
Load an interpolator from a material easing theme attribute.