.class Lcom/moji/credit/EarnCreditActivity$MyOnTouchListener;
.super Ljava/lang/Object;
.source "EarnCreditActivity.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/credit/EarnCreditActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "MyOnTouchListener"
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/credit/EarnCreditActivity;


# direct methods
.method private constructor <init>(Lcom/moji/credit/EarnCreditActivity;)V
    .locals 0

    .line 406
    iput-object p1, p0, Lcom/moji/credit/EarnCreditActivity$MyOnTouchListener;->a:Lcom/moji/credit/EarnCreditActivity;

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

    return-void
.end method

.method synthetic constructor <init>(Lcom/moji/credit/EarnCreditActivity;Lcom/moji/credit/EarnCreditActivity$1;)V
    .locals 0

    .line 406
    invoke-direct {p0, p1}, Lcom/moji/credit/EarnCreditActivity$MyOnTouchListener;-><init>(Lcom/moji/credit/EarnCreditActivity;)V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 2

    .line 409
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p2

    const/4 v0, 0x3

    const/4 v1, 0x0

    if-eq p2, v0, :cond_0

    packed-switch p2, :pswitch_data_0

    goto :goto_1

    .line 417
    :pswitch_0
    invoke-virtual {p1}, Landroid/view/View;->performClick()Z

    goto :goto_0

    .line 411
    :pswitch_1
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p2

    if-eqz p2, :cond_1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p2

    instance-of p2, p2, Lcom/moji/credit/EarnCreditActivity$GridViewHolder;

    if-eqz p2, :cond_1

    .line 412
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/credit/EarnCreditActivity$GridViewHolder;

    .line 413
    iget-object p2, p0, Lcom/moji/credit/EarnCreditActivity$MyOnTouchListener;->a:Lcom/moji/credit/EarnCreditActivity;

    const/4 v0, 0x1

    invoke-static {p2, p1, v0}, Lcom/moji/credit/EarnCreditActivity;->a(Lcom/moji/credit/EarnCreditActivity;Lcom/moji/credit/EarnCreditActivity$GridViewHolder;Z)V

    goto :goto_1

    .line 419
    :cond_0
    :goto_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p2

    if-eqz p2, :cond_1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p2

    instance-of p2, p2, Lcom/moji/credit/EarnCreditActivity$GridViewHolder;

    if-eqz p2, :cond_1

    .line 420
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/credit/EarnCreditActivity$GridViewHolder;

    .line 421
    iget-object p2, p0, Lcom/moji/credit/EarnCreditActivity$MyOnTouchListener;->a:Lcom/moji/credit/EarnCreditActivity;

    invoke-static {p2, p1, v1}, Lcom/moji/credit/EarnCreditActivity;->a(Lcom/moji/credit/EarnCreditActivity;Lcom/moji/credit/EarnCreditActivity$GridViewHolder;Z)V

    :cond_1
    :goto_1
    return v1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
