g.smali
.class public Le/h/e/e/g;
.super Ljava/lang/Object;
.source ""
# direct methods
.method public static a(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;IZ)Z
.registers 5
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_7
return p4
:cond_7
invoke-virtual {p0, p3, p4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result p0
return p0
.end method
.method public static b(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
.registers 5
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_7
return p4
:cond_7
invoke-virtual {p0, p3, p4}, Landroid/content/res/TypedArray;->getColor(II)I
move-result p0
return p0
.end method
.method public static c(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;Ljava/lang/String;I)Landroid/content/res/ColorStateList;
.registers 6
invoke-static {p1, p3}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_4d
new-instance p1, Landroid/util/TypedValue;
invoke-direct {p1}, Landroid/util/TypedValue;-><init>()V
invoke-virtual {p0, p4, p1}, Landroid/content/res/TypedArray;->getValue(ILandroid/util/TypedValue;)Z
iget p3, p1, Landroid/util/TypedValue;->type:I
const/4 v0, 0x2
if-eq p3, v0, :cond_2e
const/16 v0, 0x1c
if-lt p3, v0, :cond_20
const/16 v0, 0x1f
if-gt p3, v0, :cond_20
invoke-static {p1}, Le/h/e/e/g;->d(Landroid/util/TypedValue;)Landroid/content/res/ColorStateList;
move-result-object p0
return-object p0
:cond_20
invoke-virtual {p0}, Landroid/content/res/TypedArray;->getResources()Landroid/content/res/Resources;
move-result-object p1
const/4 p3, 0x0
invoke-virtual {p0, p4, p3}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p0
invoke-static {p1, p0, p2}, Le/h/e/e/a;->c(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
move-result-object p0
return-object p0
:cond_2e
new-instance p0, Ljava/lang/UnsupportedOperationException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
const-string p3, "Failed to resolve attribute at index "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p3, ": "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
:cond_4d
const/4 p0, 0x0
return-object p0
.end method
.method private static d(Landroid/util/TypedValue;)Landroid/content/res/ColorStateList;
.registers 1
iget p0, p0, Landroid/util/TypedValue;->data:I
invoke-static {p0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
move-result-object p0
return-object p0
.end method
.method public static e(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;Ljava/lang/String;II)Le/h/e/e/b;
.registers 7
invoke-static {p1, p3}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_2f
new-instance p1, Landroid/util/TypedValue;
invoke-direct {p1}, Landroid/util/TypedValue;-><init>()V
invoke-virtual {p0, p4, p1}, Landroid/content/res/TypedArray;->getValue(ILandroid/util/TypedValue;)Z
iget p3, p1, Landroid/util/TypedValue;->type:I
const/16 v0, 0x1c
if-lt p3, v0, :cond_1f
const/16 v0, 0x1f
if-gt p3, v0, :cond_1f
iget p0, p1, Landroid/util/TypedValue;->data:I
invoke-static {p0}, Le/h/e/e/b;->b(I)Le/h/e/e/b;
move-result-object p0
return-object p0
:cond_1f
invoke-virtual {p0}, Landroid/content/res/TypedArray;->getResources()Landroid/content/res/Resources;
move-result-object p1
const/4 p3, 0x0
invoke-virtual {p0, p4, p3}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p0
invoke-static {p1, p0, p2}, Le/h/e/e/b;->g(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Le/h/e/e/b;
move-result-object p0
if-eqz p0, :cond_2f
return-object p0
:cond_2f
invoke-static {p5}, Le/h/e/e/b;->b(I)Le/h/e/e/b;
move-result-object p0
return-object p0
.end method
.method public static f(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;IF)F
.registers 5
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_7
return p4
:cond_7
invoke-virtual {p0, p3, p4}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result p0
return p0
.end method
.method public static g(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
.registers 5
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_7
return p4
:cond_7
invoke-virtual {p0, p3, p4}, Landroid/content/res/TypedArray;->getInt(II)I
move-result p0
return p0
.end method
.method public static h(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
.registers 5
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_7
return p4
:cond_7
invoke-virtual {p0, p3, p4}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p0
return p0
.end method
.method public static i(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;I)Ljava/lang/String;
.registers 4
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_8
const/4 p0, 0x0
return-object p0
:cond_8
invoke-virtual {p0, p3}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
.registers 3
const-string v0, "http://schemas.android.com/apk/res/android"
invoke-interface {p0, v0, p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
if-eqz p0, :cond_a
const/4 p0, 0x1
goto :goto_b
:cond_a
const/4 p0, 0x0
:goto_b
return p0
.end method
.method public static k(Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
.registers 4
if-nez p1, :cond_7
invoke-virtual {p0, p2, p3}, Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object p0
return-object p0
:cond_7
const/4 p0, 0x0
invoke-virtual {p1, p2, p3, p0, p0}, Landroid/content/res/Resources$Theme;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p0
return-object p0
.end method
.method public static l(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;I)Landroid/util/TypedValue;
.registers 4
invoke-static {p1, p2}, Le/h/e/e/g;->j(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_8
const/4 p0, 0x0
return-object p0
:cond_8
invoke-virtual {p0, p3}, Landroid/content/res/TypedArray;->peekValue(I)Landroid/util/TypedValue;
move-result-object p0
return-object p0
.end method