AnimationSet

Class of android.view.animation · AnimationSet.java · Android's reference

public class AnimationSet extends Animation

AnimationSet ← Animation

Animations played together, their transformations composed.

Constructors

public AnimationSet(boolean shareInterpolator) source
public AnimationSet(Context context, AttributeSet attrs) source

Methods

public void addAnimation(Animation a) source
public List<Animation> getAnimations() source
public void setDuration(long durationMillis) source
public void setFillAfter(boolean fillAfter) source
public void setFillBefore(boolean fillBefore) source
public void setRepeatMode(int repeatMode) source
public void setStartOffset(long startOffset) source
public void setAnimationListener(AnimationListener listener) source
public void setStartTime(long startTimeMillis) source
public long getStartTime() source
public long getDuration() source
public long computeDurationHint() source
public void reset() source
public void restrictDuration(long durationMillis) source
public void scaleCurrentDuration(float scale) source
public boolean willChangeTransformationMatrix() source
public boolean willChangeBounds() source
public void initialize(int width, int height, int parentWidth, int parentHeight) source

Gives the set's own settings to the children, then sizes them.

public boolean getTransformation(long currentTime, Transformation t) source
public boolean hasStarted() source
public boolean hasEnded() source
public void cancel() source
protected AnimationSet clone() throws CloneNotSupportedException source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.