Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

45 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;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
/* loaded from: classes.dex */
public interface Animatable2Compat extends Animatable {
void clearAnimationCallbacks();
void registerAnimationCallback(@NonNull AnimationCallback animationCallback);
boolean unregisterAnimationCallback(@NonNull AnimationCallback animationCallback);
public static abstract class AnimationCallback {
Animatable2.AnimationCallback mPlatformCallback;
public void onAnimationEnd(Drawable drawable) {
}
public void onAnimationStart(Drawable drawable) {
}
@RequiresApi(23)
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;
}
}
}