.class public Lcom/in2wow/sdk/l/c/a/a;
.super Landroid/widget/RelativeLayout;
.source "SourceFile"

# interfaces
.implements Lcom/in2wow/sdk/l/c/c/y;


# instance fields
.field private a:Z

.field private b:Z

.field private c:Z

.field private d:Z

.field private e:Z

.field private f:Z

.field private g:Landroid/view/View;

.field private h:J

.field private i:J


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 19
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 p1, 0x0

    .line 15
    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z

    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z

    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->c:Z

    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->d:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->e:Z

    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->f:Z

    const/4 p1, 0x0

    .line 16
    iput-object p1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    const-wide/16 v0, 0x0

    .line 17
    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->i:J

    return-void
.end method

.method public static a(Landroid/app/Activity;Lcom/in2wow/sdk/h/a;Landroid/widget/RelativeLayout$LayoutParams;)Lcom/in2wow/sdk/l/c/a/a;
    .locals 2

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

    const/4 v1, -0x2

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

    const/16 v1, 0xd

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

    .line 34
    new-instance v1, Lcom/in2wow/sdk/l/c/a/a;

    invoke-direct {v1, p0}, Lcom/in2wow/sdk/l/c/a/a;-><init>(Landroid/content/Context;)V

    .line 35
    invoke-virtual {v1, v0}, Lcom/in2wow/sdk/l/c/a/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 36
    invoke-virtual {v1, p1, p2}, Lcom/in2wow/sdk/l/c/a/a;->a(Lcom/in2wow/sdk/h/a;Landroid/widget/RelativeLayout$LayoutParams;)V

    const/16 p0, 0x8

    .line 37
    invoke-virtual {v1, p0}, Lcom/in2wow/sdk/l/c/a/a;->setVisibility(I)V

    return-object v1
.end method

.method public static a(Landroid/app/Activity;Lcom/in2wow/sdk/h/a;Landroid/widget/RelativeLayout$LayoutParams;Landroid/widget/RelativeLayout$LayoutParams;)Lcom/in2wow/sdk/l/c/a/a;
    .locals 1

    .line 45
    new-instance v0, Lcom/in2wow/sdk/l/c/a/a;

    invoke-direct {v0, p0}, Lcom/in2wow/sdk/l/c/a/a;-><init>(Landroid/content/Context;)V

    .line 46
    invoke-virtual {v0, p2}, Lcom/in2wow/sdk/l/c/a/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 47
    invoke-virtual {v0, p1, p3}, Lcom/in2wow/sdk/l/c/a/a;->a(Lcom/in2wow/sdk/h/a;Landroid/widget/RelativeLayout$LayoutParams;)V

    const/16 p0, 0x8

    .line 48
    invoke-virtual {v0, p0}, Lcom/in2wow/sdk/l/c/a/a;->setVisibility(I)V

    return-object v0
.end method

.method private a(Landroid/view/View;F)V
    .locals 0

    .line 173
    invoke-static {p1, p2}, Lcom/in2wow/a/c/a;->c(Landroid/view/View;F)V

    .line 174
    invoke-static {p1, p2}, Lcom/in2wow/a/c/a;->d(Landroid/view/View;F)V

    return-void
.end method

.method private a(ZF)V
    .locals 2

    .line 178
    iget-object p1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-static {p1}, Lcom/in2wow/a/c/b;->a(Landroid/view/View;)Lcom/in2wow/a/c/b;

    move-result-object p1

    const-wide/16 v0, 0x320

    invoke-virtual {p1, v0, v1}, Lcom/in2wow/a/c/b;->a(J)Lcom/in2wow/a/c/b;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/in2wow/a/c/b;->g(F)Lcom/in2wow/a/c/b;

    .line 180
    iget-object p1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-static {p1}, Lcom/in2wow/a/c/b;->a(Landroid/view/View;)Lcom/in2wow/a/c/b;

    move-result-object p1

    invoke-virtual {p1, v0, v1}, Lcom/in2wow/a/c/b;->a(J)Lcom/in2wow/a/c/b;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/in2wow/a/c/b;->h(F)Lcom/in2wow/a/c/b;

    return-void
