mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 17:42:33 -06:00
55 lines
1.9 KiB
Java
55 lines
1.9 KiB
Java
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);
|
|
}
|
|
}
|
|
}
|