.class public Lcom/in2wow/sdk/l/a/d;
.super Landroid/support/v4/app/Fragment;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/in2wow/sdk/l/a/d$a;
    }
.end annotation


# instance fields
.field protected a:Lcom/in2wow/sdk/l/c/c/a;

.field protected b:Landroid/os/Handler;

.field protected c:Lcom/in2wow/sdk/h/e;

.field protected d:Lcom/in2wow/sdk/h/a;

.field protected e:Lcom/in2wow/sdk/h/d$a;

.field protected f:Lcom/in2wow/sdk/i/c;

.field protected g:Ljava/lang/String;

.field protected h:Ljava/lang/String;

.field protected i:Ljava/lang/String;

.field protected j:I

.field protected k:I

.field protected l:Lcom/intowow/sdk/I2WAdEventDelegate;

.field private m:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/widget/RelativeLayout;",
            ">;"
        }
    .end annotation
.end field

.field private n:Lcom/in2wow/sdk/l/a/d$a;

.field private o:Lcom/intowow/sdk/PageEventListener;


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 37
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    const/4 v0, 0x0

    .line 47
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->m:Ljava/lang/ref/WeakReference;

    .line 49
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    .line 50
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->b:Landroid/os/Handler;

    .line 51
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    .line 52
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->d:Lcom/in2wow/sdk/h/a;

    .line 53
    sget-object v1, Lcom/in2wow/sdk/h/d$a;->a:Lcom/in2wow/sdk/h/d$a;

    iput-object v1, p0, Lcom/in2wow/sdk/l/a/d;->e:Lcom/in2wow/sdk/h/d$a;

    .line 55
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    .line 56
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->g:Ljava/lang/String;

    .line 57
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->h:Ljava/lang/String;

    .line 58
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->i:Ljava/lang/String;

    const/4 v1, 0x0

    .line 59
    iput v1, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    .line 60
    iput v1, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    .line 61
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    .line 63
    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->n:Lcom/in2wow/sdk/l/a/d$a;

    .line 353
    new-instance v0, Lcom/in2wow/sdk/l/a/d$1;

    invoke-direct {v0, p0}, Lcom/in2wow/sdk/l/a/d$1;-><init>(Lcom/in2wow/sdk/l/a/d;)V

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->o:Lcom/intowow/sdk/PageEventListener;

    return-void
.end method

.method private a()V
    .locals 5

    .line 94
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    if-nez v0, :cond_0

    .line 96
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    invoke-virtual {v0}, Lcom/in2wow/sdk/i/c;->k()Lcom/in2wow/sdk/i/c$j;

    move-result-object v0

    invoke-static {v0}, Lcom/in2wow/sdk/l/c/c/Y;->a(Lcom/in2wow/sdk/i/c$j;)Lcom/in2wow/sdk/l/c/c/z;

    move-result-object v0

    .line 97
    invoke-virtual {p0}, Lcom/in2wow/sdk/l/a/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    sget-object v2, Lcom/in2wow/sdk/i/l;->b:Lcom/in2wow/sdk/i/l;

    iget-object v3, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    .line 98
    new-instance v4, Lcom/in2wow/sdk/l/a/d$2;

    invoke-direct {v4, p0}, Lcom/in2wow/sdk/l/a/d$2;-><init>(Lcom/in2wow/sdk/l/a/d;)V

    .line 96
    invoke-interface {v0, v1, v2, v3, v4}, Lcom/in2wow/sdk/l/c/c/z;->a(Landroid/app/Activity;Lcom/in2wow/sdk/i/l;Lcom/in2wow/sdk/i/c;Lcom/in2wow/sdk/l/c/c/z$a;)Lcom/in2wow/sdk/l/c/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    .line 194
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/l/c/c/a;->a(Ljava/lang/String;)V

    .line 195
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/l/c/c/a;->b(Ljava/lang/String;)V

    .line 196
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    iget v1, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    add-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/l/c/c/a;->b(I)V

    :cond_0
    return-void
.end method

