.class public Lcom/in2wow/sdk/l/c/c/w;
.super Lcom/in2wow/sdk/l/c/c/q;
.source "SourceFile"


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


# instance fields
.field private at:Landroid/widget/ImageView;


# direct methods
.method private constructor <init>(Landroid/app/Activity;Lcom/in2wow/sdk/i/l;Lcom/in2wow/sdk/i/c;Lcom/in2wow/sdk/l/c/c/z$a;)V
    .locals 0

    .line 36
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/in2wow/sdk/l/c/c/q;-><init>(Landroid/app/Activity;Lcom/in2wow/sdk/i/l;Lcom/in2wow/sdk/i/c;Lcom/in2wow/sdk/l/c/c/z$a;)V

    const/4 p1, 0x0

    .line 29
    iput-object p1, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    return-void
.end method

.method synthetic constructor <init>(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/w;)V
    .locals 0

    .line 30
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/in2wow/sdk/l/c/c/w;-><init>(Landroid/app/Activity;Lcom/in2wow/sdk/i/l;Lcom/in2wow/sdk/i/c;Lcom/in2wow/sdk/l/c/c/z$a;)V

    return-void
.end method

.method private J()Landroid/widget/RelativeLayout$LayoutParams;
    .locals 3

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

    iget v1, p0, Lcom/in2wow/sdk/l/c/c/w;->W:I

    iget v2, p0, Lcom/in2wow/sdk/l/c/c/w;->X:I

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

    const/16 v1, 0xc

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

    const/16 v1, 0xe

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

    .line 47
    iget v1, p0, Lcom/in2wow/sdk/l/c/c/w;->U:I

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->bottomMargin:I

    return-object v0
.end method


# virtual methods
.method protected C()V
    .locals 3

    .line 94
    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/c/w;->T:Z

    if-eqz v0, :cond_0

    return-void

    .line 98
    :cond_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    const/4 v1, 0x0

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

    .line 99
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->I:Landroid/view/View;

    if-eqz v0, :cond_1

    .line 100
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->I:Landroid/view/View;

    const/16 v1, 0x8

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

    :cond_1
    const/4 v0, 0x1

    .line 103
    invoke-virtual {p0, v0}, Lcom/in2wow/sdk/l/c/c/w;->a(Z)V

    .line 105
    invoke-virtual {p0}, Lcom/in2wow/sdk/l/c/c/w;->d()V

    .line 106
    new-instance v0, Lcom/in2wow/sdk/l/c/c/w$a;

    iget-object v1, p0, Lcom/in2wow/sdk/l/c/c/w;->F:Landroid/widget/RelativeLayout;

    const/16 v2, 0x3e8

    invoke-direct {v0, p0, v1, v2}, Lcom/in2wow/sdk/l/c/c/w$a;-><init>(Lcom/in2wow/sdk/l/c/c/w;Landroid/widget/RelativeLayout;I)V

    .line 107
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/c/w;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method

