.class Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;
.super Ljava/lang/Object;
.source "BaseDownloadWeatherAvatarTask.java"

# interfaces
.implements Lcom/moji/mjweather/assshop/task/AvatarDownloadTask$OnDownLoadListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->d()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;)V
    .locals 0

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

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 99
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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 100
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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

.method public a(F)V
    .locals 1

    .line 94
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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, p1}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(F)V

    return-void
.end method

.method public a(Z)V
    .locals 3

    if-eqz p1, :cond_1

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

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

    const/high16 v0, 0x447a0000    # 1000.0f

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

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

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

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

    const/4 v0, 0x2

    if-eq p1, v0, :cond_0

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

    invoke-virtual {p1}, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask;->e()V

    goto :goto_0

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

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

    const/4 v0, 0x1

    iget-object v1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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$1;->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 {p1, v0, v1, v2}, Lcom/moji/mjweather/assshop/weather/listener/WeatherDownloadListener;->a(ZLjava/lang/String;I)V

    .line 111
    new-instance p1, Lcom/moji/mjweather/assshop/db/AvatarDBManager;

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

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

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

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

    goto :goto_0

    .line 115
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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 116
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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

    .line 117
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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;

    iget-object v1, p0, Lcom/moji/mjweather/assshop/weather/task/BaseDownloadWeatherAvatarTask$1;->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$1;->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

    :goto_0
    return-void
.end method
