.class Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;
.super Ljava/lang/Object;
.source "AdSplashRequestCallback.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/splash/network/AdSplashRequestCallback;->a(Landroid/content/Context;Lcom/moji/mjad/splash/data/AdMojiSplash;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjad/splash/data/AdMojiSplash;

.field final synthetic b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;


# direct methods
.method constructor <init>(Lcom/moji/mjad/splash/network/AdSplashRequestCallback;Lcom/moji/mjad/splash/data/AdMojiSplash;)V
    .locals 0

    .line 407
    iput-object p1, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;

    iput-object p2, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    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

    if-eqz p2, :cond_1

    const-string p1, "LoadGDTAd"

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

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

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

    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 413
    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 412
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    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

    .line 434
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    if-eqz v0, :cond_0

    .line 435
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SMALL_SPLASH_GET_STAT:Lcom/moji/statistics/EVENT_TAG;

    const-string v2, "success"

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 437
    :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/splash/network/AdSplashRequestCallback$3;->b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;

    iget-object v1, v1, Lcom/moji/mjad/splash/network/AdSplashRequestCallback;->e:Ljava/lang/String;

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

    move-result-wide v2

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

    if-eqz p1, :cond_1

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

    move-result v0

    if-lez v0, :cond_1

    const/4 v0, 0x0

    .line 439
    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_1

    .line 440
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    if-eqz v0, :cond_1

    const-string v0, "LoadGDTAd"

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

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

    .line 442
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    iput-object p1, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->tencentAd:Lcom/qq/e/ads/nativ/NativeADDataRef;

    .line 443
    new-instance v0, Lcom/moji/mjad/base/data/AdImageInfo;

    invoke-direct {v0}, Lcom/moji/mjad/base/data/AdImageInfo;-><init>()V

    .line 444
    invoke-interface {p1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->getImgUrl()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/mjad/base/data/AdImageInfo;->imageUrl:Ljava/lang/String;

    .line 445
    iget-object v1, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v1, v1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    iput-object v0, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->imageInfo:Lcom/moji/mjad/base/data/AdImageInfo;

    .line 446
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    invoke-interface {p1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->isAPP()Z

    move-result v1

    iput v1, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->pageType:I

    .line 447
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    invoke-interface {p1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->getDesc()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->desc:Ljava/lang/String;

    .line 448
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    invoke-interface {p1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->getAPPScore()I

    move-result v1

    iput v1, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->appStar:I

    .line 449
    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    iget-object v0, v0, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;

    invoke-interface {p1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->getAPPPrice()D

    move-result-wide v1

    iput-wide v1, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->appPrice:D

    .line 452
    :cond_1
    iget-object p1, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;

    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1, v0}, Lcom/moji/mjad/splash/network/AdSplashRequestCallback;->a(Ljava/lang/Object;)V

    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

    if-eqz p1, :cond_1

    .line 420
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SMALL_SPLASH_GET_STAT:Lcom/moji/statistics/EVENT_TAG;

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

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

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

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;

    iget-object v1, v1, Lcom/moji/mjad/splash/network/AdSplashRequestCallback;->e:Ljava/lang/String;

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

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

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

    const-string v0, "LoadGDTAd"

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

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

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

    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 423
    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 422
    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 424
    iget-object p1, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->b:Lcom/moji/mjad/splash/network/AdSplashRequestCallback;

    iget-object v0, p0, Lcom/moji/mjad/splash/network/AdSplashRequestCallback$3;->a:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1, v0}, Lcom/moji/mjad/splash/network/AdSplashRequestCallback;->a(Ljava/lang/Object;)V

    :cond_1
    return-void
.end method
