what-the-bank/sources/androidx/vectordrawable/graphics/drawable/Animatable2Compat.java

45 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package androidx.vectordrawable.graphics.drawable;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Animatable2;
import android.graphics.drawable.Drawable;
/* loaded from: classes.dex */
public interface Animatable2Compat extends Animatable {
/* loaded from: classes.dex */
public static abstract class AnimationCallback {
Animatable2.AnimationCallback mPlatformCallback;
public void onAnimationEnd(Drawable drawable) {
}
public void onAnimationStart(Drawable drawable) {
}
/* JADX INFO: Access modifiers changed from: package-private */
public Animatable2.AnimationCallback getPlatformCallback() {
if (this.mPlatformCallback == null) {
this.mPlatformCallback = new Animatable2.AnimationCallback(this) { // from class: androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback.4
final AnimationCallback a;
{
this.a = this;
}
@Override // android.graphics.drawable.Animatable2.AnimationCallback
public void onAnimationStart(Drawable drawable) {
this.a.onAnimationStart(drawable);
}
@Override // android.graphics.drawable.Animatable2.AnimationCallback
public void onAnimationEnd(Drawable drawable) {
this.a.onAnimationEnd(drawable);
}
};
}
return this.mPlatformCallback;
}
}
}