Nick Anthony | 795ea93 | 2019-05-31 15:45:30 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.vectordrawable.graphics.drawable { |
| 3 | |
| 4 | public interface Animatable2Compat extends android.graphics.drawable.Animatable { |
| 5 | method public void clearAnimationCallbacks(); |
| 6 | method public void registerAnimationCallback(androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback); |
| 7 | method public boolean unregisterAnimationCallback(androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback); |
| 8 | } |
| 9 | |
| 10 | public abstract static class Animatable2Compat.AnimationCallback { |
| 11 | ctor public Animatable2Compat.AnimationCallback(); |
| 12 | method public void onAnimationEnd(android.graphics.drawable.Drawable!); |
| 13 | method public void onAnimationStart(android.graphics.drawable.Drawable!); |
| 14 | } |
| 15 | |
Jeff Gaston | 7c986ac | 2019-12-09 17:08:44 -0500 | [diff] [blame] | 16 | public class AnimatedVectorDrawableCompat extends android.graphics.drawable.Drawable implements androidx.vectordrawable.graphics.drawable.Animatable2Compat { |
Nick Anthony | 795ea93 | 2019-05-31 15:45:30 -0400 | [diff] [blame] | 17 | method public void clearAnimationCallbacks(); |
| 18 | method public static void clearAnimationCallbacks(android.graphics.drawable.Drawable!); |
| 19 | method public static androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat? create(android.content.Context, @DrawableRes int); |
| 20 | method public static androidx.vectordrawable.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; |
| 21 | method public void draw(android.graphics.Canvas!); |
| 22 | method public int getOpacity(); |
| 23 | method public boolean isRunning(); |
| 24 | method public void registerAnimationCallback(androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback); |
| 25 | method public static void registerAnimationCallback(android.graphics.drawable.Drawable!, androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback!); |
| 26 | method public void setAlpha(int); |
| 27 | method public void setColorFilter(android.graphics.ColorFilter!); |
| 28 | method public void setColorFilter(int, android.graphics.PorterDuff.Mode!); |
| 29 | method public void start(); |
| 30 | method public void stop(); |
| 31 | method public boolean unregisterAnimationCallback(androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback); |
| 32 | method public static boolean unregisterAnimationCallback(android.graphics.drawable.Drawable!, androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback!); |
| 33 | } |
| 34 | |
| 35 | } |
| 36 | |