154 lines
4.3 KiB
Java
154 lines
4.3 KiB
Java
package o;
|
|
|
|
import android.content.res.ColorStateList;
|
|
import android.content.res.Resources;
|
|
import android.graphics.ColorFilter;
|
|
import android.graphics.PorterDuff;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.util.AttributeSet;
|
|
import java.io.IOException;
|
|
import org.xmlpull.v1.XmlPullParser;
|
|
import org.xmlpull.v1.XmlPullParserException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class Tlu {
|
|
public static Drawable pI_(Drawable drawable) {
|
|
return drawable;
|
|
}
|
|
|
|
@Deprecated
|
|
public static void pz_(Drawable drawable) {
|
|
drawable.jumpToCurrentState();
|
|
}
|
|
|
|
public static void pA_(Drawable drawable, boolean z) {
|
|
IeS.pL_(drawable, z);
|
|
}
|
|
|
|
public static boolean py_(Drawable drawable) {
|
|
return IeS.pK_(drawable);
|
|
}
|
|
|
|
public static void pB_(Drawable drawable, float f, float f2) {
|
|
LWm.pQ_(drawable, f, f2);
|
|
}
|
|
|
|
public static void pC_(Drawable drawable, int i, int i2, int i3, int i4) {
|
|
LWm.pR_(drawable, i, i2, i3, i4);
|
|
}
|
|
|
|
public static void pE_(Drawable drawable, int i) {
|
|
LWm.pS_(drawable, i);
|
|
}
|
|
|
|
public static void pF_(Drawable drawable, ColorStateList colorStateList) {
|
|
LWm.pT_(drawable, colorStateList);
|
|
}
|
|
|
|
public static void pG_(Drawable drawable, PorterDuff.Mode mode) {
|
|
LWm.pU_(drawable, mode);
|
|
}
|
|
|
|
public static int pu_(Drawable drawable) {
|
|
return IeS.pJ_(drawable);
|
|
}
|
|
|
|
public static void pr_(Drawable drawable, Resources.Theme theme) {
|
|
LWm.pM_(drawable, theme);
|
|
}
|
|
|
|
public static boolean ps_(Drawable drawable) {
|
|
return LWm.pN_(drawable);
|
|
}
|
|
|
|
public static ColorFilter pv_(Drawable drawable) {
|
|
return LWm.pO_(drawable);
|
|
}
|
|
|
|
public static void pt_(Drawable drawable) {
|
|
drawable.clearColorFilter();
|
|
}
|
|
|
|
public static void px_(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws XmlPullParserException, IOException {
|
|
LWm.pP_(drawable, resources, xmlPullParser, attributeSet, theme);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static <T extends Drawable> T pH_(Drawable drawable) {
|
|
return drawable instanceof FWR ? (T) ((FWR) drawable).qm_() : drawable;
|
|
}
|
|
|
|
public static boolean pD_(Drawable drawable, int i) {
|
|
return RVV.pW_(drawable, i);
|
|
}
|
|
|
|
public static int pw_(Drawable drawable) {
|
|
return RVV.pV_(drawable);
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class IeS {
|
|
static void pL_(Drawable drawable, boolean z) {
|
|
drawable.setAutoMirrored(z);
|
|
}
|
|
|
|
static boolean pK_(Drawable drawable) {
|
|
return drawable.isAutoMirrored();
|
|
}
|
|
|
|
static int pJ_(Drawable drawable) {
|
|
return drawable.getAlpha();
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class LWm {
|
|
static void pQ_(Drawable drawable, float f, float f2) {
|
|
drawable.setHotspot(f, f2);
|
|
}
|
|
|
|
static void pS_(Drawable drawable, int i) {
|
|
drawable.setTint(i);
|
|
}
|
|
|
|
static void pT_(Drawable drawable, ColorStateList colorStateList) {
|
|
drawable.setTintList(colorStateList);
|
|
}
|
|
|
|
static void pU_(Drawable drawable, PorterDuff.Mode mode) {
|
|
drawable.setTintMode(mode);
|
|
}
|
|
|
|
static void pM_(Drawable drawable, Resources.Theme theme) {
|
|
drawable.applyTheme(theme);
|
|
}
|
|
|
|
static boolean pN_(Drawable drawable) {
|
|
return drawable.canApplyTheme();
|
|
}
|
|
|
|
static ColorFilter pO_(Drawable drawable) {
|
|
return drawable.getColorFilter();
|
|
}
|
|
|
|
static void pP_(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws XmlPullParserException, IOException {
|
|
drawable.inflate(resources, xmlPullParser, attributeSet, theme);
|
|
}
|
|
|
|
static void pR_(Drawable drawable, int i, int i2, int i3, int i4) {
|
|
drawable.setHotspotBounds(i, i2, i3, i4);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class RVV {
|
|
static boolean pW_(Drawable drawable, int i) {
|
|
return drawable.setLayoutDirection(i);
|
|
}
|
|
|
|
static int pV_(Drawable drawable) {
|
|
return drawable.getLayoutDirection();
|
|
}
|
|
}
|
|
}
|