BaseCell$CheckForTap.smali

.class final Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;
.super Ljava/lang/Object;
.source "BaseCell.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/ui/cells/BaseCell;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x12
    name = "CheckForTap"
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/cells/BaseCell;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method private constructor <init>(Lim/tpelyyftgw/ui/cells/BaseCell;)V
    .registers 2

    .line 12
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

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

    return-void
.end method

.method synthetic constructor <init>(Lim/tpelyyftgw/ui/cells/BaseCell;Lim/tpelyyftgw/ui/cells/BaseCell$1;)V
    .registers 3
    .param p1, "x0"    # Lim/tpelyyftgw/ui/cells/BaseCell;
    .param p2, "x1"    # Lim/tpelyyftgw/ui/cells/BaseCell$1;

    .line 12
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;-><init>(Lim/tpelyyftgw/ui/cells/BaseCell;)V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 5

    .line 14
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    # getter for: Lim/tpelyyftgw/ui/cells/BaseCell;->pendingCheckForLongPress:Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;
    invoke-static {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$000(Lim/tpelyyftgw/ui/cells/BaseCell;)Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;

    move-result-object v0

    if-nez v0, :cond_12

    .line 15
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    new-instance v1, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;

    invoke-direct {v1, v0}, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;-><init>(Lim/tpelyyftgw/ui/cells/BaseCell;)V

    # setter for: Lim/tpelyyftgw/ui/cells/BaseCell;->pendingCheckForLongPress:Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$002(Lim/tpelyyftgw/ui/cells/BaseCell;Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;)Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;

    .line 17
    :cond_12
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    # getter for: Lim/tpelyyftgw/ui/cells/BaseCell;->pendingCheckForLongPress:Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;
    invoke-static {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$000(Lim/tpelyyftgw/ui/cells/BaseCell;)Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    # ++operator for: Lim/tpelyyftgw/ui/cells/BaseCell;->pressCount:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$104(Lim/tpelyyftgw/ui/cells/BaseCell;)I

    move-result v1

    iput v1, v0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;->currentPressCount:I

    .line 18
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForTap;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    # getter for: Lim/tpelyyftgw/ui/cells/BaseCell;->pendingCheckForLongPress:Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;
    invoke-static {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$000(Lim/tpelyyftgw/ui/cells/BaseCell;)Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;

    move-result-object v1

    invoke-static {}, Landroid/view/ViewConfiguration;->getLongPressTimeout()I

    move-result v2

    invoke-static {}, Landroid/view/ViewConfiguration;->getTapTimeout()I

    move-result v3

    sub-int/2addr v2, v3

    int-to-long v2, v2

    invoke-virtual {v0, v1, v2, v3}, Lim/tpelyyftgw/ui/cells/BaseCell;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 19
    return-void
.end method