.class public Lcom/moji/appwidget/skin/SkinEngineOld;
.super Lcom/moji/appwidget/skin/SkinEngine;
.source "SkinEngineOld.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 13
    invoke-direct {p0}, Lcom/moji/appwidget/skin/SkinEngine;-><init>()V

    return-void
.end method

.method private a(Ljava/lang/String;)I
    .locals 3

    .line 47
    new-instance v0, Lcom/moji/appwidget/skin/Resolution;

    invoke-direct {v0}, Lcom/moji/appwidget/skin/Resolution;-><init>()V

    .line 48
    invoke-virtual {p1}, Ljava/lang/String;->hashCode()I

    move-result v1

    const/4 v2, 0x0

    sparse-switch v1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    const-string v1, "5x2"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x3

    goto :goto_1

    :sswitch_1
    const-string v1, "5x1"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x2

    goto :goto_1

    :sswitch_2
    const-string v1, "4x2"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    goto :goto_1

    :sswitch_3
    const-string v1, "4x1"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_1

    :cond_0
    :goto_0
    const/4 p1, -0x1

    :goto_1
    packed-switch p1, :pswitch_data_0

    return v2

    .line 56
    :pswitch_0
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->b:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 54
    :pswitch_1
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->c:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 52
    :pswitch_2
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->c:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 50
    :pswitch_3
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->b:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    nop

    :sswitch_data_0
    .sparse-switch
        0xd1ed -> :sswitch_3
        0xd1ee -> :sswitch_2
        0xd5ae -> :sswitch_1
        0xd5af -> :sswitch_0
    .end sparse-switch

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method private b(Ljava/lang/String;)I
    .locals 3

    .line 63
    new-instance v0, Lcom/moji/appwidget/skin/Resolution;

    invoke-direct {v0}, Lcom/moji/appwidget/skin/Resolution;-><init>()V

    .line 64
    invoke-virtual {p1}, Ljava/lang/String;->hashCode()I

    move-result v1

    const/4 v2, 0x0

    sparse-switch v1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    const-string v1, "5x2"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x3

    goto :goto_1

    :sswitch_1
    const-string v1, "5x1"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x2

    goto :goto_1

    :sswitch_2
    const-string v1, "4x2"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    goto :goto_1

    :sswitch_3
    const-string v1, "4x1"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_1

    :cond_0
    :goto_0
    const/4 p1, -0x1

    :goto_1
    packed-switch p1, :pswitch_data_0

    return v2

    .line 72
    :pswitch_0
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->a:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 70
    :pswitch_1
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->a:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 68
    :pswitch_2
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->a:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    .line 66
    :pswitch_3
    sget-object p1, Lcom/moji/appwidget/skin/Resolution;->a:[I

    invoke-virtual {v0}, Lcom/moji/appwidget/skin/Resolution;->a()I

    move-result v0

    aget p1, p1, v0

    return p1

    nop

    :sswitch_data_0
    .sparse-switch
        0xd1ed -> :sswitch_3
        0xd1ee -> :sswitch_2
        0xd5ae -> :sswitch_1
        0xd5af -> :sswitch_0
    .end sparse-switch

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method


# virtual methods
.method protected a(Lorg/xmlpull/v1/XmlPullParser;)Lcom/moji/appwidget/skin/SkinInfo$DrawText;
    .locals 5

    .line 80
    new-instance v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;

    invoke-direct {v0}, Lcom/moji/appwidget/skin/SkinInfo$DrawText;-><init>()V

    const-string v1, "TextKey"

    const/4 v2, 0x0

    .line 81
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mPatternText:Ljava/lang/String;

    const-string v1, "Color"

    .line 83
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/16 v3, 0x10

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mColorHex:I

    const-string v1, "Font"

    .line 84
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mFontName:Ljava/lang/String;

    const-string v1, "Direction"

    .line 85
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mDirection:Ljava/lang/String;

    const-string v1, "Align"

    .line 86
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v4, "left"

    .line 87
    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 88
    sget-object v1, Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mAlign:Landroid/graphics/Paint$Align;

    goto :goto_0

    :cond_0
    const-string v4, "center"

    .line 89
    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 90
    sget-object v1, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mAlign:Landroid/graphics/Paint$Align;

    goto :goto_0

    .line 92
    :cond_1
    sget-object v1, Landroid/graphics/Paint$Align;->RIGHT:Landroid/graphics/Paint$Align;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mAlign:Landroid/graphics/Paint$Align;

    :goto_0
    const-string v1, "ShadowBlurSize"

    .line 94
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mShadowBlurSize:I

    const-string v1, "ShadowColor"

    .line 95
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mShadowColor:I

    const-string v1, "ShadowOffsetX"

    .line 96
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mShadowOffsetX:I

    const-string v1, "ShadowOffsetY"

    .line 97
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mShadowOffsetY:I

    const-string v1, "Rotate"

    .line 98
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mRotate:Ljava/lang/String;

    const-string v1, "Size"

    .line 99
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mSize:I

    const-string v1, "UseShadow"

    .line 100
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    const-string v3, "true"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mUseShadow:Z

    const-string v1, "X"

    .line 101
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mX:I

    const-string v1, "Y"

    .line 102
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mY:I

    const-string v1, "ShadowSize"

    .line 103
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mShadowSize:I

    const-string v1, "Type"

    .line 104
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v3, "CT_TIME"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mIsTimeStr:Z

    const-string v1, "Bold"

    .line 105
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 106
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 107
    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mBold:Z

    :cond_2
    const-string v1, "Italic"

    .line 109
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 110
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_3

    .line 111
    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mItalic:Z

    :cond_3
    const-string v1, "Underline"

    .line 113
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 114
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    .line 115
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result p1

    iput-boolean p1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawText;->mUnderline:Z

    :cond_4
    return-object v0
.end method

.method protected a(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Lcom/moji/appwidget/skin/SkinInfo;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/xmlpull/v1/XmlPullParser;",
            "Ljava/lang/String;",
            ")",
            "Lcom/moji/appwidget/skin/SkinInfo<",
            "Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;",
            "Lcom/moji/appwidget/skin/SkinInfo$DrawText;",
            ">;"
        }
    .end annotation

    const-string v0, "Resolution"

    const/4 v1, 0x0

    .line 17
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 18
    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_0

    return-object v1

    .line 21
    :cond_0
    new-instance p2, Lcom/moji/appwidget/skin/SkinInfo;

    invoke-direct {p2}, Lcom/moji/appwidget/skin/SkinInfo;-><init>()V

    .line 22
    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->resolution:Ljava/lang/String;

    const-string v0, "Resolution"

    .line 23
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->resolution:Ljava/lang/String;

    const-string v0, "DefaultMaskAlpha"

    .line 24
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const/16 v2, 0x10

    invoke-static {v0, v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->defaultMaskAlpha:I

    const-string v0, "DefaultMaskColor"

    .line 25
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->defaultMaskColor:I

    const-string v0, "useOrgNumberIcon"

    .line 27
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v2, "true"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->useOrgNumberIcon:Z

    const-string v0, "useOrgBackground"

    .line 28
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v2, "true"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->useOrgBackground:Z

    const-string v0, "useOrgWeahterIcon"

    .line 29
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v2, "true"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->useOrgWeatherIcon:Z

    const-string v0, "UseColorMask"

    .line 30
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v2, "true"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->useColorMask:Z

    const-string v0, "WidgetType"

    .line 31
    invoke-interface {p1, v1, v0}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "4x2"

    .line 32
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 33
    sget-object v0, Lcom/moji/appwidget/core/EWidgetSize;->ST_4x2:Lcom/moji/appwidget/core/EWidgetSize;

    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->skinType:Lcom/moji/appwidget/core/EWidgetSize;

    goto :goto_0

    :cond_1
    const-string v0, "4x1"

    .line 34
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 35
    sget-object v0, Lcom/moji/appwidget/core/EWidgetSize;->ST_4x1:Lcom/moji/appwidget/core/EWidgetSize;

    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->skinType:Lcom/moji/appwidget/core/EWidgetSize;

    goto :goto_0

    :cond_2
    const-string v0, "5x2"

    .line 36
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 37
    sget-object v0, Lcom/moji/appwidget/core/EWidgetSize;->ST_5x2:Lcom/moji/appwidget/core/EWidgetSize;

    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->skinType:Lcom/moji/appwidget/core/EWidgetSize;

    goto :goto_0

    :cond_3
    const-string v0, "5x1"

    .line 38
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 39
    sget-object v0, Lcom/moji/appwidget/core/EWidgetSize;->ST_5x1:Lcom/moji/appwidget/core/EWidgetSize;

    iput-object v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->skinType:Lcom/moji/appwidget/core/EWidgetSize;

    .line 41
    :cond_4
    :goto_0
    invoke-direct {p0, p1}, Lcom/moji/appwidget/skin/SkinEngineOld;->b(Ljava/lang/String;)I

    move-result v0

    iput v0, p2, Lcom/moji/appwidget/skin/SkinInfo;->canvasWidth:I

    .line 42
    invoke-direct {p0, p1}, Lcom/moji/appwidget/skin/SkinEngineOld;->a(Ljava/lang/String;)I

    move-result p1

    iput p1, p2, Lcom/moji/appwidget/skin/SkinInfo;->canvasHeight:I

    return-object p2
.end method

.method protected b(Lorg/xmlpull/v1/XmlPullParser;)Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;
    .locals 4

    .line 122
    new-instance v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;

    invoke-direct {v0}, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;-><init>()V

    const-string v1, "FileName"

    const/4 v2, 0x0

    .line 123
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mPictureName:Ljava/lang/String;

    const-string v1, "Type"

    .line 124
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v3, "CT_LOCATION"

    .line 125
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 126
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->LOCATION:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_0
    const-string v3, "CT_REFRESH"

    .line 127
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 128
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->REFRESH:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1
    const-string v3, "CT_DIV_LINE"

    .line 129
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 130
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->DIV_LINE:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_2
    const-string v3, "CT_CUSTOM"

    .line 131
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 132
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->CUSTOM:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_3
    const-string v3, "CT_TIME_HOUR_TENS"

    .line 133
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    .line 134
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->HOUR_TENS:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_4
    const-string v3, "CT_TIME_HOUR_UNITS"

    .line 135
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_5

    .line 136
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->HOUR_UNITS:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_5
    const-string v3, "CT_TIME_MINUTE_TENS"

    .line 137
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_6

    .line 138
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->MINUTE_TENS:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_6
    const-string v3, "CT_TIME_MINUTE_UNITS"

    .line 139
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_7

    .line 140
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->MINUTE_UNITS:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_7
    const-string v3, "CT_TIME_COLON"

    .line 141
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_8

    .line 142
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->COLON:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_8
    const-string v3, "CT_TIME_COLON_AUTO"

    .line 143
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_9

    .line 144
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->COLON_AUTO:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_9
    const-string v3, "CT_TIME_AMPM"

    .line 145
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_a

    .line 146
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->AMPM:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_a
    const-string v3, "CT_BACKGROUND"

    .line 147
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_b

    .line 148
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->BACKGROUND:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_b
    const-string v3, "CT_BACKGROUND_MASK"

    .line 149
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_c

    .line 150
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->BACKGROUND_MASK:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_c
    const-string v3, "CT_WEATHER_ICON_CURRENT"

    .line 151
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_d

    .line 152
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_CURRENT:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_d
    const-string v3, "CT_WEATHER_ICON_FORECAST_00_12"

    .line 153
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_e

    .line 154
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_00_12:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_e
    const-string v3, "CT_WEATHER_ICON_FORECAST_12_24"

    .line 155
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_f

    .line 156
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_12_24:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_f
    const-string v3, "CT_WEATHER_ICON_FORECAST_DAY_1"

    .line 157
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_10

    .line 158
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_DAY_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_10
    const-string v3, "CT_WEATHER_ICON_FORECAST_DAY_2"

    .line 159
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_11

    .line 160
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_DAY_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_11
    const-string v3, "CT_WEATHER_ICON_FORECAST_DAY_3"

    .line 161
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_12

    .line 162
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_DAY_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_12
    const-string v3, "CT_WEATHER_ICON_FORECAST_DAY_4"

    .line 163
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_13

    .line 164
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_DAY_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_13
    const-string v3, "CT_WEATHER_ICON_FORECAST_DAY_5"

    .line 165
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_14

    .line 166
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_DAY_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_14
    const-string v3, "CT_WEATHER_ICON_FORECAST_NIGHT_1"

    .line 167
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_15

    .line 168
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_NIGHT_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_15
    const-string v3, "CT_WEATHER_ICON_FORECAST_NIGHT_2"

    .line 169
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_16

    .line 170
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_NIGHT_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_16
    const-string v3, "CT_WEATHER_ICON_FORECAST_NIGHT_3"

    .line 171
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_17

    .line 172
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_NIGHT_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_17
    const-string v3, "CT_WEATHER_ICON_FORECAST_NIGHT_4"

    .line 173
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_18

    .line 174
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_NIGHT_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_18
    const-string v3, "CT_WEATHER_ICON_FORECAST_NIGHT_5"

    .line 175
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_19

    .line 176
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON_FORECAST_NIGHT_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_19
    const-string v3, "CT_WEATHER_ICON1_CURRENT"

    .line 177
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1a

    .line 178
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_CURRENT:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1a
    const-string v3, "CT_WEATHER_ICON1_FORECAST_00_12"

    .line 179
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1b

    .line 180
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_00_12:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1b
    const-string v3, "CT_WEATHER_ICON1_FORECAST_12_24"

    .line 181
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1c

    .line 182
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_12_24:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1c
    const-string v3, "CT_WEATHER_ICON1_FORECAST_DAY_1"

    .line 183
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1d

    .line 184
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_DAY_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1d
    const-string v3, "CT_WEATHER_ICON1_FORECAST_DAY_2"

    .line 185
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1e

    .line 186
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_DAY_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1e
    const-string v3, "CT_WEATHER_ICON1_FORECAST_DAY_3"

    .line 187
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1f

    .line 188
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_DAY_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_1f
    const-string v3, "CT_WEATHER_ICON1_FORECAST_DAY_4"

    .line 189
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_20

    .line 190
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_DAY_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_20
    const-string v3, "CT_WEATHER_ICON1_FORECAST_DAY_5"

    .line 191
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_21

    .line 192
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_DAY_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_21
    const-string v3, "CT_WEATHER_ICON1_FORECAST_NIGHT_1"

    .line 193
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_22

    .line 194
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_NIGHT_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_22
    const-string v3, "CT_WEATHER_ICON1_FORECAST_NIGHT_2"

    .line 195
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_23

    .line 196
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_NIGHT_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_23
    const-string v3, "CT_WEATHER_ICON1_FORECAST_NIGHT_3"

    .line 197
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_24

    .line 198
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_NIGHT_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_24
    const-string v3, "CT_WEATHER_ICON1_FORECAST_NIGHT_4"

    .line 199
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_25

    .line 200
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_NIGHT_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_25
    const-string v3, "CT_WEATHER_ICON1_FORECAST_NIGHT_5"

    .line 201
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_26

    .line 202
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON1_FORECAST_NIGHT_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_26
    const-string v3, "CT_WEATHER_ICON2_CURRENT"

    .line 203
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_27

    .line 204
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_CURRENT:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_27
    const-string v3, "CT_WEATHER_ICON2_FORECAST_00_12"

    .line 205
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_28

    .line 206
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_00_12:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_28
    const-string v3, "CT_WEATHER_ICON2_FORECAST_12_24"

    .line 207
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_29

    .line 208
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_12_24:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_29
    const-string v3, "CT_WEATHER_ICON2_FORECAST_DAY_1"

    .line 209
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2a

    .line 210
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_DAY_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_2a
    const-string v3, "CT_WEATHER_ICON2_FORECAST_DAY_2"

    .line 211
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2b

    .line 212
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_DAY_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto/16 :goto_0

    :cond_2b
    const-string v3, "CT_WEATHER_ICON2_FORECAST_DAY_3"

    .line 213
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2c

    .line 214
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_DAY_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_2c
    const-string v3, "CT_WEATHER_ICON2_FORECAST_DAY_4"

    .line 215
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2d

    .line 216
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_DAY_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_2d
    const-string v3, "CT_WEATHER_ICON2_FORECAST_DAY_5"

    .line 217
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2e

    .line 218
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_DAY_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_2e
    const-string v3, "CT_WEATHER_ICON2_FORECAST_NIGHT_1"

    .line 219
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2f

    .line 220
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_NIGHT_1:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_2f
    const-string v3, "CT_WEATHER_ICON2_FORECAST_NIGHT_2"

    .line 221
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_30

    .line 222
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_NIGHT_2:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_30
    const-string v3, "CT_WEATHER_ICON2_FORECAST_NIGHT_3"

    .line 223
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_31

    .line 224
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_NIGHT_3:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_31
    const-string v3, "CT_WEATHER_ICON2_FORECAST_NIGHT_4"

    .line 225
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_32

    .line 226
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_NIGHT_4:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    goto :goto_0

    :cond_32
    const-string v3, "CT_WEATHER_ICON2_FORECAST_NIGHT_5"

    .line 227
    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_33

    .line 228
    sget-object v1, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;->ICON2_FORECAST_NIGHT_5:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    iput-object v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mDrawType:Lcom/moji/appwidget/skin/SkinInfo$DrawPicture$DrawPictureType;

    :cond_33
    :goto_0
    const-string v1, "Height"

    .line 231
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mHeight:I

    const-string v1, "Width"

    .line 232
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mWidth:I

    const-string v1, "X"

    .line 233
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mX:I

    const-string v1, "Y"

    .line 234
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mY:I

    const-string v1, "NeedScale"

    .line 235
    invoke-interface {p1, v2, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result p1

    iput-boolean p1, v0, Lcom/moji/appwidget/skin/SkinInfo$DrawPicture;->mNeedScale:Z

    return-object v0
.end method
