package defpackage;

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;

/* JADX INFO: loaded from: classes.dex */
@m38
public final class k81 {

    @l18
    public static class a {
        @wd2
        public static void a(@vo6 Resources resources, int i, int i2, @vo6 TypedValue typedValue, boolean z) {
            resources.getValueForDensity(i, i2, typedValue, z);
        }
    }

    @l18
    public static class b {
        @wd2
        public static void a(@vo6 ObjectAnimator objectAnimator, boolean z) {
            objectAnimator.setAutoCancel(z);
        }
    }

    @l18
    public static class c {
        @vo6
        @wd2
        public static Drawable a(@vo6 Resources resources, @vo6 XmlPullParser xmlPullParser, @vo6 AttributeSet attributeSet, @rq6 Resources.Theme theme) throws XmlPullParserException, IOException {
            return Drawable.createFromXmlInner(resources, xmlPullParser, attributeSet, theme);
        }

        @wd2
        public static int b(@vo6 TypedArray typedArray) {
            return typedArray.getChangingConfigurations();
        }

        @wd2
        public static void c(@vo6 Drawable drawable, @vo6 Resources resources, @vo6 XmlPullParser xmlPullParser, @vo6 AttributeSet attributeSet, @rq6 Resources.Theme theme) throws XmlPullParserException, IOException {
            drawable.inflate(resources, xmlPullParser, attributeSet, theme);
        }
    }
}
