h.smali

.class public Lcom/cmcm/ad/ui/a/a/h;
.super Lcom/cmcm/ad/ui/a/a/a;
.source "ListVideoAdProcessor.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cmcm/ad/ui/a/a/h$a;
    }
.end annotation


# instance fields
.field private d:Lcom/cmcm/ad/ui/a/a/h$a;

.field private e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

.field private f:Landroid/widget/RelativeLayout;

.field private g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

.field private h:Landroid/widget/ImageView;

.field private i:Lcom/cmcm/ad/data/vast/AdVastModel;

.field private j:Landroid/widget/TextView;

.field private k:Lcom/cm/plugincluster/ad/IAd;

.field private l:Landroid/view/View;

.field private m:Landroid/graphics/Bitmap;


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method static synthetic a(Lcom/cmcm/ad/ui/a/a/h;)Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;
    .registers 2

    .prologue
    .line 32
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    return-object v0
.end method

.method private a(Landroid/graphics/Bitmap;)V
    .registers 4

    .prologue
    .line 363
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->b:Landroid/os/Handler;

    new-instance v1, Lcom/cmcm/ad/ui/a/a/k;

    invoke-direct {v1, p0, p1}, Lcom/cmcm/ad/ui/a/a/k;-><init>(Lcom/cmcm/ad/ui/a/a/h;Landroid/graphics/Bitmap;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 376
    return-void
.end method

.method private a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V
    .registers 7

    .prologue
    .line 379
    if-nez p1, :cond_3

    .line 383
    :goto_2
    return-void

    .line 382
    :cond_3
    invoke-virtual {p1}, Lcom/cmcm/ad/data/vast/AdVastModel;->getVastAgnt()Lcom/cmcm/ad/data/vast/VastAgent;

    move-result-object v0

    invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p1}, Lcom/cmcm/ad/data/vast/AdVastModel;->getDuration()I

    move-result v2

    invoke-virtual {p1}, Lcom/cmcm/ad/data/vast/AdVastModel;->getCurrentPos()I

    move-result v3

    invoke-virtual {v0, p2, v1, v2, v3}, Lcom/cmcm/ad/data/vast/VastAgent;->a(Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;Landroid/content/Context;II)V

    goto :goto_2
.end method

.method static synthetic a(Lcom/cmcm/ad/ui/a/a/h;Landroid/graphics/Bitmap;)V
    .registers 2

    .prologue
    .line 32
    invoke-direct {p0, p1}, Lcom/cmcm/ad/ui/a/a/h;->a(Landroid/graphics/Bitmap;)V

    return-void
.end method

