l.smali

.class public Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;
.super Lcom/cmcm/ad/data/modules/a/a;
.source "CMCMTTFeedAd.java"


# instance fields
.field private a:Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;

.field private v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;)V
    .registers 6

    .prologue
    .line 24
    invoke-direct {p0}, Lcom/cmcm/ad/data/modules/a/a;-><init>()V

    .line 25
    iput-object p1, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->b:Ljava/lang/String;

    .line 26
    iput-object p2, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->c:Ljava/lang/String;

    .line 27
    iput-object p3, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    .line 28
    const/4 v0, 0x0

    iput v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->r:I

    .line 29
    const/4 v0, 0x5

    iput v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->d:I

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

    move-result-wide v0

    iput-wide v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->l:J

    .line 31
    return-void
.end method

.method static synthetic a(Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;)Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;
    .registers 2

    .prologue
    .line 18
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->a:Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;

    return-object v0
.end method

.method static synthetic b(Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;)V
    .registers 1

    .prologue
    .line 18
    invoke-virtual {p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->L()V

    return-void
.end method


# virtual methods
.method protected a()I
    .registers 2

    .prologue
    .line 80
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getDefaultAdShowType()I

    move-result v0

    return v0
.end method

.method public a(Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;)V
    .registers 2

    .prologue
    .line 179
    iput-object p1, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->a:Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;

    .line 180
    return-void
.end method

.method protected b()Ljava/lang/String;
    .registers 2

    .prologue
    .line 90
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getRptPkgName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected c()Ljava/lang/String;
    .registers 2

    .prologue
    .line 95
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getRptAdDes()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected d()I
    .registers 2

    .prologue
    .line 100
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getRptResType()I

    move-result v0

    return v0
.end method

.method protected e()I
    .registers 2

    .prologue
    .line 105
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getRptSugType()I

    move-result v0

    return v0
.end method

.method protected f()Ljava/lang/String;
    .registers 2

    .prologue
    .line 110
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getRptRf()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected g()V
    .registers 3

    .prologue
    .line 35
    invoke-super {p0}, Lcom/cmcm/ad/data/modules/a/a;->g()V

    .line 36
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->i:Lcom/cm/plugincluster/ad/adhandle/IClickHandlerData;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lcom/cm/plugincluster/ad/adhandle/IClickHandlerData;->setNeedHandleClickOutter(Z)V

    .line 37
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->i:Lcom/cm/plugincluster/ad/adhandle/IClickHandlerData;

    new-instance v1, Lcom/cmcm/ad/data/dataProvider/adlogic/a/m;

    invoke-direct {v1, p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/m;-><init>(Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;)V

    invoke-interface {v0, v1}, Lcom/cm/plugincluster/ad/adhandle/IClickHandlerData;->setClickHandleInnerCallBack(Lcom/cm/plugincluster/ad/adhandle/IClickHandlerData$IClickHandleInnerCallBack;)V

    .line 43
    return-void
.end method

.method public getAdBehaviorType()I
    .registers 2

    .prologue
    .line 85
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdBehaviorType()I

    move-result v0

    return v0
.end method

.method public getAdCoverImageUrl()Ljava/lang/String;
    .registers 2

    .prologue
    .line 52
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdCoverImageUrl()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getAdDesc()Ljava/lang/String;
    .registers 2

    .prologue
    .line 62
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdDesc()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getAdIconUrl()Ljava/lang/String;
    .registers 2

    .prologue
    .line 57
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdIconUrl()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getAdResouceType()I
    .registers 2

    .prologue
    .line 115
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdResouceType()I

    move-result v0

    return v0
.end method

.method public getAdTitle()Ljava/lang/String;
    .registers 2

    .prologue
    .line 47
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getAdTitle()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getResType()I
    .registers 2

    .prologue
    .line 120
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getResType()I

    move-result v0

    return v0
.end method

.method public getVastModel()Lcom/cm/plugincluster/ad/data/vast/IAdVastModel;
    .registers 2

    .prologue
    .line 124
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    invoke-interface {v0}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->getVastModel()Lcom/cm/plugincluster/ad/data/vast/IAdVastModel;

    move-result-object v0

    return-object v0
.end method

.method public isExpired()Z
    .registers 7

    .prologue
    .line 67
    const/4 v0, 0x1

    .line 68
    iget-object v1, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    if-nez v1, :cond_6

    .line 75
    :cond_5
    :goto_5
    return v0

    .line 71
    :cond_6
    invoke-static {}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/j;->a()I

    move-result v1

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

    move-result-wide v2

    iget-wide v4, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->l:J

    sub-long/2addr v2, v4

    mul-int/lit8 v1, v1, 0x3c

    mul-int/lit16 v1, v1, 0x3e8

    int-to-long v4, v1

    cmp-long v1, v2, v4

    if-gez v1, :cond_5

    .line 73
    const/4 v0, 0x0

    goto :goto_5
.end method

.method public onAdShow(Landroid/view/View;)V
    .registers 4

    .prologue
    .line 128
    invoke-super {p0, p1}, Lcom/cmcm/ad/data/modules/a/a;->onAdShow(Landroid/view/View;)V

    .line 130
    iget-object v0, p0, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->v:Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;

    new-instance v1, Lcom/cmcm/ad/data/dataProvider/adlogic/a/n;

    invoke-direct {v1, p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/n;-><init>(Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;)V

    invoke-interface {v0, p1, v1}, Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;->onAdShow(Landroid/view/View;Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;)V

    .line 163
    return-void
.end method

.method public toString()Ljava/lang/String;
    .registers 4

    .prologue
    .line 167
    const-string v0, "NotSupportCard"

    .line 168
    invoke-virtual {p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->a()I

    move-result v1

    const/4 v2, 0x2

    if-ne v1, v2, :cond_27

    .line 169
    const-string v0, "SmallCard"

    .line 175
    :cond_b
    :goto_b
    new-instance v1, Ljava/lang/StringBuilder;

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

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

    move-result-object v0

    const-string v1, ":::"

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

    move-result-object v0

    invoke-virtual {p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->getAdCoverImageUrl()Ljava/lang/String;

    move-result-object v1

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

    move-result-object v0

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

    move-result-object v0

    return-object v0

    .line 170
    :cond_27
    invoke-virtual {p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->a()I

    move-result v1

    if-nez v1, :cond_30

    .line 171
    const-string v0, "BigCard"

    goto :goto_b

    .line 172
    :cond_30
    invoke-virtual {p0}, Lcom/cmcm/ad/data/dataProvider/adlogic/a/l;->a()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_b

    .line 173
    const-string v0, "ThreeCard But Show Ad Big Card"

    goto :goto_b
.end method