mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
44 lines
1.7 KiB
Java
44 lines
1.7 KiB
Java
|
package androidx.vectordrawable.graphics.drawable;
|
||
|
|
||
|
import android.graphics.drawable.Animatable;
|
||
|
import android.graphics.drawable.Animatable2;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public interface Animatable2Compat extends Animatable {
|
||
|
void clearAnimationCallbacks();
|
||
|
|
||
|
void registerAnimationCallback(AnimationCallback animationCallback);
|
||
|
|
||
|
boolean unregisterAnimationCallback(AnimationCallback animationCallback);
|
||
|
|
||
|
/* loaded from: classes2.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() { // from class: androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback.1
|
||
|
@Override // android.graphics.drawable.Animatable2.AnimationCallback
|
||
|
public void onAnimationStart(Drawable drawable) {
|
||
|
AnimationCallback.this.onAnimationStart(drawable);
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Animatable2.AnimationCallback
|
||
|
public void onAnimationEnd(Drawable drawable) {
|
||
|
AnimationCallback.this.onAnimationEnd(drawable);
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
return this.mPlatformCallback;
|
||
|
}
|
||
|
}
|
||
|
}
|