BaseCell$CheckForLongPress.smali

.class Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;
.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 = 0x0
    name = "CheckForLongPress"
.end annotation


# instance fields
.field public currentPressCount:I

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


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/cells/BaseCell;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/cells/BaseCell;

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

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

    return-void
.end method


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

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

    # getter for: Lim/tpelyyftgw/ui/cells/BaseCell;->checkingForLongPress:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->access$200(Lim/tpelyyftgw/ui/cells/BaseCell;)Z

    move-result v0

    if-eqz v0, :cond_3e

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

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_3e

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

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

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

    move-result v1

    if-ne v0, v1, :cond_3e

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

    const/4 v1, 0x0

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

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

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/cells/BaseCell;->performHapticFeedback(I)Z

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

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onLongPress()V

    .line 30
    const-wide/16 v1, 0x0

    const-wide/16 v3, 0x0

    const/4 v5, 0x3

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-static/range {v1 .. v8}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v0

    .line 31
    .local v0, "event":Landroid/view/MotionEvent;
    iget-object v1, p0, Lim/tpelyyftgw/ui/cells/BaseCell$CheckForLongPress;->this$0:Lim/tpelyyftgw/ui/cells/BaseCell;

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/cells/BaseCell;->onTouchEvent(Landroid/view/MotionEvent;)Z

    .line 32
    invoke-virtual {v0}, Landroid/view/MotionEvent;->recycle()V

    .line 34
    .end local v0    # "event":Landroid/view/MotionEvent;
    :cond_3e
    return-void
.end method