.class Lcom/vv/hgtv/s;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnKeyListener;


# instance fields
.field final synthetic a:Lcom/vv/hgtv/PlayerActivity;


# direct methods
.method constructor <init>(Lcom/vv/hgtv/PlayerActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
    .locals 8

    const/4 v7, 0x3

    const/4 v1, 0x1

    const/16 v6, 0x16

    const/16 v5, 0x15

    const/4 v2, 0x0

    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->Y(Lcom/vv/hgtv/PlayerActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getSelectedView()Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return v2

    :cond_1
    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->Y(Lcom/vv/hgtv/PlayerActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getSelectedItemPosition()I

    move-result v3

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->Y(Lcom/vv/hgtv/PlayerActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getSelectedView()Landroid/view/View;

    move-result-object v0

    const v4, 0x7f070020

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    packed-switch v3, :pswitch_data_0

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v0, v0, Lcom/vv/hgtv/PlayerActivity;->f:Ljava/lang/Runnable;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->n(Lcom/vv/hgtv/PlayerActivity;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v1, v1, Lcom/vv/hgtv/PlayerActivity;->f:Ljava/lang/Runnable;

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

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->n(Lcom/vv/hgtv/PlayerActivity;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v1, v1, Lcom/vv/hgtv/PlayerActivity;->f:Ljava/lang/Runnable;

    const-wide/16 v4, 0x2710

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

    goto :goto_0

    :pswitch_0
    if-ne p2, v5, :cond_4

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->K(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    if-lez v1, :cond_3

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->K(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->d(Lcom/vv/hgtv/PlayerActivity;I)V

    :goto_2
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->M(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_3
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    const/4 v3, 0x2

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->d(Lcom/vv/hgtv/PlayerActivity;I)V

    goto :goto_2

    :cond_4
    if-ne p2, v6, :cond_2

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->K(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    if-ge v1, v7, :cond_5

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->K(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->d(Lcom/vv/hgtv/PlayerActivity;I)V

    :goto_3
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->M(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_5
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1, v2}, Lcom/vv/hgtv/PlayerActivity;->d(Lcom/vv/hgtv/PlayerActivity;I)V

    goto :goto_3

    :pswitch_1
    if-ne p2, v6, :cond_7

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->N(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    if-ge v1, v7, :cond_6

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->N(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;I)V

    :goto_4
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->P(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->O(Lcom/vv/hgtv/PlayerActivity;)V

    goto/16 :goto_1

    :cond_6
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1, v2}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;I)V

    goto :goto_4

    :cond_7
    if-ne p2, v5, :cond_2

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->N(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    if-lez v1, :cond_8

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->N(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;I)V

    :goto_5
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->P(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->O(Lcom/vv/hgtv/PlayerActivity;)V

    goto/16 :goto_1

    :cond_8
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1, v7}, Lcom/vv/hgtv/PlayerActivity;->e(Lcom/vv/hgtv/PlayerActivity;I)V

    goto :goto_5

    :pswitch_2
    if-eq p2, v5, :cond_9

    if-ne p2, v6, :cond_2

    :cond_9
    iget-object v3, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v4, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v4}, Lcom/vv/hgtv/PlayerActivity;->Q(Lcom/vv/hgtv/PlayerActivity;)Z

    move-result v4

    if-eqz v4, :cond_a

    move v1, v2

    :cond_a
    invoke-static {v3, v1}, Lcom/vv/hgtv/PlayerActivity;->a(Lcom/vv/hgtv/PlayerActivity;Z)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->R(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :pswitch_3
    if-eq p2, v5, :cond_b

    if-ne p2, v6, :cond_2

    :cond_b
    iget-object v3, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v4, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v4}, Lcom/vv/hgtv/PlayerActivity;->S(Lcom/vv/hgtv/PlayerActivity;)Z

    move-result v4

    if-eqz v4, :cond_c

    move v1, v2

    :cond_c
    invoke-static {v3, v1}, Lcom/vv/hgtv/PlayerActivity;->b(Lcom/vv/hgtv/PlayerActivity;Z)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->T(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :pswitch_4
    if-ne p2, v5, :cond_e

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->U(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit16 v3, v3, -0x1388

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->f(Lcom/vv/hgtv/PlayerActivity;I)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->U(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    const/16 v3, 0x1388

    if-ge v1, v3, :cond_d

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    const/16 v3, 0x7530

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->f(Lcom/vv/hgtv/PlayerActivity;I)V

    :cond_d
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->V(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_e
    if-ne p2, v6, :cond_2

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->U(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v3

    add-int/lit16 v3, v3, 0x1388

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->f(Lcom/vv/hgtv/PlayerActivity;I)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->U(Lcom/vv/hgtv/PlayerActivity;)I

    move-result v1

    const/16 v3, 0x7530

    if-le v1, v3, :cond_f

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    const/16 v3, 0x1388

    invoke-static {v1, v3}, Lcom/vv/hgtv/PlayerActivity;->f(Lcom/vv/hgtv/PlayerActivity;I)V

    :cond_f
    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->V(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :pswitch_5
    if-eq p2, v5, :cond_10

    if-ne p2, v6, :cond_2

    :cond_10
    iget-object v3, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    iget-object v4, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v4}, Lcom/vv/hgtv/PlayerActivity;->w(Lcom/vv/hgtv/PlayerActivity;)Z

    move-result v4

    if-eqz v4, :cond_11

    move v1, v2

    :cond_11
    invoke-static {v3, v1}, Lcom/vv/hgtv/PlayerActivity;->c(Lcom/vv/hgtv/PlayerActivity;Z)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->L(Lcom/vv/hgtv/PlayerActivity;)V

    iget-object v1, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->W(Lcom/vv/hgtv/PlayerActivity;)Ljava/util/HashMap;

    move-result-object v1

    const-string v3, "value"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :pswitch_6
    if-eq p2, v5, :cond_12

    if-ne p2, v6, :cond_2

    :cond_12
    iget-object v0, p0, Lcom/vv/hgtv/s;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->X(Lcom/vv/hgtv/PlayerActivity;)V

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method
