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

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Public constructors

MotionTiming

public MotionTiming (long delay, 
                long duration)

Parameters
delay long

duration long

MotionTiming

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

Parameters
delay long

duration long

interpolator TimeInterpolator

Public methods

apply

public void apply (Animator animator)

Parameters
animator Animator

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getDelay

public long getDelay ()

Returns
long

getDuration

public long getDuration ()

Returns
long

getInterpolator

public TimeInterpolator getInterpolator ()

Returns
TimeInterpolator

getRepeatCount

public int getRepeatCount ()

Returns
int

getRepeatMode

public int getRepeatMode ()

Returns
int

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String