.class Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;
.super Lcom/moji/mjad/base/view/LoadGifTask;
.source "AdStyleFeedThreeCreater.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->a(Landroid/widget/ImageView;Lcom/moji/mjad/base/data/AdImageInfo;Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/widget/ImageView;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Ljava/lang/String;

.field final synthetic d:Lcom/moji/mjad/common/data/AdCommon;

.field final synthetic e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;


# direct methods
.method constructor <init>(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Ljava/lang/String;JLandroid/widget/ImageView;Ljava/lang/String;Ljava/lang/String;Lcom/moji/mjad/common/data/AdCommon;)V
    .locals 0

    .line 94
    iput-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    iput-object p5, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    iput-object p6, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->b:Ljava/lang/String;

    iput-object p7, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->c:Ljava/lang/String;

    iput-object p8, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    invoke-direct {p0, p2, p3, p4}, Lcom/moji/mjad/base/view/LoadGifTask;-><init>(Ljava/lang/String;J)V

    return-void
.end method


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

    .line 94
    check-cast p1, Lpl/droidsonroids/gif/GifDrawable;

    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a(Lpl/droidsonroids/gif/GifDrawable;)V

    return-void
.end method

.method protected a(Lpl/droidsonroids/gif/GifDrawable;)V
    .locals 4

    .line 97
    invoke-super {p0, p1}, Lcom/moji/mjad/base/view/LoadGifTask;->a(Ljava/lang/Object;)V

    .line 98
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    const/4 v1, 0x1

    if-eqz v0, :cond_2

    .line 99
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    iget-object v2, v2, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->g:Landroid/widget/ImageView;

    if-ne v0, v2, :cond_0

    .line 100
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->a(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Z)Z

    goto :goto_0

    .line 101
    :cond_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    iget-object v2, v2, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->C:Landroid/widget/ImageView;

    if-ne v0, v2, :cond_1

    .line 102
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->b(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Z)Z

    goto :goto_0

    .line 103
    :cond_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    iget-object v2, v2, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->D:Landroid/widget/ImageView;

    if-ne v0, v2, :cond_2

    .line 104
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->c(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Z)Z

    :cond_2
    :goto_0
    if-nez p1, :cond_4

    .line 108
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->d(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Z)Z

    .line 109
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {p1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->a(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Lcom/moji/mjad/common/listener/AdViewShownListener;

    move-result-object p1

    if-eqz p1, :cond_3

    .line 110
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {p1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->b(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Lcom/moji/mjad/common/listener/AdViewShownListener;

    move-result-object p1

    sget-object v0, Lcom/moji/mjad/enumdata/MojiAdGoneType;->GONE_WITH_NORMAL:Lcom/moji/mjad/enumdata/MojiAdGoneType;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->b:Ljava/lang/String;

    invoke-interface {p1, v0, v1}, Lcom/moji/mjad/common/listener/AdViewShownListener;->onAdViewGone(Lcom/moji/mjad/enumdata/MojiAdGoneType;Ljava/lang/String;)V

    .line 112
    :cond_3
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    if-eqz p1, :cond_6

    .line 113
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    const-string v0, ""

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_1

    .line 116
    :cond_4
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->c(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->d(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->e(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 117
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->d(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;Z)Z

    .line 140
    :cond_5
    invoke-virtual {p1}, Lpl/droidsonroids/gif/GifDrawable;->start()V

    .line 141
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    if-eqz v0, :cond_6

    .line 142
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 143
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->a:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->c:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 147
    :cond_6
    :goto_1
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz p1, :cond_a

    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object p1, p1, Lcom/moji/mjad/common/data/AdCommon;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    if-eqz p1, :cond_a

    .line 148
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object p1, p1, Lcom/moji/mjad/common/data/AdCommon;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    sget-object v0, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_THIRD_SDK_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    if-ne p1, v0, :cond_8

    .line 149
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {p1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->f(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Z

    move-result p1

    if-eqz p1, :cond_7

    .line 150
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->sessionId:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v1, v1, Lcom/moji/mjad/common/data/AdCommon;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    iget v1, v1, Lcom/moji/mjad/enumdata/MojiAdPosition;->value:I

    .line 151
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 150
    invoke-virtual {p1, v0, v1, v2, v3}, Lcom/moji/mjad/statistics/AdStatistics;->i(Ljava/lang/String;IJ)V

    goto :goto_2

    .line 153
    :cond_7
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->sessionId:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v1, v1, Lcom/moji/mjad/common/data/AdCommon;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    iget v1, v1, Lcom/moji/mjad/enumdata/MojiAdPosition;->value:I

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->h(Ljava/lang/String;I)V

    goto :goto_2

    .line 156
    :cond_8
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object p1, p1, Lcom/moji/mjad/common/data/AdCommon;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    sget-object v0, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_SELF_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    if-ne p1, v0, :cond_a

    .line 157
    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->e:Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;

    invoke-static {p1}, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;->f(Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater;)Z

    move-result p1

    if-eqz p1, :cond_9

    .line 158
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->sessionId:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v1, v1, Lcom/moji/mjad/common/data/AdCommon;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    iget v1, v1, Lcom/moji/mjad/enumdata/MojiAdPosition;->value:I

    .line 159
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 158
    invoke-virtual {p1, v0, v1, v2, v3}, Lcom/moji/mjad/statistics/AdStatistics;->e(Ljava/lang/String;IJ)V

    goto :goto_2

    .line 161
    :cond_9
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->sessionId:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/feed/AdStyleFeedThreeCreater$1;->d:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v1, v1, Lcom/moji/mjad/common/data/AdCommon;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    iget v1, v1, Lcom/moji/mjad/enumdata/MojiAdPosition;->value:I

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->c(Ljava/lang/String;I)V

    :cond_a
    :goto_2
    return-void
.end method