.method protected b(Landroid/widget/RelativeLayout;)V
    .locals 3

    .line 52
    invoke-super {p0, p1}, Lcom/in2wow/sdk/l/c/c/q;->b(Landroid/widget/RelativeLayout;)V

    .line 53
    new-instance v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/in2wow/sdk/l/c/c/w;->a:Landroid/app/Activity;

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

    iput-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    .line 54
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    invoke-direct {p0}, Lcom/in2wow/sdk/l/c/c/w;->J()Landroid/widget/RelativeLayout$LayoutParams;

    move-result-object v1

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

    .line 55
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/in2wow/sdk/l/c/c/w;->e:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 56
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

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

    .line 57
    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/c/w;->T:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 58
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

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

    goto :goto_0

    .line 61
    :cond_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    const/16 v2, 0x8

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

    .line 63
    :goto_0
    sget-object v0, Lcom/in2wow/sdk/i/c$d;->r:Lcom/in2wow/sdk/i/c$d;

    iget-object v2, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    invoke-virtual {p0, v0, v2}, Lcom/in2wow/sdk/l/c/c/w;->a(Lcom/in2wow/sdk/i/c$d;Landroid/widget/ImageView;)V

    .line 65
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->ap:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/in2wow/sdk/l/c/c/w;->ad:Lcom/in2wow/sdk/l/c/a/b;

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

    .line 66
    invoke-virtual {p0}, Lcom/in2wow/sdk/l/c/c/w;->u()V

    const/4 v0, 0x3

    .line 67
    new-array v0, v0, [Landroid/view/View;

    iget-object v2, p0, Lcom/in2wow/sdk/l/c/c/w;->at:Landroid/widget/ImageView;

    aput-object v2, v0, v1

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/in2wow/sdk/l/c/c/w;->ap:Landroid/widget/RelativeLayout;

    aput-object v2, v0, v1

    const/4 v1, 0x2

    iget-object v2, p0, Lcom/in2wow/sdk/l/c/c/w;->ac:Landroid/widget/ImageView;

    aput-object v2, v0, v1

    invoke-static {p1, v0}, Lcom/in2wow/sdk/m/q;->a(Landroid/view/ViewGroup;[Landroid/view/View;)V

    .line 68
    invoke-virtual {p0, p1}, Lcom/in2wow/sdk/l/c/c/w;->a(Landroid/view/ViewGroup;)V

    return-void
.end method

.method protected s()I
    .locals 2

    .line 40
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->g:Lcom/in2wow/sdk/h/e;

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

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

    move-result v0

    return v0
.end method

.method public t()I
    .locals 5

    .line 74
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/c/w;->c:Lcom/in2wow/sdk/i/c;

    sget-object v1, Lcom/in2wow/sdk/i/c$d;->u:Lcom/in2wow/sdk/i/c$d;

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/i/c;->a(Lcom/in2wow/sdk/i/c$d;)Lcom/in2wow/sdk/i/c$c;

    move-result-object v0

    check-cast v0, Lcom/in2wow/sdk/i/c$l;

    .line 75
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/c/w;->c:Lcom/in2wow/sdk/i/c;

    sget-object v2, Lcom/in2wow/sdk/i/c$d;->r:Lcom/in2wow/sdk/i/c$d;

    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/i/c;->a(Lcom/in2wow/sdk/i/c$d;)Lcom/in2wow/sdk/i/c$c;

    move-result-object v1

    check-cast v1, Lcom/in2wow/sdk/i/c$l;

    .line 77
    invoke-virtual {v1}, Lcom/in2wow/sdk/i/c$l;->g()I

    move-result v1

    .line 79
    invoke-virtual {v0}, Lcom/in2wow/sdk/i/c$l;->f()I

    move-result v2

    .line 80
    invoke-virtual {v0}, Lcom/in2wow/sdk/i/c$l;->g()I

    move-result v0

    const/4 v3, 0x0

    if-nez v2, :cond_0

    if-nez v0, :cond_0

    return v3

    .line 85
    :cond_0
    iget v4, p0, Lcom/in2wow/sdk/l/c/c/w;->W:I

    int-to-float v4, v4

    int-to-float v2, v2

    div-float/2addr v4, v2

    int-to-float v0, v0

    mul-float v0, v0, v4

    float-to-int v0, v0

    int-to-float v1, v1

    mul-float v4, v4, v1

    float-to-int v1, v4

    .line 87
    iput v1, p0, Lcom/in2wow/sdk/l/c/c/w;->X:I

    .line 88
    iget-boolean v1, p0, Lcom/in2wow/sdk/l/c/c/w;->T:Z

    if-eqz v1, :cond_1

    iget v3, p0, Lcom/in2wow/sdk/l/c/c/w;->X:I

    :cond_1
    add-int/2addr v0, v3

    iput v0, p0, Lcom/in2wow/sdk/l/c/c/w;->V:I

    .line 89
    iget v0, p0, Lcom/in2wow/sdk/l/c/c/w;->V:I

    return v0
.end method
