.class Lcom/vv/hgtv/aa;
.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/aa;->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 3

    const/4 v2, 0x0

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

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    sparse-switch p2, :sswitch_data_0

    :cond_0
    :goto_0
    :sswitch_0
    return v2

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

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

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

    move-result-object v1

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

    move-result v1

    invoke-virtual {v0, v1}, Lcom/vv/hgtv/PlayerActivity;->b(I)V

    goto :goto_0

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

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->ac(Lcom/vv/hgtv/PlayerActivity;)Lcom/view/ChannelListView;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/view/ChannelListView;->setSelection(I)V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x14 -> :sswitch_0
        0x15 -> :sswitch_2
        0x52 -> :sswitch_1
    .end sparse-switch
.end method
