SharedLinkCell$CheckForTap.smali

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

# interfaces
.implements Ljava/lang/Runnable;


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

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


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


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

    return-void
.end method

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

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

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

    return-void
.end method

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

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

    return-void
.end method


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

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

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

    move-result-object v0

    if-nez v0, :cond_12

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

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

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

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

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

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

    move-result-object v0

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

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

    move-result v1

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

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

    # getter for: Lim/tpelyyftgw/ui/cells/SharedLinkCell;->pendingCheckForLongPress:Lim/tpelyyftgw/ui/cells/SharedLinkCell$CheckForLongPress;
    invoke-static {v0}, Lim/tpelyyftgw/ui/cells/SharedLinkCell;->access$000(Lim/tpelyyftgw/ui/cells/SharedLinkCell;)Lim/tpelyyftgw/ui/cells/SharedLinkCell$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/SharedLinkCell;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 61
    return-void
.end method