.class public abstract Lcom/moji/mjad/common/control/CommonAdViewControl;
.super Lcom/moji/mjad/common/control/CommonAdControl;
.source "CommonAdViewControl.java"

# interfaces
.implements Lcom/moji/mjad/common/listener/AdViewCloseListener;
.implements Lcom/moji/mjad/common/listener/AdViewShownListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;
    }
.end annotation


# instance fields
.field private adPartener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

.field private adStytle:I

.field private adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

.field private baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

.field private bitmaps:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Landroid/graphics/Bitmap;",
            ">;"
        }
    .end annotation
.end field

.field private isLoadAllBitmap:[Ljava/lang/Boolean;

.field private isRequesting:Z

.field private mView:Landroid/view/View;

.field private mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

.field private myTarget1:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

.field private myTarget2:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

.field private myTarget3:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

.field private requestTime:J


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 54
    invoke-direct {p0, p1}, Lcom/moji/mjad/common/control/CommonAdControl;-><init>(Landroid/content/Context;)V

    const/4 p1, -0x1

    .line 38
    iput p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adStytle:I

    .line 55
    new-instance p1, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    const/4 v0, 0x0

    invoke-direct {p1, p0, v0}, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;-><init>(Lcom/moji/mjad/common/control/CommonAdViewControl;I)V

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->myTarget1:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    .line 56
    new-instance p1, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    const/4 v0, 0x1

    invoke-direct {p1, p0, v0}, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;-><init>(Lcom/moji/mjad/common/control/CommonAdViewControl;I)V

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->myTarget2:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    .line 57
    new-instance p1, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    const/4 v0, 0x2

    invoke-direct {p1, p0, v0}, Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;-><init>(Lcom/moji/mjad/common/control/CommonAdViewControl;I)V

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->myTarget3:Lcom/moji/mjad/common/control/CommonAdViewControl$MyTarget;

    return-void
.end method

.method static synthetic access$002(Lcom/moji/mjad/common/control/CommonAdViewControl;Z)Z
    .locals 0

    .line 36
    iput-boolean p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isRequesting:Z

    return p1
.end method

.method static synthetic access$100(Lcom/moji/mjad/common/control/CommonAdViewControl;Ljava/util/List;Ljava/lang/String;)V
    .locals 0

    .line 36
    invoke-direct {p0, p1, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setViewCreater(Ljava/util/List;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$202(Lcom/moji/mjad/common/control/CommonAdViewControl;Lcom/moji/mjad/enumdata/MojiAdPositionStat;)Lcom/moji/mjad/enumdata/MojiAdPositionStat;
    .locals 0

    .line 36
    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    return-object p1
.end method

.method static synthetic access$300(Lcom/moji/mjad/common/control/CommonAdViewControl;)Lcom/moji/mjad/common/listener/AdViewShownListener;
    .locals 0

    .line 36
    iget-object p0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    return-object p0
.end method

.method static synthetic access$400(Lcom/moji/mjad/common/control/CommonAdViewControl;ILcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/data/AdCommon;Landroid/graphics/Bitmap;Ljava/lang/String;)V
    .locals 0

    .line 36
    invoke-direct/range {p0 .. p5}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setBitmap(ILcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/data/AdCommon;Landroid/graphics/Bitmap;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$500(Lcom/moji/mjad/common/control/CommonAdViewControl;ILcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
    .locals 0

    .line 36
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setThirdView(ILcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V

    return-void
.end method

.method private declared-synchronized setBitmap(ILcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/data/AdCommon;Landroid/graphics/Bitmap;Ljava/lang/String;)V
    .locals 1

    monitor-enter p0

    .line 316
    :try_start_0
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    if-eqz v0, :cond_5

    if-nez p1, :cond_1

    .line 318
    iget-object p3, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result p3

    if-lez p3, :cond_0

    .line 319
    iget-object p3, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    const/4 v0, 0x0

    invoke-interface {p3, v0, p4}, Ljava/util/List;->add(ILjava/lang/Object;)V

    goto :goto_0

    .line 321
    :cond_0
    iget-object p3, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p3, p4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    const/4 p3, 0x1

    if-ne p1, p3, :cond_3

    .line 324
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-le v0, p3, :cond_2

    .line 325
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {v0, p3, p4}, Ljava/util/List;->add(ILjava/lang/Object;)V

    goto :goto_0

    .line 327
    :cond_2
    iget-object p3, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p3, p4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_3
    const/4 p3, 0x2

    if-ne p1, p3, :cond_6

    .line 330
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-le v0, p3, :cond_4

    .line 331
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {v0, p3, p4}, Ljava/util/List;->add(ILjava/lang/Object;)V

    goto :goto_0

    .line 333
    :cond_4
    iget-object p3, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p3, p4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_5
    if-eqz p3, :cond_6

    .line 336
    iget-object p4, p3, Lcom/moji/mjad/common/data/AdCommon;->adThirds:Ljava/util/List;

    if-eqz p4, :cond_6

    iget-object p4, p3, Lcom/moji/mjad/common/data/AdCommon;->adThirds:Ljava/util/List;

    invoke-interface {p4}, Ljava/util/List;->size()I

    move-result p4

    if-lez p4, :cond_6

    if-eqz p2, :cond_6

    .line 337
    iget-object p3, p3, Lcom/moji/mjad/common/data/AdCommon;->adThirds:Ljava/util/List;

    invoke-interface {p3, p2}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 339
    :cond_6
    :goto_0
    invoke-direct {p0, p1, p2, p5}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setThirdView(ILcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 340
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    .line 315
    monitor-exit p0

    throw p1
.end method

.method private setStyleView(Lcom/moji/mjad/common/data/AdCommon;ZLjava/lang/String;)V
    .locals 1

    if-eqz p2, :cond_0

    .line 362
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    if-eqz p2, :cond_1

    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result p2

    if-lez p2, :cond_1

    .line 363
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result p2

    iput p2, p1, Lcom/moji/mjad/common/data/AdCommon;->bitmapCount:I

    .line 364
    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/control/CommonAdViewControl;->getStyleAdView(Lcom/moji/mjad/common/data/AdCommon;)Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    move-result-object p2

    iput-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    .line 365
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz p2, :cond_1

    .line 366
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    iput-object v0, p2, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->h:Ljava/util/List;

    goto :goto_0

    .line 370
    :cond_0
    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/control/CommonAdViewControl;->getStyleAdView(Lcom/moji/mjad/common/data/AdCommon;)Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    move-result-object p2

    iput-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    .line 372
    :cond_1
    :goto_0
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz p2, :cond_3

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

    sget-object v0, Lcom/moji/mjad/enumdata/MojiAdPosition;->POS_FEED_STREAM_CARD_CENTER_ENTRY:Lcom/moji/mjad/enumdata/MojiAdPosition;

    if-ne p2, v0, :cond_2

    .line 374
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    const/4 v0, 0x1

    iput-boolean v0, p2, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->i:Z

    .line 376
    :cond_2
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mIResetIntentParams:Lcom/moji/mjad/base/IResetIntentParams;

    invoke-virtual {p2, v0}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->a(Lcom/moji/mjad/base/IResetIntentParams;)V

    .line 377
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {p2, p0}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->b(Lcom/moji/mjad/common/listener/AdViewCloseListener;)V

    .line 378
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {p2, p0}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->a(Lcom/moji/mjad/common/listener/AdViewShownListener;)V

    .line 379
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {p2, p1, p3}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->a(Ljava/lang/Object;Ljava/lang/String;)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mView:Landroid/view/View;

    goto :goto_1

    .line 381
    :cond_3
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_4

    .line 382
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_4
    :goto_1
    return-void
.end method

.method private setThirdView(ILcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
    .locals 3

    .line 342
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    if-eqz v0, :cond_4

    .line 343
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    array-length v0, v0

    const/4 v1, 0x1

    if-le v0, p1, :cond_0

    .line 344
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    aput-object v2, v0, p1

    .line 346
    :cond_0
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    array-length p1, p1

    if-lez p1, :cond_4

    const/4 p1, 0x0

    const/4 v0, 0x0

    .line 348
    :goto_0
    iget-object v2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    array-length v2, v2

    if-ge v0, v2, :cond_2

    .line 349
    iget-object v2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    aget-object v2, v2, v0

    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isLoadAllBitmap:[Ljava/lang/Boolean;

    aget-object v2, v2, v0

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-nez v2, :cond_1

    goto :goto_1

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    const/4 p1, 0x1

    :cond_3
    :goto_1
    if-eqz p1, :cond_4

    .line 355
    invoke-direct {p0, p2, v1, p3}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setView(Lcom/moji/mjad/common/data/AdCommon;ZLjava/lang/String;)V

    :cond_4
    return-void
.end method

.method private setView(Lcom/moji/mjad/common/data/AdCommon;ZLjava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_4

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

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

    if-eq v0, v1, :cond_3

    .line 222
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

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

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adPartener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

    iget-object v1, p1, Lcom/moji/mjad/common/data/AdCommon;->partener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

    if-ne v0, v1, :cond_2

    iget v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adStytle:I

    iget v1, p1, Lcom/moji/mjad/common/data/AdCommon;->adStyle:I

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mView:Landroid/view/View;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz v0, :cond_0

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->h:Ljava/util/List;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->h:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, v0, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->h:Ljava/util/List;

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

    move-result v0

    iget-object v1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-eq v0, v1, :cond_0

    goto :goto_0

    .line 231
    :cond_0
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz p2, :cond_1

    .line 232
    iget-object p2, p1, Lcom/moji/mjad/common/data/AdCommon;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    iput-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 233
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->bitmaps:Ljava/util/List;

    iput-object v0, p2, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->h:Ljava/util/List;

    .line 234
    iget-object p2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {p2, p1, p3}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->f(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V

    goto :goto_1

    .line 236
    :cond_1
    iget-object p1, p1, Lcom/moji/mjad/common/data/AdCommon;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 237
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_5

    .line 238
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    goto :goto_1

    .line 227
    :cond_2
    :goto_0
    iget v0, p1, Lcom/moji/mjad/common/data/AdCommon;->adStyle:I

    iput v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adStytle:I

    .line 228
    iget-object v0, p1, Lcom/moji/mjad/common/data/AdCommon;->partener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

    iput-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adPartener:Lcom/moji/mjad/enumdata/ThirdAdPartener;

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

    iput-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 230
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setStyleView(Lcom/moji/mjad/common/data/AdCommon;ZLjava/lang/String;)V

    goto :goto_1

    .line 242
    :cond_3
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_UNAVAILABLE:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 243
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_5

    .line 244
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    goto :goto_1

    .line 248
    :cond_4
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_UNAVAILABLE:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 249
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_5

    .line 250
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_5
    :goto_1
    return-void
.end method

.method private setViewCreater(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
    .locals 1

    .line 168
    invoke-virtual {p0, p1}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V

    if-nez p1, :cond_0

    .line 170
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_2

    .line 171
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    goto :goto_0

    .line 174
    :cond_0
    invoke-static {p1}, Lcom/moji/mjad/util/AdUtil;->a(Lcom/moji/mjad/common/data/AdCommon;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 175
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_2

    .line 176
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 213
    invoke-direct {p0, p1, v0, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setView(Lcom/moji/mjad/common/data/AdCommon;ZLjava/lang/String;)V

    :cond_2
    :goto_0
    return-void
.end method

.method private setViewCreater(Ljava/util/List;Ljava/lang/String;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/mjad/common/data/AdCommon;",
            ">;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    if-eqz p1, :cond_3

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

    move-result v0

    if-lez v0, :cond_3

    .line 142
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/mjad/common/data/AdCommon;

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

    sget-object v2, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_SELF_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    if-eq v1, v2, :cond_1

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

    sget-object v2, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_THIRD_API_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    if-ne v1, v2, :cond_2

    :cond_1
    iget v1, v0, Lcom/moji/mjad/common/data/AdCommon;->adStyle:I

    const/16 v2, 0x8

    if-ne v1, v2, :cond_2

    .line 146
    iget v1, v0, Lcom/moji/mjad/common/data/AdCommon;->videoType:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_0

    .line 147
    invoke-direct {p0, v0, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setViewCreater(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V

    goto :goto_0

    .line 151
    :cond_2
    invoke-direct {p0, v0, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setViewCreater(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V

    goto :goto_0

    .line 156
    :cond_3
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_UNAVAILABLE:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mojiAdPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 157
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_4

    .line 158
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_4
    :goto_0
    return-void
.end method


# virtual methods
.method public eventOnNetWorkChange(Lcom/moji/mjad/common/receiver/NetWorkChangeEvent;)V
    .locals 1

    .line 388
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    instance-of v0, v0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    if-eqz v0, :cond_0

    .line 389
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    check-cast v0, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    invoke-virtual {v0, p1}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->a(Lcom/moji/mjad/common/receiver/NetWorkChangeEvent;)V

    :cond_0
    return-void
.end method

.method public getCreater()Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;
    .locals 1

    .line 50
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    return-object v0
.end method

.method abstract getStyleAdView(Lcom/moji/mjad/common/data/AdCommon;)Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;
.end method

.method public loadAd(IILcom/moji/launchserver/AdCommonInterface$AdPosition;)V
    .locals 5

    .line 69
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mContext:Landroid/content/Context;

    if-nez v0, :cond_0

    return-void

    .line 72
    :cond_0
    invoke-static {p3}, Lcom/moji/mjad/util/AdUtil;->a(Lcom/moji/launchserver/AdCommonInterface$AdPosition;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 73
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_1

    .line 74
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

    const/4 p3, 0x0

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

    :cond_1
    return-void

    .line 78
    :cond_2
    iget-boolean v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isRequesting:Z

    if-eqz v0, :cond_3

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

    move-result-wide v0

    iget-wide v2, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->requestTime:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0xdac

    cmp-long v4, v0, v2

    if-lez v4, :cond_4

    :cond_3
    const/4 v0, 0x1

    .line 79
    iput-boolean v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isRequesting:Z

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

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->requestTime:J

    .line 81
    new-instance v0, Lcom/moji/mjad/common/network/AdCommonRequest;

    iget-object v1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mContext:Landroid/content/Context;

    invoke-direct {v0, p1, p2, v1, p3}, Lcom/moji/mjad/common/network/AdCommonRequest;-><init>(IILandroid/content/Context;Lcom/moji/launchserver/AdCommonInterface$AdPosition;)V

    new-instance p1, Lcom/moji/mjad/common/control/CommonAdViewControl$1;

    invoke-direct {p1, p0}, Lcom/moji/mjad/common/control/CommonAdViewControl$1;-><init>(Lcom/moji/mjad/common/control/CommonAdViewControl;)V

    invoke-virtual {v0, p1}, Lcom/moji/mjad/common/network/AdCommonRequest;->a(Lcom/moji/mjad/common/network/AdCommonRequestCallBack;)V

    :cond_4
    return-void
.end method

.method public loadAd(Lcom/moji/launchserver/AdCommonInterface$AdPosition;)V
    .locals 1

    const/4 v0, -0x1

    .line 109
    invoke-virtual {p0, v0, v0, p1}, Lcom/moji/mjad/common/control/CommonAdViewControl;->loadAd(IILcom/moji/launchserver/AdCommonInterface$AdPosition;)V

    return-void
.end method

.method public loadAd(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V
    .locals 1

    .line 131
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mContext:Landroid/content/Context;

    if-eqz v0, :cond_1

    if-nez p1, :cond_0

    goto :goto_0

    .line 137
    :cond_0
    invoke-direct {p0, p1, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setViewCreater(Lcom/moji/mjad/common/data/AdCommon;Ljava/lang/String;)V

    return-void

    .line 132
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_2

    .line 133
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_2
    return-void
.end method

.method public loadAd(Ljava/util/List;Ljava/lang/String;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/mjad/common/data/AdCommon;",
            ">;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .line 117
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mContext:Landroid/content/Context;

    if-eqz v0, :cond_1

    if-eqz p1, :cond_1

    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 123
    :cond_0
    invoke-direct {p0, p1, p2}, Lcom/moji/mjad/common/control/CommonAdViewControl;->setViewCreater(Ljava/util/List;Ljava/lang/String;)V

    return-void

    .line 118
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz p1, :cond_2

    .line 119
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_2
    return-void
.end method

.method public onAdViewClose(Ljava/lang/String;)V
    .locals 2

    .line 264
    invoke-virtual {p0}, Lcom/moji/mjad/common/control/CommonAdViewControl;->recordClose()V

    .line 265
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_0

    .line 266
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

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

    :cond_0
    return-void
.end method

.method public onAdViewGone(Lcom/moji/mjad/enumdata/MojiAdGoneType;Ljava/lang/String;)V
    .locals 1

    .line 280
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_1

    .line 281
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

    .line 282
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    instance-of p1, p1, Lcom/moji/mjad/common/view/creater/style/AdStyleEightCreater;

    if-eqz p1, :cond_0

    .line 283
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    check-cast p1, Lcom/moji/mjad/common/view/creater/style/AdStyleEightCreater;

    invoke-virtual {p1}, Lcom/moji/mjad/common/view/creater/style/AdStyleEightCreater;->f()V

    goto :goto_0

    .line 284
    :cond_0
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    instance-of p1, p1, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    if-eqz p1, :cond_1

    .line 285
    iget-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->baseFiveStyleAdView:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    check-cast p1, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;

    sget-object p2, Lcom/moji/mjad/enumdata/GDTVideoControlType;->DESTROY:Lcom/moji/mjad/enumdata/GDTVideoControlType;

    invoke-virtual {p1, p2}, Lcom/moji/mjad/common/view/creater/style/AbsAdGDTVideoCreater;->a(Lcom/moji/mjad/enumdata/GDTVideoControlType;)V

    :cond_1
    :goto_0
    return-void
.end method

.method public onAdViewVisible(Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;)V
    .locals 1

    const/4 v0, 0x1

    .line 272
    iput-boolean v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->isNeedRecordShow:Z

    .line 273
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    if-eqz v0, :cond_0

    .line 274
    iget-object v0, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

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

    :cond_0
    return-void
.end method

.method public setIResetIntentParams(Lcom/moji/mjad/base/IResetIntentParams;)V
    .locals 0

    .line 61
    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->mIResetIntentParams:Lcom/moji/mjad/base/IResetIntentParams;

    return-void
.end method

.method public setOnAdViewVisibleListener(Lcom/moji/mjad/common/listener/AdViewShownListener;)V
    .locals 0

    .line 259
    iput-object p1, p0, Lcom/moji/mjad/common/control/CommonAdViewControl;->adViewVisiblelistener:Lcom/moji/mjad/common/listener/AdViewShownListener;

    return-void
.end method
