.class Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;
.super Ljava/lang/Object;
.source "AbsAdIconViewCreater.java"

# interfaces
.implements Lcom/squareup/picasso/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->b(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:Lcom/moji/mjad/common/data/AdCommon;

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

.field final synthetic c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;


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

    .line 172
    iput-object p1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iput-object p2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    iput-object p3, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->b:Ljava/lang/String;

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

    return-void
.end method


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

    .line 192
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    sget-object v1, Lcom/moji/mjad/enumdata/MojiAdPosition;->POS_SHARE_ENTRANCE:Lcom/moji/mjad/enumdata/MojiAdPosition;

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_1

    .line 193
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

    if-ne v0, v1, :cond_0

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

    goto :goto_0

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

    .line 198
    :goto_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    invoke-interface {v0, v1}, Lcom/moji/mjad/common/listener/AdViewShownListener;->onAdViewVisible(Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;)V

    goto :goto_2

    .line 200
    :cond_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    if-eqz v0, :cond_3

    .line 201
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

    if-ne v0, v1, :cond_2

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    goto :goto_1

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    .line 209
    :cond_3
    :goto_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_4

    .line 210
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    sget-object v1, Lcom/moji/mjad/enumdata/MojiAdGoneType;->GONE_WITH_NET_ERROR:Lcom/moji/mjad/enumdata/MojiAdGoneType;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->b:Ljava/lang/String;

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

    :cond_4
    :goto_2
    return-void
.end method

.method public b()V
    .locals 5

    .line 175
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    if-eqz v0, :cond_1

    .line 176
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

    if-ne v0, v1, :cond_0

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

    goto :goto_0

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

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

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

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

    move-result-wide v3

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

    .line 182
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_2

    .line 183
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->B:Lcom/moji/mjad/common/listener/AdViewShownListener;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    invoke-interface {v0, v1}, Lcom/moji/mjad/common/listener/AdViewShownListener;->onAdViewVisible(Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;)V

    .line 185
    :cond_2
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->iconInfo:Lcom/moji/mjad/base/data/AdIconInfo;

    if-eqz v0, :cond_3

    .line 186
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->c:Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater;->b:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/AbsAdIconViewCreater$2;->a:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v1, v1, Lcom/moji/mjad/common/data/AdCommon;->iconInfo:Lcom/moji/mjad/base/data/AdIconInfo;

    iget-object v1, v1, Lcom/moji/mjad/base/data/AdIconInfo;->iconUrl:Ljava/lang/String;

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

    :cond_3
    return-void
.end method