.method private a(Landroid/widget/RelativeLayout;)V
    .locals 1

    .line 290
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    if-nez v0, :cond_0

    return-void

    .line 294
    :cond_0
    :try_start_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    invoke-virtual {v0, p1}, Lcom/in2wow/sdk/l/c/c/a;->a(Landroid/widget/RelativeLayout;)V

    .line 295
    invoke-direct {p0, p1}, Lcom/in2wow/sdk/l/a/d;->b(Landroid/widget/RelativeLayout;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method private a(Lcom/in2wow/sdk/k/h;)V
    .locals 10

    .line 326
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    if-nez v0, :cond_0

    return-void

    .line 330
    :cond_0
    invoke-virtual {p0}, Lcom/in2wow/sdk/l/a/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;

    move-result-object v1

    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    invoke-virtual {v0}, Lcom/in2wow/sdk/i/c;->i()I

    move-result v2

    .line 331
    iget v0, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    add-int/lit8 v3, v0, 0x1

    iget-object v4, p0, Lcom/in2wow/sdk/l/a/d;->g:Ljava/lang/String;

    iget-object v5, p0, Lcom/in2wow/sdk/l/a/d;->h:Ljava/lang/String;

    const-string v6, "*"

    iget-object v7, p0, Lcom/in2wow/sdk/l/a/d;->i:Ljava/lang/String;

    .line 332
    iget-object v9, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    move-object v8, p1

    .line 330
    invoke-virtual/range {v1 .. v9}, Lcom/in2wow/sdk/b/e;->a(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/in2wow/sdk/k/h;Lcom/in2wow/sdk/i/c;)V

    return-void
.end method

.method static synthetic a(Lcom/in2wow/sdk/l/a/d;Landroid/widget/RelativeLayout;)V
    .locals 0

    .line 289
    invoke-direct {p0, p1}, Lcom/in2wow/sdk/l/a/d;->a(Landroid/widget/RelativeLayout;)V

    return-void
.end method

.method static synthetic a(Lcom/in2wow/sdk/l/a/d;Lcom/in2wow/sdk/k/h;)V
    .locals 0

    .line 325
    invoke-direct {p0, p1}, Lcom/in2wow/sdk/l/a/d;->a(Lcom/in2wow/sdk/k/h;)V

    return-void
.end method

.method private b(Landroid/widget/RelativeLayout;)V
    .locals 4

    .line 305
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    .line 306
    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    sget-object v2, Lcom/in2wow/sdk/h/e$a;->d:Lcom/in2wow/sdk/h/e$a;

    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/e;->a(Lcom/in2wow/sdk/h/e$a;)I

    move-result v1

    .line 307
    iget-object v2, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    sget-object v3, Lcom/in2wow/sdk/h/e$a;->e:Lcom/in2wow/sdk/h/e$a;

    invoke-virtual {v2, v3}, Lcom/in2wow/sdk/h/e;->a(Lcom/in2wow/sdk/h/e$a;)I

    move-result v2

    .line 305
    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xe

    .line 308
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 310
    invoke-direct {p0}, Lcom/in2wow/sdk/l/a/d;->d()Z

    move-result v1

    if-eqz v1, :cond_0

    const/16 v1, 0xc

    .line 311
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 312
    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->d:Lcom/in2wow/sdk/h/a;

    const-string v2, "mask_bottom_.9.png"

    .line 313
    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/a;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_0

    .line 315
    :cond_0
    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->d:Lcom/in2wow/sdk/h/a;

    const-string v2, "bg_mask.9.png"

    .line 316
    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/a;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 318
    :goto_0
    new-instance v2, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/in2wow/sdk/l/a/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 319
    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 320
    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 321
    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 322
    invoke-virtual {p1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method private b()Z
    .locals 3

    .line 203
    invoke-virtual {p0}, Lcom/in2wow/sdk/l/a/d;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 206
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    const-string v2, "profile"

    .line 207
    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 206
    invoke-static {v1}, Lcom/in2wow/sdk/i/c;->a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/i/c;

    move-result-object v1

    iput-object v1, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    const-string v1, "placement"

    .line 208
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/in2wow/sdk/l/a/d;->g:Ljava/lang/String;

    const-string v1, "adkey"

    .line 209
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/in2wow/sdk/l/a/d;->h:Ljava/lang/String;

    const-string v1, "index"

    .line 210
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    const-string v1, "token"

    .line 211
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->i:Ljava/lang/String;

    .line 212
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    if-eqz v0, :cond_0

    .line 213
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    iget v1, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    iget-object v2, p0, Lcom/in2wow/sdk/l/a/d;->o:Lcom/intowow/sdk/PageEventListener;

    invoke-interface {v0, v1, v2}, Lcom/intowow/sdk/I2WAdEventDelegate;->setOnPageEventListener(ILcom/intowow/sdk/PageEventListener;)V

    .line 214
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->l:Lcom/intowow/sdk/I2WAdEventDelegate;

    invoke-interface {v0}, Lcom/intowow/sdk/I2WAdEventDelegate;->getActivePageIndex()I

    move-result v0

    iput v0, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    .line 217
    :cond_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->f:Lcom/in2wow/sdk/i/c;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->g:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->h:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 218
    invoke-direct {p0}, Lcom/in2wow/sdk/l/a/d;->a()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const/4 v0, 0x1

    return v0

    :catch_0
    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method private c()Landroid/widget/RelativeLayout;
    .locals 3

    .line 228
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    invoke-direct {v0, v1, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 230
    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    sget-object v2, Lcom/in2wow/sdk/h/e$a;->l:Lcom/in2wow/sdk/h/e$a;

    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/e;->a(Lcom/in2wow/sdk/h/e$a;)I

    move-result v1

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    .line 231
    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    sget-object v2, Lcom/in2wow/sdk/h/e$a;->l:Lcom/in2wow/sdk/h/e$a;

    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/e;->a(Lcom/in2wow/sdk/h/e$a;)I

    move-result v1

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    .line 232
    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/in2wow/sdk/l/a/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 233
    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-object v1
.end method

.method private d()Z
    .locals 2

    .line 301
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->e:Lcom/in2wow/sdk/h/d$a;

    sget-object v1, Lcom/in2wow/sdk/h/d$a;->b:Lcom/in2wow/sdk/h/d$a;

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->e:Lcom/in2wow/sdk/h/d$a;

    sget-object v1, Lcom/in2wow/sdk/h/d$a;->a:Lcom/in2wow/sdk/h/d$a;

    if-eq v0, v1, :cond_0

    const/4 v0, 0x0

    return v0

    :cond_0
    const/4 v0, 0x1

    return v0
.end method


# virtual methods
.method public a(Lcom/in2wow/sdk/i/c;Ljava/lang/String;ILjava/lang/String;)V
    .locals 4

    const-string v0, "%s_%d_%d"

    const/4 v1, 0x3

    .line 82
    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p2, v1, v2

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

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    const/4 v3, 0x1

    aput-object v2, v1, v3

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

    move-result-object v2

    const/4 v3, 0x2

    aput-object v2, v1, v3

    .line 82
    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 84
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string v2, "profile"

    .line 85
    invoke-virtual {p1}, Lcom/in2wow/sdk/i/c;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, v2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "placement"

    .line 86
    invoke-virtual {v1, p1, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "adkey"

    .line 87
    invoke-virtual {v1, p1, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "index"

    .line 88
    invoke-virtual {v1, p1, p3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string p1, "token"

    .line 89
    invoke-virtual {v1, p1, p4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 90
    invoke-virtual {p0, v1}, Lcom/in2wow/sdk/l/a/d;->setArguments(Landroid/os/Bundle;)V

    return-void
.end method

.method public onAttach(Landroid/app/Activity;)V
    .locals 1

    .line 67
    invoke-super {p0, p1}, Landroid/support/v4/app/Fragment;->onAttach(Landroid/app/Activity;)V

    .line 69
    :try_start_0
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->b:Landroid/os/Handler;

    .line 70
    invoke-static {p1}, Lcom/in2wow/sdk/h/e;->a(Landroid/app/Activity;)Lcom/in2wow/sdk/h/e;

    move-result-object v0

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    .line 71
    invoke-static {p1}, Lcom/in2wow/sdk/h/a;->a(Landroid/app/Activity;)Lcom/in2wow/sdk/h/a;

    move-result-object v0

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->d:Lcom/in2wow/sdk/h/a;

    .line 72
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->c:Lcom/in2wow/sdk/h/e;

    invoke-virtual {v0}, Lcom/in2wow/sdk/h/e;->a()Lcom/in2wow/sdk/h/d$a;

    move-result-object v0

    iput-object v0, p0, Lcom/in2wow/sdk/l/a/d;->e:Lcom/in2wow/sdk/h/d$a;

    .line 73
    check-cast p1, Lcom/intowow/sdk/SplashAdActivity;

    invoke-virtual {p1}, Lcom/intowow/sdk/SplashAdActivity;->getMultiOfferDelegate()Lcom/intowow/sdk/I2WAdEventDelegate;

    move-result-object p1

    iput-object p1, p0, Lcom/in2wow/sdk/l/a/d;->l:Lcom/intowow/sdk/I2WAdEventDelegate;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2

    .line 240
    invoke-direct {p0}, Lcom/in2wow/sdk/l/a/d;->b()Z

    .line 242
    iget-object p1, p0, Lcom/in2wow/sdk/l/a/d;->m:Ljava/lang/ref/WeakReference;

    if-nez p1, :cond_0

    const/4 p1, 0x0

    goto :goto_0

    :cond_0
    iget-object p1, p0, Lcom/in2wow/sdk/l/a/d;->m:Ljava/lang/ref/WeakReference;

    invoke-virtual {p1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/widget/RelativeLayout;

    :goto_0
    if-nez p1, :cond_3

    .line 244
    invoke-direct {p0}, Lcom/in2wow/sdk/l/a/d;->c()Landroid/widget/RelativeLayout;

    move-result-object p1

    .line 245
    iget-object p2, p0, Lcom/in2wow/sdk/l/a/d;->n:Lcom/in2wow/sdk/l/a/d$a;

    if-eqz p2, :cond_1

    .line 246
    iget-object p2, p0, Lcom/in2wow/sdk/l/a/d;->b:Landroid/os/Handler;

    iget-object p3, p0, Lcom/in2wow/sdk/l/a/d;->n:Lcom/in2wow/sdk/l/a/d$a;

    invoke-virtual {p2, p3}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 248
    :cond_1
    new-instance p2, Lcom/in2wow/sdk/l/a/d$a;

    invoke-direct {p2, p0, p1}, Lcom/in2wow/sdk/l/a/d$a;-><init>(Lcom/in2wow/sdk/l/a/d;Landroid/widget/RelativeLayout;)V

    iput-object p2, p0, Lcom/in2wow/sdk/l/a/d;->n:Lcom/in2wow/sdk/l/a/d$a;

    .line 249
    iget p2, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    iget p3, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    if-eq p2, p3, :cond_2

    .line 250
    iget p2, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    iget p3, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    sub-int/2addr p2, p3

    invoke-static {p2}, Ljava/lang/Math;->abs(I)I

    move-result p2

    int-to-long p2, p2

    const-wide/16 v0, 0x1f4

    mul-long p2, p2, v0

    .line 252
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->b:Landroid/os/Handler;

    iget-object v1, p0, Lcom/in2wow/sdk/l/a/d;->n:Lcom/in2wow/sdk/l/a/d$a;

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

    goto :goto_1

    .line 254
    :cond_2
    invoke-direct {p0, p1}, Lcom/in2wow/sdk/l/a/d;->a(Landroid/widget/RelativeLayout;)V

    .line 256
    :goto_1
    new-instance p2, Ljava/lang/ref/WeakReference;

    invoke-direct {p2, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/in2wow/sdk/l/a/d;->m:Ljava/lang/ref/WeakReference;

    goto :goto_2

    .line 262
    :cond_3
    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getParent()Landroid/view/ViewParent;

    move-result-object p2

    if-eqz p2, :cond_4

    .line 263
    instance-of p3, p2, Landroid/view/ViewGroup;

    if-eqz p3, :cond_4

    .line 264
    check-cast p2, Landroid/view/ViewGroup;

    invoke-virtual {p2, p1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_4
    :goto_2
    return-object p1
.end method

.method public onPause()V
    .locals 2

    .line 346
    invoke-super {p0}, Landroid/support/v4/app/Fragment;->onPause()V

    .line 347
    iget v0, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    iget v1, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    if-ne v0, v1, :cond_0

    .line 348
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    invoke-virtual {v0}, Lcom/in2wow/sdk/l/c/c/a;->h()Z

    .line 349
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    invoke-virtual {v0}, Lcom/in2wow/sdk/l/c/c/a;->k()Z

    :cond_0
    return-void
.end method

.method public onResume()V
    .locals 2

    .line 337
    invoke-super {p0}, Landroid/support/v4/app/Fragment;->onResume()V

    .line 338
    iget v0, p0, Lcom/in2wow/sdk/l/a/d;->k:I

    iget v1, p0, Lcom/in2wow/sdk/l/a/d;->j:I

    if-ne v0, v1, :cond_0

    .line 339
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    invoke-virtual {v0}, Lcom/in2wow/sdk/l/c/c/a;->g()Z

    .line 340
    iget-object v0, p0, Lcom/in2wow/sdk/l/a/d;->a:Lcom/in2wow/sdk/l/c/c/a;

    invoke-virtual {v0}, Lcom/in2wow/sdk/l/c/c/a;->j()Z

    :cond_0
    return-void
.end method
