Rabbit-R1/android (non root)/java/sources/androidx/appcompat/resources/Compatibility.java

56 lines
1.9 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.appcompat.resources;
import android.animation.ObjectAnimator;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.TypedValue;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public final class Compatibility {
private Compatibility() {
}
/* loaded from: classes.dex */
public static class Api21Impl {
private Api21Impl() {
}
public static void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException {
drawable.inflate(resources, xmlPullParser, attributeSet, theme);
}
public static int getChangingConfigurations(TypedArray typedArray) {
return typedArray.getChangingConfigurations();
}
public static Drawable createFromXmlInner(Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException {
return Drawable.createFromXmlInner(resources, xmlPullParser, attributeSet, theme);
}
}
/* loaded from: classes.dex */
public static class Api18Impl {
private Api18Impl() {
}
public static void setAutoCancel(ObjectAnimator objectAnimator, boolean z) {
objectAnimator.setAutoCancel(z);
}
}
/* loaded from: classes.dex */
public static class Api15Impl {
private Api15Impl() {
}
public static void getValueForDensity(Resources resources, int i, int i2, TypedValue typedValue, boolean z) {
resources.getValueForDensity(i, i2, typedValue, z);
}
}
}