405 lines
8.2 KiB
Smali
405 lines
8.2 KiB
Smali
.class public Lcom/intowow/sdk/InstreamADView;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private a:Lcom/in2wow/sdk/j;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
.line 18
|
|
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 14
|
|
iput-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
.line 19
|
|
new-instance v0, Lcom/in2wow/sdk/j;
|
|
|
|
invoke-direct {v0, p1, p0}, Lcom/in2wow/sdk/j;-><init>(Landroid/content/Context;Landroid/widget/RelativeLayout;)V
|
|
|
|
iput-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public destroy()V
|
|
.locals 1
|
|
|
|
.line 148
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 149
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->l()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public getADID()I
|
|
.locals 1
|
|
|
|
.line 65
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 66
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->f()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getKey()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 95
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 96
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->j()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLeastUsedTime()J
|
|
.locals 2
|
|
|
|
.line 81
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 82
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->h()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getProps()Lcom/intowow/sdk/StreamHelper$TransientProperties;
|
|
.locals 1
|
|
|
|
.line 73
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 74
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->g()Lcom/intowow/sdk/StreamHelper$TransientProperties;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hasVideoContent()Z
|
|
.locals 1
|
|
|
|
.line 57
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 58
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->e()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public initProperties(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Object;Lcom/intowow/sdk/StreamHelper$TransientProperties;IZ)V
|
|
.locals 10
|
|
|
|
move-object v0, p0
|
|
|
|
.line 50
|
|
iget-object v1, v0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 51
|
|
iget-object v2, v0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
move-object v6, p4
|
|
|
|
check-cast v6, Lcom/in2wow/sdk/i/c;
|
|
|
|
move v3, p1
|
|
|
|
move-object v4, p2
|
|
|
|
move-object v5, p3
|
|
|
|
move-object v7, p5
|
|
|
|
move/from16 v8, p6
|
|
|
|
move/from16 v9, p7
|
|
|
|
invoke-virtual/range {v2 .. v9}, Lcom/in2wow/sdk/j;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Object;Lcom/intowow/sdk/StreamHelper$TransientProperties;IZ)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public isMatchPageKey(Ljava/lang/String;I)Z
|
|
.locals 1
|
|
|
|
.line 104
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 105
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/in2wow/sdk/j;->a(Ljava/lang/String;I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public isVisible(Ljava/lang/String;II)Z
|
|
.locals 1
|
|
|
|
.line 113
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 114
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Lcom/in2wow/sdk/j;->a(Ljava/lang/String;II)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onHide()V
|
|
.locals 1
|
|
|
|
.line 41
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 42
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->d()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onShow()V
|
|
.locals 1
|
|
|
|
.line 35
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 36
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->c()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public reset()V
|
|
.locals 1
|
|
|
|
.line 121
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 122
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->k()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundColor(I)V
|
|
.locals 1
|
|
|
|
.line 127
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 128
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/j;->a(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
|
|
.line 136
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 137
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/j;->a(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundResource(I)V
|
|
.locals 1
|
|
|
|
.line 142
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 143
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/j;->b(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public start()V
|
|
.locals 1
|
|
|
|
.line 29
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 30
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->b()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public stop()V
|
|
.locals 1
|
|
|
|
.line 23
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 24
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->a()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public touch()V
|
|
.locals 1
|
|
|
|
.line 89
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 90
|
|
iget-object v0, p0, Lcom/intowow/sdk/InstreamADView;->a:Lcom/in2wow/sdk/j;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/j;->i()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|