.class public Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;
.super Lcom/badlogic/gdx/scenes/scene2d/InputListener;
.source "DragListener.java"


# instance fields
.field private a:F

.field private b:F

.field private c:F

.field private d:F

.field private e:F

.field private f:I

.field private g:I

.field private h:Z

.field private i:F

.field private j:F


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 27
    invoke-direct {p0}, Lcom/badlogic/gdx/scenes/scene2d/InputListener;-><init>()V

    const/high16 v0, 0x41600000    # 14.0f

    .line 28
    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->a:F

    const/high16 v0, -0x40800000    # -1.0f

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->b:F

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->c:F

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->d:F

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->e:F

    const/4 v0, -0x1

    .line 29
    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x0

    .line 80
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->h:Z

    const/4 v0, -0x1

    .line 81
    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    return-void
.end method

.method public a(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V
    .locals 2

    .line 46
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    if-eq p4, v0, :cond_0

    return-void

    .line 47
    :cond_0
    iget-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->h:Z

    if-nez v0, :cond_2

    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->b:F

    sub-float/2addr v0, p2

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->a:F

    cmpl-float v0, v0, v1

    if-gtz v0, :cond_1

    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->c:F

    sub-float/2addr v0, p3

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->a:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_2

    :cond_1
    const/4 v0, 0x1

    .line 48
    iput-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->h:Z

    .line 49
    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->c(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V

    .line 50
    iput p2, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->i:F

    .line 51
    iput p3, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->j:F

    .line 53
    :cond_2
    iget-boolean v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->h:Z

    if-eqz v0, :cond_3

    .line 54
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->i:F

    sub-float/2addr v0, p2

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->i:F

    .line 55
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->j:F

    sub-float/2addr v0, p3

    iput v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->j:F

    .line 56
    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->d(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V

    .line 57
    iput p2, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->i:F

    .line 58
    iput p3, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->j:F

    :cond_3
    return-void
.end method

.method public a(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFII)Z
    .locals 3

    .line 35
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    const/4 v1, 0x0

    const/4 v2, -0x1

    if-eq v0, v2, :cond_0

    return v1

    :cond_0
    if-nez p4, :cond_1

    .line 36
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->g:I

    if-eq v0, v2, :cond_1

    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->g:I

    if-eq p5, v0, :cond_1

    return v1

    .line 37
    :cond_1
    iput p4, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    .line 38
    iput p2, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->b:F

    .line 39
    iput p3, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->c:F

    .line 40
    invoke-virtual {p1}, Lcom/badlogic/gdx/scenes/scene2d/InputEvent;->j()F

    move-result p2

    iput p2, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->d:F

    .line 41
    invoke-virtual {p1}, Lcom/badlogic/gdx/scenes/scene2d/InputEvent;->k()F

    move-result p1

    iput p1, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->e:F

    const/4 p1, 0x1

    return p1
.end method

.method public b()F
    .locals 1

    .line 98
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->b:F

    return v0
.end method

.method public b(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFII)V
    .locals 0

    .line 63
    iget p5, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->f:I

    if-ne p4, p5, :cond_1

    .line 64
    iget-boolean p5, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->h:Z

    if-eqz p5, :cond_0

    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->e(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V

    .line 65
    :cond_0
    invoke-virtual {p0}, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->a()V

    :cond_1
    return-void
.end method

.method public c()F
    .locals 1

    .line 102
    iget v0, p0, Lcom/badlogic/gdx/scenes/scene2d/utils/DragListener;->c:F

    return v0
.end method

.method public c(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V
    .locals 0

    return-void
.end method

.method public d(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V
    .locals 0

    return-void
.end method

.method public e(Lcom/badlogic/gdx/scenes/scene2d/InputEvent;FFI)V
    .locals 0

    return-void
.end method
