.class Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;
.super Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;
.source "BaseDownloadWeatherAvatarTask.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->e()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 138
    iput-object p1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    invoke-direct {p0, p2, p3, p4}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method protected varargs a([Ljava/lang/String;)Ljava/lang/Boolean;
    .locals 2

    .line 148
    invoke-super {p0, p1}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a([Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 150
    new-instance v0, Lcom/moji/mjweather/assshop/db/AvatarDBManager;

    invoke-direct {v0}, Lcom/moji/mjweather/assshop/db/AvatarDBManager;-><init>()V

    .line 151
    iget-object v1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v1, v1, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->d:Lcom/moji/mjad/avatar/data/AvatarInfo;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/assshop/db/AvatarDBManager;->a(Lcom/moji/mjad/avatar/data/AvatarInfo;)V

    .line 153
    :cond_0
    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    return-object p1
.end method

.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0

    .line 138
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a([Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    return-object p1
.end method

.method protected a(Ljava/lang/Boolean;)V
    .locals 3

    .line 165
    invoke-super {p0, p1}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a(Ljava/lang/Object;)V

    .line 166
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 167
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->a:Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;

    const/high16 v1, 0x44fa0000    # 2000.0f

    invoke-interface {v0, v1}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(F)V

    goto :goto_0

    .line 169
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->a:Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(F)V

    .line 171
    :goto_0
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->a:Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    iget-object v1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v1, v1, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->d:Lcom/moji/mjad/avatar/data/AvatarInfo;

    iget-object v1, v1, Lcom/moji/mjad/avatar/data/AvatarInfo;->prefix:Ljava/lang/String;

    iget-object v2, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v2, v2, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->d:Lcom/moji/mjad/avatar/data/AvatarInfo;

    iget v2, v2, Lcom/moji/mjad/avatar/data/AvatarInfo;->id:I

    invoke-interface {v0, p1, v1, v2}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(ZLjava/lang/String;I)V

    .line 172
    iget-object p1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    const/4 v0, 0x0

    iput-boolean v0, p1, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->f:Z

    return-void
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0

    .line 138
    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a(Ljava/lang/Boolean;)V

    return-void
.end method

.method protected varargs a([Ljava/lang/Integer;)V
    .locals 2

    .line 141
    invoke-super {p0, p1}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->b([Ljava/lang/Object;)V

    .line 143
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->a:Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;

    const/4 v1, 0x0

    aget-object p1, p1, v1

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    mul-int/lit8 p1, p1, 0xa

    add-int/lit16 p1, p1, 0x3e8

    int-to-float p1, p1

    invoke-interface {v0, p1}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(F)V

    return-void
.end method

.method protected synthetic b([Ljava/lang/Object;)V
    .locals 0

    .line 138
    check-cast p1, [Ljava/lang/Integer;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a([Ljava/lang/Integer;)V

    return-void
.end method

.method protected k_()V
    .locals 2

    .line 158
    invoke-super {p0}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->k_()V

    .line 159
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->a:Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;

    invoke-interface {v0}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a()V

    .line 160
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$2;->a:Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->f:Z

    return-void
.end method
