MotionTiming


Kotlin |Java

public class MotionTiming 


A representation of timing for an animation.

Summary

Public fields

long
long
TimeInterpolator

Set to an instance, or null for FAST_OUT_SLOW_IN_INTERPOLATOR .

int

Set to 0, greater than 0, or INFINITE.

int

Set to RESTART or REVERSE.

Public constructors

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

Public methods

void
apply(Animator animator)
boolean
long
long
TimeInterpolator
int
int
int
String

Public fields

delay

public long delay 

duration

public long duration 

interpolator

public TimeInterpolator interpolator 

Set to an instance, or null for FAST_OUT_SLOW_IN_INTERPOLATOR .

repeatCount

public int repeatCount 

Set to 0, greater than 0, or INFINITE.

repeatMode

public int repeatMode 

Set to RESTART or REVERSE.

Public constructors

MotionTiming

public MotionTiming(long delay, long duration)

MotionTiming

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

Public methods

apply

public void apply(Animator animator)

equals

public boolean equals(Object o)

getDelay

public long getDelay()

getDuration

public long getDuration()

getInterpolator

public TimeInterpolator getInterpolator()

getRepeatCount

public int getRepeatCount()

getRepeatMode

public int getRepeatMode()

hashCode

public int hashCode()

toString

public String toString()

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月14日 UTC.