.method static synthetic a(Lcom/cmcm/ad/ui/a/a/h;Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V
    .registers 3

    .prologue
    .line 32
    invoke-direct {p0, p1, p2}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V

    return-void
.end method

.method static synthetic a(Lcom/cmcm/ad/ui/a/a/h;Z)V
    .registers 2

    .prologue
    .line 32
    invoke-direct {p0, p1}, Lcom/cmcm/ad/ui/a/a/h;->a(Z)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .registers 5

    .prologue
    const/4 v2, 0x5

    .line 152
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 168
    :cond_7
    :goto_7
    return-void

    .line 156
    :cond_8
    invoke-static {p1}, Lcom/cleanmaster/hpsharelib/utils/CMDownloadManager;->queryStateByUrl(Ljava/lang/String;)Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;

    move-result-object v0

    .line 157
    invoke-virtual {v0}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getState()I

    move-result v1

    if-eqz v1, :cond_18

    invoke-virtual {v0}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getState()I

    move-result v1

    if-ne v1, v2, :cond_7

    .line 158
    :cond_18
    invoke-virtual {v0}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getState()I

    move-result v1

    if-ne v1, v2, :cond_25

    .line 159
    invoke-virtual {v0}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getUri()Landroid/net/Uri;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/utils/CMDownloadManager;->deleteDownload(Landroid/net/Uri;)V

    .line 162
    :cond_25
    const-string v0, "/"

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    .line 163
    array-length v1, v0

    add-int/lit8 v1, v1, -0x1

    aget-object v0, v0, v1

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

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

    const-string v2, "rp_"

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

    move-result-object v1

    invoke-virtual {v1, v0}, 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

    .line 166
    const/4 v1, 0x0

    invoke-static {p1, v0, v1}, Lcom/cleanmaster/hpsharelib/utils/CMDownloadManager;->downloadImage(Ljava/lang/String;Ljava/lang/String;Z)Landroid/net/Uri;

    goto :goto_7
.end method

.method private a(Z)V
    .registers 5

    .prologue
    const/4 v2, 0x4

    const/4 v1, 0x0

    .line 321
    if-eqz p1, :cond_f

    .line 322
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    invoke-static {v0, v2}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/m;->a(Landroid/view/View;I)V

    .line 323
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/m;->a(Landroid/view/View;I)V

    .line 328
    :goto_e
    return-void

    .line 325
    :cond_f
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    invoke-static {v0, v1}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/m;->a(Landroid/view/View;I)V

    .line 326
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    invoke-static {v0, v2}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/m;->a(Landroid/view/View;I)V

    goto :goto_e
.end method

.method static synthetic b(Lcom/cmcm/ad/ui/a/a/h;Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
    .registers 2

    .prologue
    .line 32
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    return-object p1
.end method

.method static synthetic b(Lcom/cmcm/ad/ui/a/a/h;)Lcom/cm/plugincluster/ad/IAd;
    .registers 2

    .prologue
    .line 32
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    return-object v0
.end method

.method private b(Z)V
    .registers 4

    .prologue
    .line 439
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->l:Landroid/view/View;

    if-nez v0, :cond_5

    .line 443
    :goto_4
    return-void

    .line 442
    :cond_5
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->l:Landroid/view/View;

    if-eqz p1, :cond_e

    const/4 v0, 0x0

    :goto_a
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    goto :goto_4

    :cond_e
    const/16 v0, 0x8

    goto :goto_a
.end method

.method private b(Ljava/lang/String;)Z
    .registers 5

    .prologue
    const/4 v0, 0x0

    .line 171
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 179
    :cond_7
    :goto_7
    return v0

    .line 175
    :cond_8
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 176
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_7

    invoke-virtual {v1}, Ljava/io/File;->canRead()Z

    move-result v1

    if-eqz v1, :cond_7

    .line 177
    const/4 v0, 0x1

    goto :goto_7
.end method

.method static synthetic c(Lcom/cmcm/ad/ui/a/a/h;)V
    .registers 1

    .prologue
    .line 32
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->m()V

    return-void
.end method

.method static synthetic d(Lcom/cmcm/ad/ui/a/a/h;)Ljava/lang/String;
    .registers 2

    .prologue
    .line 32
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->h()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic e(Lcom/cmcm/ad/ui/a/a/h;)Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;
    .registers 2

    .prologue
    .line 32
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    return-object v0
.end method

.method private e()V
    .registers 4

    .prologue
    const/4 v2, 0x0

    .line 67
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    if-nez v0, :cond_6

    .line 84
    :goto_5
    return-void

    .line 70
    :cond_6
    invoke-direct {p0, v2}, Lcom/cmcm/ad/ui/a/a/h;->b(Z)V

    .line 71
    new-instance v0, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    .line 72
    new-instance v0, Lcom/cmcm/ad/ui/a/a/h$a;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    invoke-direct {v0, p0, v1}, Lcom/cmcm/ad/ui/a/a/h$a;-><init>(Lcom/cmcm/ad/ui/a/a/h;Lcom/cm/plugincluster/ad/IAd;)V

    iput-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->d:Lcom/cmcm/ad/ui/a/a/h$a;

    .line 73
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->d:Lcom/cmcm/ad/ui/a/a/h$a;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnPreparedListener(Landroid/media/MediaPlayer$OnPreparedListener;)V

    .line 74
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->d:Lcom/cmcm/ad/ui/a/a/h$a;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnCompletionListener(Landroid/media/MediaPlayer$OnCompletionListener;)V

    .line 75
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->d:Lcom/cmcm/ad/ui/a/a/h$a;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnErrorListener(Landroid/media/MediaPlayer$OnErrorListener;)V

    .line 76
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->d:Lcom/cmcm/ad/ui/a/a/h$a;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnVideoPalyListener(Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView$a;)V

    .line 77
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->isMute()Z

    move-result v0

    if-eqz v0, :cond_53

    .line 78
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 82
    :goto_46
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 83
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    goto :goto_5

    .line 80
    :cond_53
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_46
.end method

.method static synthetic f(Lcom/cmcm/ad/ui/a/a/h;)Landroid/graphics/Bitmap;
    .registers 2

    .prologue
    .line 32
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method private f()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 87
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/cmcm/ad/ui/a/a/h;->b(Z)V

    .line 88
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    if-nez v0, :cond_e

    .line 101
    :cond_d
    :goto_d
    return-void

    .line 91
    :cond_e
    invoke-virtual {p0}, Lcom/cmcm/ad/ui/a/a/h;->d()Z

    move-result v0

    if-eqz v0, :cond_d

    .line 94
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnPreparedListener(Landroid/media/MediaPlayer$OnPreparedListener;)V

    .line 95
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnCompletionListener(Landroid/media/MediaPlayer$OnCompletionListener;)V

    .line 96
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnErrorListener(Landroid/media/MediaPlayer$OnErrorListener;)V

    .line 97
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setOnVideoPalyListener(Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView$a;)V

    .line 98
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->b()V

    .line 99
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 100
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    goto :goto_d
.end method

.method private g()V
    .registers 5

    .prologue
    .line 104
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_9

    .line 131
    :cond_8
    :goto_8
    return-void

    .line 108
    :cond_9
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/cmcm/ad/ui/a/a/h;->a(Z)V

    .line 109
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->isFinish()Z

    move-result v0

    if-eqz v0, :cond_1a

    .line 110
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/cmcm/ad/ui/a/a/h;->b(Z)V

    goto :goto_8

    .line 114
    :cond_1a
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->h()Ljava/lang/String;

    move-result-object v0

    .line 115
    const-string v1, "ListVideoAdProcessor"

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "showVideoView--"

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

    move-result-object v2

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

    move-result-object v2

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

    move-result-object v2

    invoke-static {v1, v2}, Lcom/cmcm/ad/c/a/a;->c(Ljava/lang/String;Ljava/lang/String;)V

    .line 116
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_8

    .line 120
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v1, v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setVideoPath(Ljava/lang/String;)V

    .line 121
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    new-instance v1, Lcom/cmcm/ad/ui/a/a/i;

    invoke-direct {v1, p0}, Lcom/cmcm/ad/ui/a/a/i;-><init>(Lcom/cmcm/ad/ui/a/a/h;)V

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->post(Ljava/lang/Runnable;)Z

    goto :goto_8
.end method

.method private h()Ljava/lang/String;
    .registers 5

    .prologue
    const/4 v0, 0x0

    .line 134
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-nez v1, :cond_6

    .line 148
    :cond_5
    :goto_5
    return-object v0

    .line 138
    :cond_6
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/cmcm/ad/data/vast/AdVastModel;->getVideolUrl(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/utils/CMDownloadManager;->queryStateByUrl(Ljava/lang/String;)Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;

    move-result-object v1

    .line 139
    invoke-virtual {v1}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getState()I

    move-result v2

    const/4 v3, 0x3

    if-eq v2, v3, :cond_29

    .line 140
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/cmcm/ad/data/vast/AdVastModel;->getVideolUrl(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/cmcm/ad/ui/a/a/h;->a(Ljava/lang/String;)V

    goto :goto_5

    .line 144
    :cond_29
    invoke-virtual {v1}, Lcom/cm/plugincluster/common/interfaces/downloader/bean/DownloadState;->getPath()Ljava/lang/String;

    move-result-object v1

    .line 145
    invoke-direct {p0, v1}, Lcom/cmcm/ad/ui/a/a/h;->b(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_5

    move-object v0, v1

    .line 146
    goto :goto_5
.end method

.method private i()Z
    .registers 7

    .prologue
    const/4 v5, 0x4

    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 183
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    if-nez v0, :cond_9

    move v0, v1

    .line 197
    :goto_8
    return v0

    .line 187
    :cond_9
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    if-eqz v0, :cond_1d

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    new-array v3, v2, [Ljava/lang/Object;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v3, v1

    invoke-interface {v0, v3}, Lcom/cm/plugincluster/ad/IAd;->cmdCommon([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-nez v0, :cond_1f

    :cond_1d
    move v0, v1

    .line 188
    goto :goto_8

    .line 191
    :cond_1f
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    new-array v3, v2, [Ljava/lang/Object;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v3, v1

    invoke-interface {v0, v3}, Lcom/cm/plugincluster/ad/IAd;->cmdCommon([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/cmcm/ad/data/vast/AdVastModel;

    iput-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    .line 192
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    iget-object v3, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getTag()Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_41

    move v0, v1

    .line 193
    goto :goto_8

    .line 195
    :cond_41
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    move v0, v2

    .line 197
    goto :goto_8
.end method

.method private j()V
    .registers 4

    .prologue
    const/4 v2, 0x0

    .line 213
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    if-nez v0, :cond_a

    .line 221
    :cond_9
    :goto_9
    return-void

    .line 216
    :cond_a
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/data/vast/AdVastModel;->setIsReplay(Z)V

    .line 217
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0, v2}, Lcom/cmcm/ad/data/vast/AdVastModel;->setIsFinish(Z)V

    .line 218
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0, v2}, Lcom/cmcm/ad/data/vast/AdVastModel;->setCurrentPos(I)V

    .line 219
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    .line 220
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    invoke-virtual {p0, v0}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cm/plugincluster/ad/IAd;)V

    goto :goto_9
.end method

.method private k()V
    .registers 5

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 224
    invoke-virtual {p0}, Lcom/cmcm/ad/ui/a/a/h;->d()Z

    move-result v0

    if-nez v0, :cond_9

    .line 239
    :goto_8
    return-void

    .line 228
    :cond_9
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->isMute()Z

    move-result v0

    if-eqz v0, :cond_28

    .line 229
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0, v2}, Lcom/cmcm/ad/data/vast/AdVastModel;->setIsMute(Z)V

    .line 230
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 231
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    sget-object v1, Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;->UNMUTE:Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;

    invoke-direct {p0, v0, v1}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V

    .line 232
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v3, v3}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setVideoVolum(II)V

    goto :goto_8

    .line 234
    :cond_28
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0, v3}, Lcom/cmcm/ad/data/vast/AdVastModel;->setIsMute(Z)V

    .line 235
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 236
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    sget-object v1, Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;->MUTE:Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;

    invoke-direct {p0, v0, v1}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V

    .line 237
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0, v2, v2}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->setVideoVolum(II)V

    goto :goto_8
.end method

.method private l()V
    .registers 2

    .prologue
    .line 242
    invoke-virtual {p0}, Lcom/cmcm/ad/ui/a/a/h;->d()Z

    move-result v0

    if-nez v0, :cond_7

    .line 250
    :goto_6
    return-void

    .line 245
    :cond_7
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->f()Z

    move-result v0

    if-eqz v0, :cond_13

    .line 246
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->q()V

    goto :goto_6

    .line 248
    :cond_13
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->p()V

    goto :goto_6
.end method

.method private m()V
    .registers 2

    .prologue
    .line 331
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/cmcm/ad/ui/a/a/h;->a(Z)V

    .line 332
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->f()V

    .line 333
    return-void
.end method

.method private n()V
    .registers 3

    .prologue
    .line 336
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-nez v0, :cond_9

    .line 350
    :cond_8
    :goto_8
    return-void

    .line 339
    :cond_9
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    sget v1, Lcom/cmcm/ad/R$drawable;->default_banner:I

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;->setImageResource(I)V

    .line 340
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->getEndCardUrl()Ljava/lang/String;

    move-result-object v0

    .line 341
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_22

    .line 342
    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    invoke-virtual {v1, v0}, Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;->a(Ljava/lang/String;)V

    goto :goto_8

    .line 345
    :cond_22
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_36

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_36

    .line 346
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_8

    .line 349
    :cond_36
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->o()V

    goto :goto_8
.end method

.method private o()V
    .registers 2

    .prologue
    .line 353
    new-instance v0, Lcom/cmcm/ad/ui/a/a/j;

    invoke-direct {v0, p0}, Lcom/cmcm/ad/ui/a/a/j;-><init>(Lcom/cmcm/ad/ui/a/a/h;)V

    invoke-static {v0}, Lcom/cmcm/ad/ui/util/BackgroundThread;->a(Ljava/lang/Runnable;)V

    .line 360
    return-void
.end method

.method private p()V
    .registers 3

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

    iput-boolean v0, p0, Lcom/cmcm/ad/ui/a/a/h;->c:Z

    .line 447
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->isFinish()Z

    move-result v0

    if-eqz v0, :cond_10

    .line 458
    :cond_f
    :goto_f
    return-void

    .line 450
    :cond_10
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    if-eqz v0, :cond_f

    .line 453
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->pause()V

    .line 454
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    sget-object v1, Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;->PAUSE:Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;

    invoke-direct {p0, v0, v1}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V

    .line 455
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->j:Landroid/widget/TextView;

    if-eqz v0, :cond_f

    .line 456
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->j:Landroid/widget/TextView;

    sget v1, Lcom/cmcm/ad/R$string;->adsdk_video_resume:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_f
.end method

.method private q()V
    .registers 3

    .prologue
    .line 461
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/cmcm/ad/ui/a/a/h;->c:Z

    .line 462
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    if-nez v0, :cond_8

    .line 474
    :cond_7
    :goto_7
    return-void

    .line 465
    :cond_8
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v0}, Lcom/cmcm/ad/data/vast/AdVastModel;->isFinish()Z

    move-result v0

    if-nez v0, :cond_7

    .line 468
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    iget-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    invoke-virtual {v1}, Lcom/cmcm/ad/data/vast/AdVastModel;->getCurrentPos()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->seekTo(I)V

    .line 469
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->e()V

    .line 470
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    sget-object v1, Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;->RESUME:Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;

    invoke-direct {p0, v0, v1}, Lcom/cmcm/ad/ui/a/a/h;->a(Lcom/cmcm/ad/data/vast/AdVastModel;Lcom/cmcm/ad/data/vast/VastAgent$ReportEvent;)V

    .line 471
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->j:Landroid/widget/TextView;

    if-eqz v0, :cond_7

    .line 472
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->j:Landroid/widget/TextView;

    sget v1, Lcom/cmcm/ad/R$string;->adsdk_video_pause:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_7
.end method


# virtual methods
.method public a()V
    .registers 1

    .prologue
    .line 392
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->p()V

    .line 393
    return-void
.end method

.method public a(Landroid/view/View;)V
    .registers 3

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

    .line 203
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_b

    .line 204
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->k()V

    .line 210
    :cond_a
    :goto_a
    return-void

    .line 205
    :cond_b
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->j:Landroid/widget/TextView;

    if-ne p1, v0, :cond_13

    .line 206
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->l()V

    goto :goto_a

    .line 207
    :cond_13
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->l:Landroid/view/View;

    if-ne p1, v0, :cond_a

    .line 208
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->j()V

    goto :goto_a
.end method

.method public a(Landroid/widget/ImageView;)V
    .registers 2

    .prologue
    .line 423
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    .line 424
    return-void
.end method

.method public a(Landroid/widget/RelativeLayout;)V
    .registers 2

    .prologue
    .line 415
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    .line 416
    return-void
.end method

.method public a(Lcom/cm/plugincluster/ad/IAd;)V
    .registers 3

    .prologue
    .line 48
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    .line 49
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->k:Lcom/cm/plugincluster/ad/IAd;

    if-nez v0, :cond_7

    .line 62
    :cond_6
    :goto_6
    return-void

    .line 52
    :cond_7
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->i()Z

    move-result v0

    if-eqz v0, :cond_13

    .line 53
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->f()V

    .line 54
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->e()V

    .line 57
    :cond_13
    invoke-virtual {p0}, Lcom/cmcm/ad/ui/a/a/h;->d()Z

    move-result v0

    if-eqz v0, :cond_6

    .line 60
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->g()V

    .line 61
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->n()V

    goto :goto_6
.end method

.method public a(Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;)V
    .registers 2

    .prologue
    .line 411
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    .line 412
    return-void
.end method

.method public b()V
    .registers 1

    .prologue
    .line 387
    invoke-direct {p0}, Lcom/cmcm/ad/ui/a/a/h;->q()V

    .line 388
    return-void
.end method

.method public b(Landroid/view/View;)V
    .registers 2

    .prologue
    .line 419
    iput-object p1, p0, Lcom/cmcm/ad/ui/a/a/h;->l:Landroid/view/View;

    .line 420
    return-void
.end method

.method public c()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 397
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    if-eqz v0, :cond_a

    .line 398
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    invoke-virtual {v0}, Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;->b()V

    .line 400
    :cond_a
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    .line 401
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->f:Landroid/widget/RelativeLayout;

    .line 402
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->g:Lcom/cmcm/ad/ui/bitmapcache/AsyncImageView;

    .line 403
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->h:Landroid/widget/ImageView;

    .line 404
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_1d

    .line 405
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    .line 406
    iput-object v1, p0, Lcom/cmcm/ad/ui/a/a/h;->m:Landroid/graphics/Bitmap;

    .line 408
    :cond_1d
    return-void
.end method

.method public d()Z
    .registers 2

    .prologue
    .line 432
    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->i:Lcom/cmcm/ad/data/vast/AdVastModel;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/cmcm/ad/ui/a/a/h;->e:Lcom/cmcm/ad/ui/view/widget/FixedTextureVideoView;

    if-nez v0, :cond_a

    .line 433
    :cond_8
    const/4 v0, 0x0

    .line 435
    :goto_9
    return v0

    :cond_a
    const/4 v0, 0x1

    goto :goto_9
.end method