public abstract class Animation
extends java.lang.Object
TabSwitcher
.Modifier and Type | Class and Description |
---|---|
protected static class |
Animation.Builder<AnimationType,BuilderType>
An abstract base class for all builders, which allow to configure and create instances of the
class
Animation . |
Modifier | Constructor and Description |
---|---|
protected |
Animation(long duration,
android.view.animation.Interpolator interpolator)
Creates a new animation.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Returns the duration of the animation.
|
android.view.animation.Interpolator |
getInterpolator()
Returns the interpolator, which is used by the animation.
|
protected Animation(long duration, @Nullable android.view.animation.Interpolator interpolator)
duration
- The duration of the animation in milliseconds as a Long
value or -1, if the
default duration should be usedinterpolator
- The interpolator, which should be used by the animation, as an instance of the type
Interpolator
or null, if the default interpolator should be usedpublic final long getDuration()
Long
value or -1, if the
default duration is used@Nullable public final android.view.animation.Interpolator getInterpolator()
Interpolator
or null, if the default interpolator is used