Class of android.graphics.drawable · AnimatedVectorDrawable.java · Android's reference
public class AnimatedVectorDrawable extends Drawable implements Animatable2
AnimatedVectorDrawable ← Drawable
A vector drawable with animators. It draws its vector as the animations start it (their first frame is not applied), and its animation has no frames: a start tells the callbacks that the animation started, and a stop that it ended.
public AnimatedVectorDrawable() empty body sourcepublic void inflate(android.content.res.Resources r, org.xmlpull.v1.XmlPullParser parser, android.util.AttributeSet attrs, android.content.res.Resources.Theme theme) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException sourcean animated vector's android:drawable: the vector it animates (its targets are not played)
public void draw(Canvas canvas) sourceprotected void onBoundsChange(android.graphics.Rect bounds) sourceprotected boolean onStateChange(int[] state) sourcepublic boolean isStateful() sourcepublic int getIntrinsicWidth() sourcepublic int getIntrinsicHeight() sourcepublic void setAlpha(int alpha) sourcepublic int getAlpha() sourcepublic void setColorFilter(ColorFilter colorFilter) sourcepublic ColorFilter getColorFilter() sourcepublic void setTintList(android.content.res.ColorStateList tint) sourcepublic void setTintMode(android.graphics.PorterDuff.Mode mode) sourcepublic int getOpacity() sourcepublic void start() sourcepublic void stop() sourcepublic void reset() sourcepublic void reverse() empty body sourcepublic boolean canReverse() sourcepublic boolean isRunning() sourcepublic void registerAnimationCallback(AnimationCallback callback) sourcepublic boolean unregisterAnimationCallback(AnimationCallback callback) sourcepublic void clearAnimationCallbacks() sourceMade 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.