.class public Lcom/moji/mjweather/aqi/AqiKnowDialog;
.super Landroid/app/Dialog;
.source "AqiKnowDialog.java"


# instance fields
.field private a:Lcom/moji/mjweather/aqi/widget/AqiWarnView;

.field private b:Landroid/text/SpannableString;

.field private c:F

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:[I

.field private g:Ljava/lang/String;

.field private h:I

.field private i:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 35
    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/aqi/AqiKnowDialog;-><init>(Landroid/content/Context;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;I)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # I
        .annotation build Landroid/support/annotation/StyleRes;
        .end annotation
    .end param

    const p2, 0x7f0f002a

    .line 39
    invoke-direct {p0, p1, p2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    return-void
.end method


# virtual methods
.method public a(ILcom/moji/http/weather/entity/AqiBean;)V
    .locals 2
    .param p1    # I
        .annotation build Landroid/support/annotation/IdRes;
        .end annotation
    .end param

    if-nez p2, :cond_0

    return-void

    :cond_0
    const-string v0, ""

    .line 90
    iput-object v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    const-string v0, ""

    .line 91
    iput-object v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    const v0, 0x7f09007d

    const/4 v1, 0x7

    if-eq p1, v0, :cond_2

    const v0, 0x7f09008c

    if-eq p1, v0, :cond_1

    packed-switch p1, :pswitch_data_0

    goto/16 :goto_0

    .line 94
    :pswitch_0
    sget-object p1, Lcom/moji/mjweather/aqi/control/AQIParamViewControl;->a:Ljava/util/Map;

    const-string v0, "PM25"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/text/SpannableString;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 95
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm25_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 96
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm25_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 97
    new-array p1, v1, [I

    fill-array-data p1, :array_0

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 98
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm25_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 99
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm25_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 100
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm25:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 101
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "1"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto/16 :goto_0

    .line 104
    :pswitch_1
    sget-object p1, Lcom/moji/mjweather/aqi/control/AQIParamViewControl;->a:Ljava/util/Map;

    const-string v0, "PM10"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/text/SpannableString;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 105
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm10_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 106
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm10_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 107
    new-array p1, v1, [I

    fill-array-data p1, :array_1

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 108
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm10_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 109
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm10:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 110
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->pm10_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 111
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "2"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto/16 :goto_0

    .line 134
    :pswitch_2
    sget-object p1, Lcom/moji/mjweather/aqi/control/AQIParamViewControl;->a:Ljava/util/Map;

    const-string v0, "O3"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/text/SpannableString;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 135
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->o3_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 136
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->o3_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 137
    new-array p1, v1, [I

    fill-array-data p1, :array_2

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 138
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->o3_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 139
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->o3:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 140
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->o3_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 141
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "5"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto/16 :goto_0

    .line 124
    :pswitch_3
    sget-object p1, Lcom/moji/mjweather/aqi/control/AQIParamViewControl;->a:Ljava/util/Map;

    const-string v0, "NO2"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/text/SpannableString;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 125
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->no2_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 126
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->no2_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 127
    new-array p1, v1, [I

    fill-array-data p1, :array_3

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 128
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->no2_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 129
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->no2_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 130
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->no2:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 131
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "4"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto :goto_0

    .line 114
    :cond_1
    sget-object p1, Lcom/moji/mjweather/aqi/control/AQIParamViewControl;->a:Ljava/util/Map;

    const-string v0, "SO2"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/text/SpannableString;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 115
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->so2_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 116
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->so2_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 117
    new-array p1, v1, [I

    fill-array-data p1, :array_4

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 118
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->so2_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 119
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->so2_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 120
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->so2:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 121
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "3"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto :goto_0

    .line 144
    :cond_2
    new-instance p1, Landroid/text/SpannableString;

    const-string v0, "CO"

    invoke-direct {p1, v0}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    .line 145
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->co_value:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    .line 146
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->co_desc:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    .line 147
    new-array p1, v1, [I

    fill-array-data p1, :array_5

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    .line 148
    iget-object p1, p2, Lcom/moji/http/weather/entity/AqiBean;->co_level:Ljava/lang/String;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    .line 149
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->co_colour:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    .line 150
    iget p1, p2, Lcom/moji/http/weather/entity/AqiBean;->co:I

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->h:I

    .line 151
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->AQI_BRANCH_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "6"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 156
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

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

    move-result p1

    if-eqz p1, :cond_3

    const-string p1, "\u6682\u65e0"

    goto :goto_1

    :cond_3
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

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

    move-result p1

    const/4 p2, 0x2

    if-le p1, p2, :cond_4

    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-virtual {p1, v0, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    goto :goto_1

    :cond_4
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    :goto_1
    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    return-void

    nop

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

    :array_0
    .array-data 4
        -0x1
        0x23
        0x4b
        0x73
        0x96
        0xfa
        0x1f4
    .end array-data

    :array_1
    .array-data 4
        -0x1
        0x32
        0x96
        0xfa
        0x15e
        0x1a4
        0x258
    .end array-data

    :array_2
    .array-data 4
        -0x1
        0xa0
        0xc8
        0x12c
        0x190
        0x320
        0x4b0
    .end array-data

    :array_3
    .array-data 4
        -0x1
        0x64
        0xc8
        0x2bc
        0x4b0
        0x924
        0xf00
    .end array-data

    :array_4
    .array-data 4
        -0x1
        0x96
        0x1f4
        0x28a
        0x320
        0x640
        0xa3c
    .end array-data

    :array_5
    .array-data 4
        -0x1
        0x5
        0xa
        0x23
        0x3c
        0x5a
        0x96
    .end array-data
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5

    .line 45
    invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V

    const p1, 0x7f0b00ba

    .line 46
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->setContentView(I)V

    const p1, 0x7f090168

    .line 48
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const v0, 0x7f0901ec

    .line 49
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 50
    iget-object v1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

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

    move-result v1

    const v2, 0x7f0e00e2

    const/16 v3, 0x8

    const/4 v4, 0x0

    if-eqz v1, :cond_0

    .line 51
    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    .line 52
    invoke-virtual {p1, v3}, Landroid/view/View;->setVisibility(I)V

    const p1, 0x7f0901f1

    .line 53
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    .line 54
    invoke-static {v2}, Lcom/moji/base/AqiValueProvider;->b(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    .line 56
    :cond_0
    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    .line 57
    invoke-virtual {p1, v4}, Landroid/view/View;->setVisibility(I)V

    const p1, 0x7f09007f

    .line 59
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    const v0, 0x7f0e0a2d

    .line 60
    invoke-static {v0}, Lcom/moji/base/AqiValueProvider;->b(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 61
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->g:Ljava/lang/String;

    invoke-static {p1}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result p1

    iput p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->c:F

    const p1, 0x7f090089

    .line 62
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/aqi/widget/AqiWarnView;

    iput-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->a:Lcom/moji/mjweather/aqi/widget/AqiWarnView;

    const p1, 0x7f090cc9

    .line 63
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->b:Landroid/text/SpannableString;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const p1, 0x7f0901ae

    .line 64
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    .line 66
    invoke-static {}, Lcom/moji/base/AqiValueProvider;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 68
    invoke-virtual {p1, v3}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    .line 70
    :cond_1
    invoke-virtual {p1, v4}, Landroid/widget/TextView;->setVisibility(I)V

    .line 71
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 72
    invoke-static {v2}, Lcom/moji/base/AqiValueProvider;->b(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 74
    :cond_2
    iget-object v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->d:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 77
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->a:Lcom/moji/mjweather/aqi/widget/AqiWarnView;

    iget v0, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->c:F

    iget-object v1, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->f:[I

    iget-object v2, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->e:Ljava/lang/String;

    iget v3, p0, Lcom/moji/mjweather/aqi/AqiKnowDialog;->i:I

    invoke-virtual {p1, v0, v1, v2, v3}, Lcom/moji/mjweather/aqi/widget/AqiWarnView;->a(F[ILjava/lang/String;I)V

    :goto_1
    const p1, 0x7f09014e

    .line 79
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/AqiKnowDialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    new-instance v0, Lcom/moji/mjweather/aqi/AqiKnowDialog$1;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/aqi/AqiKnowDialog$1;-><init>(Lcom/moji/mjweather/aqi/AqiKnowDialog;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method
