Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

MotionTiming

public class MotionTiming
extends Object

java.lang.Object
   ↳ com.google.android.material.animation.MotionTiming


A representation of timing for an animation.

Summary

Public constructors

MotionTiming(long delay, long duration)
MotionTiming(long delay, long duration, TimeInterpolator interpolator)

Public methods

void apply(Animator animator)
boolean equals(Object o)
long getDelay()
long getDuration()
TimeInterpolator getInterpolator()
int getRepeatCount()
int getRepeatMode()
int hashCode()
String toString()

Inherited methods

From class java.lang.Object

Public constructors

MotionTiming

MotionTiming (long delay, 
                long duration)

Parameters
delay long

duration long

MotionTiming

MotionTiming (long delay, 
                long duration, 
                TimeInterpolator interpolator)

Parameters
delay long

duration long

interpolator TimeInterpolator

Public methods

apply

void apply (Animator animator)

Parameters
animator Animator

equals

boolean equals (Object o)

Parameters
o Object

Returns
boolean

getDelay

long getDelay ()

Returns
long

getDuration

long getDuration ()

Returns
long

getInterpolator

TimeInterpolator getInterpolator ()

Returns
TimeInterpolator

getRepeatCount

int getRepeatCount ()

Returns
int

getRepeatMode

int getRepeatMode ()

Returns
int

hashCode

int hashCode ()

Returns
int

toString

String toString ()

Returns
String