.end method

.method private declared-synchronized b(Z)V
    .locals 3

    monitor-enter p0

    .line 155
    :try_start_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-nez v0, :cond_0

    .line 156
    monitor-exit p0

    return-void

    :cond_0
    const v0, 0x3f4ccccd    # 0.8f

    const/high16 v1, 0x3f800000    # 1.0f

    if-eqz p1, :cond_1

    const/high16 v2, 0x3f800000    # 1.0f

    goto :goto_0

    :cond_1
    const v2, 0x3f4ccccd    # 0.8f

    :goto_0
    if-eqz p1, :cond_2

    goto :goto_1

    :cond_2
    const/high16 v0, 0x3f800000    # 1.0f

    .line 165
    :goto_1
    :try_start_1
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-direct {p0, v1, v2}, Lcom/in2wow/sdk/l/c/a/a;->a(Landroid/view/View;F)V

    .line 170
    invoke-direct {p0, p1, v0}, Lcom/in2wow/sdk/l/c/a/a;->a(ZF)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 171
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    .line 154
    monitor-exit p0

    throw p1
.end method

.method private declared-synchronized g()V
    .locals 2

    monitor-enter p0

    .line 126
    :try_start_0
    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->d:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    .line 127
    monitor-exit p0

    return-void

    :cond_0
    const/4 v0, 0x1

    .line 129
    :try_start_1
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->d:Z

    .line 130
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z

    const/4 v0, 0x0

    .line 131
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z

    .line 132
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    if-eqz v1, :cond_1

    .line 133
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

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

    :cond_1
    const/16 v1, 0x8

    .line 135
    invoke-virtual {p0, v1}, Lcom/in2wow/sdk/l/c/a/a;->setVisibility(I)V

    .line 136
    invoke-direct {p0}, Lcom/in2wow/sdk/l/c/a/a;->h()V

    .line 137
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->d:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 138
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    .line 125
    monitor-exit p0

    throw v0
.end method

.method private h()V
    .locals 2

    const-wide/16 v0, 0x0

    .line 140
    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    .line 141
    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->i:J

    return-void
.end method

.method private declared-synchronized i()V
    .locals 3

    monitor-enter p0

    .line 144
    :try_start_0
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    if-eqz v0, :cond_0

    .line 145
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

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

    .line 146
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-static {v0}, Lcom/in2wow/a/c/b;->a(Landroid/view/View;)Lcom/in2wow/a/c/b;

    move-result-object v0

    const-wide/16 v1, 0x7d0

    invoke-virtual {v0, v1, v2}, Lcom/in2wow/a/c/b;->a(J)Lcom/in2wow/a/c/b;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/in2wow/a/c/b;->i(F)Lcom/in2wow/a/c/b;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 148
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    .line 143
    monitor-exit p0

    throw v0
.end method


# virtual methods
.method public declared-synchronized a()V
    .locals 2

    monitor-enter p0

    .line 98
    :try_start_0
    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->e:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-nez v0, :cond_0

    .line 99
    monitor-exit p0

    return-void

    :cond_0
    const/4 v0, 0x1

    .line 101
    :try_start_1
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z

    .line 102
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    if-eqz v1, :cond_1

    .line 103
    iget-object v1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

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

    :cond_1
    const/16 v1, 0x8

    .line 105
    invoke-virtual {p0, v1}, Lcom/in2wow/sdk/l/c/a/a;->setVisibility(I)V

    .line 106
    invoke-direct {p0}, Lcom/in2wow/sdk/l/c/a/a;->h()V

    .line 107
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 108
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    .line 97
    monitor-exit p0

    throw v0
.end method

