blob: f2601def63d40eccc4bb2ea1fa5889ff9041bf66 [file] [log] [blame]
Sergey Vasilinets49066c42017-07-10 12:00:26 -07001package android.support.graphics.drawable {
2
3 public abstract interface Animatable2Compat {
4 method public abstract void clearAnimationCallbacks();
5 method public abstract void registerAnimationCallback(android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
6 method public abstract boolean unregisterAnimationCallback(android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
7 }
8
9 public static abstract class Animatable2Compat.AnimationCallback {
10 ctor public Animatable2Compat.AnimationCallback();
11 method public void onAnimationEnd(android.graphics.drawable.Drawable);
12 method public void onAnimationStart(android.graphics.drawable.Drawable);
13 }
14
15 public class AnimatedVectorDrawableCompat extends android.support.graphics.drawable.VectorDrawableCommon implements android.support.graphics.drawable.Animatable2Compat {
16 method public void clearAnimationCallbacks();
17 method public static void clearAnimationCallbacks(android.graphics.drawable.Drawable);
18 method public static android.support.graphics.drawable.AnimatedVectorDrawableCompat create(android.content.Context, int);
19 method public static android.support.graphics.drawable.AnimatedVectorDrawableCompat createFromXmlInner(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
20 method public void draw(android.graphics.Canvas);
21 method public int getOpacity();
22 method public boolean isRunning();
23 method public void registerAnimationCallback(android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
24 method public static void registerAnimationCallback(android.graphics.drawable.Drawable, android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
25 method public void setAlpha(int);
26 method public void setColorFilter(android.graphics.ColorFilter);
27 method public void start();
28 method public void stop();
29 method public boolean unregisterAnimationCallback(android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
30 method public static boolean unregisterAnimationCallback(android.graphics.drawable.Drawable, android.support.graphics.drawable.Animatable2Compat.AnimationCallback);
31 }
32
33}
34