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

# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;


# 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/w;->a:Lcom/vv/hgtv/PlayerActivity;

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

    return-void
.end method


# virtual methods
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    sput p3, Lcom/vv/hgtv/PlayerActivity;->e:I

    iget-object v0, p0, Lcom/vv/hgtv/w;->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, p3}, Lcom/view/ChannelListView;->setSelection(I)V

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

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

    move-result-object v0

    invoke-virtual {v0, p3}, Lcom/vv/hgtv/h;->a(I)V

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

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->ab(Lcom/vv/hgtv/PlayerActivity;)Ljava/lang/Runnable;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/vv/hgtv/w;->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/w;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->ab(Lcom/vv/hgtv/PlayerActivity;)Ljava/lang/Runnable;

    move-result-object v1

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

    iget-object v0, p0, Lcom/vv/hgtv/w;->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/w;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->ab(Lcom/vv/hgtv/PlayerActivity;)Ljava/lang/Runnable;

    move-result-object v1

    const-wide/16 v2, 0x2710

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

    :cond_0
    sget-object v0, Lcom/vv/hgtv/PlayerActivity;->c:Lcom/vv/hgtv/b;

    invoke-virtual {v0, p3}, Lcom/vv/hgtv/b;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vv/hgtv/a;

    iget-object v0, v0, Lcom/vv/hgtv/a;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    sget-object v0, Lcom/vv/hgtv/PlayerActivity;->c:Lcom/vv/hgtv/b;

    invoke-virtual {v0, p3}, Lcom/vv/hgtv/b;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vv/hgtv/a;

    iget-boolean v0, v0, Lcom/vv/hgtv/a;->c:Z

    if-nez v0, :cond_1

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

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

    :goto_0
    return-void

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

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

    goto :goto_0
.end method

.method public onNothingSelected(Landroid/widget/AdapterView;)V
    .locals 0

    return-void
.end method
