.class Lcom/moji/mjad/third/LoadGDTAd$1;
.super Ljava/lang/Object;
.source "LoadGDTAd.java"

# interfaces
.implements Lcom/qq/e/ads/nativ/NativeAD$NativeAdListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/third/LoadGDTAd;->a(Landroid/content/Context;Ljava/lang/String;ZLcom/moji/mjad/common/data/AdCommon;Ljava/util/List;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)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/network/AdCommonRequestCallBack;

.field final synthetic d:Ljava/util/List;

.field final synthetic e:Lcom/moji/mjad/third/LoadGDTAd;


# direct methods
.method constructor <init>(Lcom/moji/mjad/third/LoadGDTAd;Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;Lcom/moji/mjad/common/network/AdCommonRequestCallBack;Ljava/util/List;)V
    .locals 0

    .line 87
    iput-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->e:Lcom/moji/mjad/third/LoadGDTAd;

    iput-object p2, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    iput-object p3, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    iput-object p4, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    iput-object p5, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->d:Ljava/util/List;

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

    return-void
.end method


# virtual methods
.method public onADError(Lcom/qq/e/ads/nativ/NativeADDataRef;Lcom/qq/e/comm/util/AdError;)V
    .locals 2

    const-string p1, "LoadGDTAd"

    .line 91
    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "LoadGDTAd---onADError: code --"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Lcom/qq/e/comm/util/AdError;->getErrorCode()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, " msg-- "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 92
    invoke-virtual {p2}, Lcom/qq/e/comm/util/AdError;->getErrorMsg()Ljava/lang/String;

    move-result-object v1

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

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p2}, Lcom/qq/e/comm/util/AdError;->getErrorMsg()Ljava/lang/String;

    move-result-object p2

    goto :goto_0

    :cond_0
    const-string p2, ""

    :goto_0
    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    .line 91
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onADLoaded(Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/qq/e/ads/nativ/NativeADDataRef;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_4

    .line 113
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_4

    .line 114
    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 115
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/qq/e/ads/nativ/NativeADDataRef;

    if-eqz p1, :cond_0

    .line 117
    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->e:Lcom/moji/mjad/third/LoadGDTAd;

    iget-object v2, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    invoke-static {v1, p1, v2, v0}, Lcom/moji/mjad/third/LoadGDTAd;->a(Lcom/moji/mjad/third/LoadGDTAd;Lcom/qq/e/ads/nativ/NativeADDataRef;Lcom/moji/mjad/common/data/AdCommon;Z)Z

    .line 120
    :cond_0
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz p1, :cond_2

    const-string p1, "LoadGDTAd"

    .line 121
    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "LoadGDTAd---onADLoaded:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 122
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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_1

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

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

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

    .line 125
    :cond_1
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    if-eqz p1, :cond_6

    .line 126
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->d:Ljava/util/List;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Ljava/lang/Object;Ljava/lang/String;)V

    goto :goto_0

    .line 129
    :cond_2
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz p1, :cond_3

    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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_3

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

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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;->g(Ljava/lang/String;I)V

    .line 132
    :cond_3
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    if-eqz p1, :cond_6

    .line 133
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    sget-object v0, Lcom/moji/mjad/enumdata/ERROR_CODE;->NODATA:Lcom/moji/mjad/enumdata/ERROR_CODE;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Lcom/moji/mjad/enumdata/ERROR_CODE;Ljava/lang/String;)V

    goto :goto_0

    .line 137
    :cond_4
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz p1, :cond_5

    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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_5

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

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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;->g(Ljava/lang/String;I)V

    .line 140
    :cond_5
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    if-eqz p1, :cond_6

    .line 141
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    sget-object v0, Lcom/moji/mjad/enumdata/ERROR_CODE;->NODATA:Lcom/moji/mjad/enumdata/ERROR_CODE;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Lcom/moji/mjad/enumdata/ERROR_CODE;Ljava/lang/String;)V

    :cond_6
    :goto_0
    return-void
.end method

.method public onADStatusChanged(Lcom/qq/e/ads/nativ/NativeADDataRef;)V
    .locals 0

    return-void
.end method

.method public onNoAD(Lcom/qq/e/comm/util/AdError;)V
    .locals 3

    const-string v0, "LoadGDTAd"

    .line 97
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "LoadGDTAd---onNoAD: code --"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/qq/e/comm/util/AdError;->getErrorCode()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, " msg-- "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 98
    invoke-virtual {p1}, Lcom/qq/e/comm/util/AdError;->getErrorMsg()Ljava/lang/String;

    move-result-object v2

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

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {p1}, Lcom/qq/e/comm/util/AdError;->getErrorMsg()Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_0
    const-string p1, ""

    :goto_0
    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 97
    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 99
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz p1, :cond_1

    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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_1

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

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->a: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;->g(Ljava/lang/String;I)V

    .line 102
    :cond_1
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    if-eqz p1, :cond_2

    .line 103
    iget-object p1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->c:Lcom/moji/mjad/common/network/AdCommonRequestCallBack;

    sget-object v0, Lcom/moji/mjad/enumdata/ERROR_CODE;->NODATA:Lcom/moji/mjad/enumdata/ERROR_CODE;

    iget-object v1, p0, Lcom/moji/mjad/third/LoadGDTAd$1;->b:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lcom/moji/mjad/common/network/AdCommonRequestCallBack;->a(Lcom/moji/mjad/enumdata/ERROR_CODE;Ljava/lang/String;)V

    :cond_2
    return-void
.end method
