558 lines
13 KiB
Smali
558 lines
13 KiB
Smali
.class public Lcom/in2wow/sdk/k;
|
|
.super Lcom/in2wow/sdk/a;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
.field private j:Landroid/content/Context;
|
|
|
|
.field private k:I
|
|
|
|
.field private l:I
|
|
|
|
.field private m:Z
|
|
|
|
.field private n:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 30
|
|
invoke-direct {p0}, Lcom/in2wow/sdk/a;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
iput-object v0, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
.line 23
|
|
iput-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 25
|
|
iput v0, p0, Lcom/in2wow/sdk/k;->k:I
|
|
|
|
.line 26
|
|
iput v0, p0, Lcom/in2wow/sdk/k;->l:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 27
|
|
iput-boolean v0, p0, Lcom/in2wow/sdk/k;->m:Z
|
|
|
|
.line 28
|
|
iput-boolean v0, p0, Lcom/in2wow/sdk/k;->n:Z
|
|
|
|
.line 31
|
|
iput-object p1, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
.line 32
|
|
invoke-static {p1}, Lcom/in2wow/sdk/m/o;->a(Landroid/content/Context;)Lcom/in2wow/sdk/m/o;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/m/o;->a()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/in2wow/sdk/k;->e:Ljava/lang/String;
|
|
|
|
.line 33
|
|
invoke-static {p1}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/in2wow/sdk/k;->a:Lcom/in2wow/sdk/b/e;
|
|
|
|
.line 34
|
|
iput-object p2, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 36
|
|
iput p1, p0, Lcom/in2wow/sdk/k;->f:I
|
|
|
|
.line 38
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->a:Lcom/in2wow/sdk/b/e;
|
|
|
|
iget-object p2, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/in2wow/sdk/b/e;->f(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/in2wow/sdk/k;)Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
.locals 0
|
|
|
|
.line 22
|
|
iget-object p0, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(II)V
|
|
.locals 0
|
|
|
|
.line 169
|
|
iput p1, p0, Lcom/in2wow/sdk/k;->k:I
|
|
|
|
.line 170
|
|
iput p2, p0, Lcom/in2wow/sdk/k;->l:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 171
|
|
iput-boolean p1, p0, Lcom/in2wow/sdk/k;->m:Z
|
|
|
|
.line 173
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/k;->o()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(J)V
|
|
.locals 8
|
|
|
|
.line 61
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Lcom/in2wow/sdk/m/p;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 62
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 63
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
sget-object p2, Lcom/intowow/sdk/AdError;->INTERNAL_ERROR:Lcom/intowow/sdk/AdError;
|
|
|
|
invoke-interface {p1, p2}, Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;->onError(Lcom/intowow/sdk/AdError;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 68
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->a:Lcom/in2wow/sdk/b/e;
|
|
|
|
iget-object v1, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/in2wow/sdk/b/e;->l(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 69
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 70
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
sget-object p2, Lcom/intowow/sdk/AdError;->NO_FILL_ERROR:Lcom/intowow/sdk/AdError;
|
|
|
|
invoke-interface {p1, p2}, Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;->onError(Lcom/intowow/sdk/AdError;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 76
|
|
:cond_3
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/k;->d()V
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
.line 81
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->a:Lcom/in2wow/sdk/b/e;
|
|
|
|
invoke-virtual {p1}, Lcom/in2wow/sdk/b/e;->r()Lcom/in2wow/sdk/b/a;
|
|
|
|
move-result-object p1
|
|
|
|
.line 82
|
|
iget-object p2, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
.line 83
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
iget v1, p0, Lcom/in2wow/sdk/k;->f:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 81
|
|
invoke-virtual {p1, p2, v0, v1, v2}, Lcom/in2wow/sdk/b/a;->a(Ljava/lang/String;Ljava/lang/String;ILcom/in2wow/sdk/b/e$c;)Lcom/in2wow/sdk/i/c;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/in2wow/sdk/k;->b:Lcom/in2wow/sdk/i/c;
|
|
|
|
.line 88
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 89
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->b:Lcom/in2wow/sdk/i/c;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 90
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
invoke-interface {p1}, Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;->onAdLoaded()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 92
|
|
:cond_4
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
sget-object p2, Lcom/intowow/sdk/AdError;->NO_FILL_ERROR:Lcom/intowow/sdk/AdError;
|
|
|
|
invoke-interface {p1, p2}, Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;->onError(Lcom/intowow/sdk/AdError;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 98
|
|
:cond_5
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->a:Lcom/in2wow/sdk/b/e;
|
|
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->r()Lcom/in2wow/sdk/b/a;
|
|
|
|
move-result-object v1
|
|
|
|
.line 99
|
|
iget-object v2, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
.line 100
|
|
iget v3, p0, Lcom/in2wow/sdk/k;->f:I
|
|
|
|
.line 101
|
|
new-instance v4, Lcom/in2wow/sdk/k$1;
|
|
|
|
invoke-direct {v4, p0}, Lcom/in2wow/sdk/k$1;-><init>(Lcom/in2wow/sdk/k;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-wide v6, p1
|
|
|
|
.line 98
|
|
invoke-virtual/range {v1 .. v7}, Lcom/in2wow/sdk/b/a;->a(Ljava/lang/String;ILcom/in2wow/sdk/b/a$a;Lcom/in2wow/sdk/b/e$c;J)V
|
|
|
|
:cond_6
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 197
|
|
:try_start_0
|
|
invoke-static {p1}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/in2wow/sdk/b/e;->o()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 199
|
|
check-cast p1, Lcom/in2wow/sdk/m$a;
|
|
|
|
invoke-interface {p1}, Lcom/in2wow/sdk/m$a;->e()V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/graphics/Rect;)V
|
|
.locals 0
|
|
|
|
.line 231
|
|
iput-object p1, p0, Lcom/in2wow/sdk/k;->g:Landroid/graphics/Rect;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;)V
|
|
.locals 0
|
|
|
|
.line 42
|
|
iput-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
.line 45
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->b:Lcom/in2wow/sdk/i/c;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 46
|
|
iget-object p1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
invoke-interface {p1}, Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;->onAdLoaded()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Z)V
|
|
.locals 0
|
|
|
|
.line 126
|
|
iput-boolean p1, p0, Lcom/in2wow/sdk/k;->n:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public o()V
|
|
.locals 4
|
|
|
|
.line 131
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->b:Lcom/in2wow/sdk/i/c;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 137
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 138
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/in2wow/sdk/b/e;->a(Ljava/lang/Object;)V
|
|
|
|
.line 141
|
|
:cond_1
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
.line 142
|
|
iget-object v1, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
const-class v2, Lcom/intowow/sdk/InterstitialAdActivity;
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
|
|
|
|
.line 143
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v2, "ACTIVITY_TYPE"
|
|
|
|
.line 144
|
|
sget-object v3, Lcom/intowow/sdk/ActivityType;->SINGLE_OFFER:Lcom/intowow/sdk/ActivityType;
|
|
|
|
invoke-virtual {v3}, Lcom/intowow/sdk/ActivityType;->ordinal()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
const-string v2, "PROFILE"
|
|
|
|
.line 145
|
|
iget-object v3, p0, Lcom/in2wow/sdk/k;->b:Lcom/in2wow/sdk/i/c;
|
|
|
|
invoke-virtual {v3}, Lcom/in2wow/sdk/i/c;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v2, "PLACEMENT"
|
|
|
|
.line 146
|
|
iget-object v3, p0, Lcom/in2wow/sdk/k;->c:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v2, "TOKEN"
|
|
|
|
.line 147
|
|
iget-object v3, p0, Lcom/in2wow/sdk/k;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v2, "IS_AUTO_CLOSE_WHEN_ENGAGED"
|
|
|
|
.line 148
|
|
iget-boolean v3, p0, Lcom/in2wow/sdk/k;->n:Z
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
.line 152
|
|
iget-boolean v2, p0, Lcom/in2wow/sdk/k;->m:Z
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
const-string v2, "ENTER_ANIM_ID"
|
|
|
|
.line 155
|
|
iget v3, p0, Lcom/in2wow/sdk/k;->k:I
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
.line 156
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 157
|
|
iget-object v1, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
|
|
.line 158
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
instance-of v0, v0, Landroid/app/Activity;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 159
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
check-cast v0, Landroid/app/Activity;
|
|
|
|
iget v1, p0, Lcom/in2wow/sdk/k;->k:I
|
|
|
|
iget v2, p0, Lcom/in2wow/sdk/k;->l:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 162
|
|
:cond_2
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 163
|
|
iget-object v1, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public p()V
|
|
.locals 3
|
|
|
|
.line 178
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 179
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 180
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v2, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/in2wow/sdk/b/e;->b(Ljava/lang/Object;)V
|
|
|
|
.line 183
|
|
:cond_0
|
|
iput-object v1, p0, Lcom/in2wow/sdk/k;->j:Landroid/content/Context;
|
|
|
|
.line 186
|
|
:cond_1
|
|
iput-object v1, p0, Lcom/in2wow/sdk/k;->i:Lcom/intowow/sdk/InterstitialAd$__InterstitialAdListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public q()Z
|
|
.locals 1
|
|
|
|
.line 208
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/k;->a()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public r()I
|
|
.locals 1
|
|
|
|
.line 217
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/k;->b()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public s()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 226
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/k;->c()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public t()Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
.line 236
|
|
iget-object v0, p0, Lcom/in2wow/sdk/k;->g:Landroid/graphics/Rect;
|
|
|
|
return-object v0
|
|
.end method
|