.method public a(I)V
    .locals 7

    .line 53
    iget-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    const-wide/16 v2, 0x0

    const/4 p1, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z

    if-nez v0, :cond_0

    .line 56
    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z

    .line 58
    :cond_0
    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z

    if-nez v0, :cond_6

    iget-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z

    if-eqz v0, :cond_1

    goto :goto_0

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

    move-result-wide v0

    .line 64
    iget-wide v4, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    cmp-long v6, v4, v2

    if-nez v6, :cond_3

    .line 65
    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->d:Z

    .line 66
    iget-boolean v2, p0, Lcom/in2wow/sdk/l/c/a/a;->f:Z

    if-nez v2, :cond_2

    .line 67
    invoke-virtual {p0, p1}, Lcom/in2wow/sdk/l/c/a/a;->setVisibility(I)V

    .line 69
    :cond_2
    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    .line 70
    iget-object p1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    const/high16 v2, 0x3f800000    # 1.0f

    invoke-static {p1, v2}, Lcom/in2wow/a/c/a;->a(Landroid/view/View;F)V

    .line 74
    :cond_3
    iget-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->e:Z

    const/4 v2, 0x1

    if-eqz p1, :cond_4

    iget-wide v3, p0, Lcom/in2wow/sdk/l/c/a/a;->h:J

    sub-long v3, v0, v3

    const-wide/16 v5, 0xbb8

    cmp-long p1, v3, v5

    if-ltz p1, :cond_4

    .line 75
    iput-boolean v2, p0, Lcom/in2wow/sdk/l/c/a/a;->a:Z

    .line 76
    invoke-direct {p0}, Lcom/in2wow/sdk/l/c/a/a;->i()V

    return-void

    .line 81
    :cond_4
    iget-wide v3, p0, Lcom/in2wow/sdk/l/c/a/a;->i:J

    sub-long v3, v0, v3

    const-wide/16 v5, 0x320

    cmp-long p1, v3, v5

    if-ltz p1, :cond_5

    .line 82
    iput-wide v0, p0, Lcom/in2wow/sdk/l/c/a/a;->i:J

    .line 83
    iget-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->c:Z

    xor-int/2addr p1, v2

    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->c:Z

    .line 84
    iget-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->c:Z

    invoke-direct {p0, p1}, Lcom/in2wow/sdk/l/c/a/a;->b(Z)V

    :cond_5
    return-void

    :cond_6
    :goto_0
    return-void
.end method

.method public a(Lcom/in2wow/sdk/h/a;Landroid/widget/RelativeLayout$LayoutParams;)V
    .locals 2

    .line 23
    new-instance v0, Landroid/view/View;

    invoke-virtual {p0}, Lcom/in2wow/sdk/l/c/a/a;->getContext()Landroid/content/Context;

    move-result-object v1

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

    iput-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    .line 24
    iget-object v0, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-virtual {v0, p2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 25
    iget-object p2, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    const-string v0, "audio_tutorial_btn.png"

    invoke-virtual {p1, v0}, Lcom/in2wow/sdk/h/a;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    invoke-virtual {p2, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 26
    iget-object p1, p0, Lcom/in2wow/sdk/l/c/a/a;->g:Landroid/view/View;

    invoke-virtual {p0, p1}, Lcom/in2wow/sdk/l/c/a/a;->addView(Landroid/view/View;)V

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 113
    iput-boolean p1, p0, Lcom/in2wow/sdk/l/c/a/a;->f:Z

    return-void
.end method

.method public b()V
    .locals 0

    .line 89
    invoke-direct {p0}, Lcom/in2wow/sdk/l/c/a/a;->g()V

    return-void
.end method

.method public c()V
    .locals 0

    return-void
.end method

.method public d()V
    .locals 0

    return-void
.end method

.method public e()V
    .locals 1

    const/4 v0, 0x0

    .line 110
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->e:Z

    return-void
.end method

.method public declared-synchronized f()V
    .locals 1

    monitor-enter p0

    const/4 v0, 0x1

    .line 121
    :try_start_0
    iput-boolean v0, p0, Lcom/in2wow/sdk/l/c/a/a;->b:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 122
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    .line 120
    monitor-exit p0

    throw v0
.end method
