.class Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;
.super Ljava/lang/Object;
.source "AbsAdGDTVideoCreater.java"

# interfaces
.implements Lcom/qq/e/ads/nativ/MediaListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->a(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/style/AbsAdGDTVideoCreater;


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

    .line 51
    iput-object p1, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

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

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

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

    return-void
.end method


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

    const-string v0, "zdxgdtvideo"

    const-string v1, " onADButtonClicked   "

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

    return-void
.end method

.method public onFullScreenChanged(Z)V
    .locals 3

    const-string v0, "zdxgdtvideo"

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

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

    const-string v2, " onFullScreenChanged   -- "

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

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

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

    move-result-object p1

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

    return-void
.end method

.method public onReplayButtonClicked()V
    .locals 2

    const-string v0, "zdxgdtvideo"

    const-string v1, " onReplayButtonClicked"

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

    return-void
.end method

.method public onVideoComplete()V
    .locals 2

    const-string v0, "zdxgdtvideo"

    const-string v1, " onVideoComplete"

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

    return-void
.end method

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

    .line 80
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->a(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/data/AdCommon;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->b(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/data/AdCommon;

    move-result-object v0

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->gdtMediaAd:Lcom/qq/e/ads/nativ/NativeMediaADData;

    if-eqz v0, :cond_0

    .line 81
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->c(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/data/AdCommon;

    move-result-object v0

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->gdtMediaAd:Lcom/qq/e/ads/nativ/NativeMediaADData;

    invoke-interface {v0}, Lcom/qq/e/ads/nativ/NativeMediaADData;->destroy()V

    .line 83
    :cond_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    const/4 v1, 0x0

    iput-object v1, v0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->g:Lcom/qq/e/ads/nativ/MediaView;

    .line 84
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->d(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 85
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v1}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->e(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Landroid/view/View;

    move-result-object v1

    sget v2, Lcom/moji/mjad/R$id;->gdt_media_view:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/qq/e/ads/nativ/MediaView;

    iput-object v1, v0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->g:Lcom/qq/e/ads/nativ/MediaView;

    .line 87
    :cond_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->f(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/listener/AdViewShownListener;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 88
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->g(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/listener/AdViewShownListener;

    move-result-object v0

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

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->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_2
    if-eqz p1, :cond_3

    .line 90
    invoke-static {}, Lcom/moji/tool/log/MJLogger;->b()Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "zdxgdtvideo"

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

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

    const-string v2, " onVideoError  "

    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, "    "

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

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

    move-result-object p1

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

    const-string p1, "   --- "

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

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object p1

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

    const-string p1, "    "

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

    iget-object p1, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->c:Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-static {p1}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->h(Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;)Lcom/moji/mjad/common/data/AdCommon;

    move-result-object p1

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

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

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

    move-result-object p1

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

    :cond_3
    return-void
.end method

.method public onVideoPause()V
    .locals 2

    const-string v0, "zdxgdtvideo"

    const-string v1, " onVideoPause"

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

    return-void
.end method

.method public onVideoReady(J)V
    .locals 3

    .line 57
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    iget v0, v0, Lcom/moji/mjad/common/data/AdCommon;->isAutoPlay:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 58
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    iget-object v0, v0, Lcom/moji/mjad/common/data/AdCommon;->gdtMediaAd:Lcom/qq/e/ads/nativ/NativeMediaADData;

    invoke-interface {v0}, Lcom/qq/e/ads/nativ/NativeMediaADData;->play()V

    :cond_0
    const-string v0, "zdxgdtvideo"

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

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

    const-string v2, " onVideoReady   duration---  "

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

    invoke-virtual {v1, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p1, "    "

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

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object p1

    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

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

    return-void
.end method

.method public onVideoStart()V
    .locals 2

    const-string v0, "zdxgdtvideo"

    const-string v1, " onVideoStart"

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

    return-void
.end method
