DraggableSwipeBack.smali

.class public abstract Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;
.super Lcom/hannesdorfmann/swipeback/SwipeBack;
.source "SourceFile"


# static fields
.field private static final P:Landroid/view/animation/Interpolator;


# instance fields
.field private final Q:Ljava/lang/Runnable;

.field private R:Ljava/lang/Runnable;

.field private S:Lcom/hannesdorfmann/swipeback/d;

.field protected a:I

.field protected final b:Ljava/lang/Runnable;

.field protected c:Z

.field protected d:I

.field protected e:F

.field protected f:F

.field protected g:F

.field protected h:F

.field protected i:J

.field protected j:Lcom/hannesdorfmann/swipeback/d;

.field protected k:Landroid/view/VelocityTracker;

.field protected l:I

.field protected m:Z

.field protected n:I

.field protected o:Z


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

    .line 28
    new-instance v0, Lcom/hannesdorfmann/swipeback/a/a;

    invoke-direct {v0}, Lcom/hannesdorfmann/swipeback/a/a;-><init>()V

    sput-object v0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->P:Landroid/view/animation/Interpolator;

    return-void
.end method

.method constructor <init>(Landroid/app/Activity;)V
    .registers 2

    .line 158
    invoke-direct {p0, p1}, Lcom/hannesdorfmann/swipeback/SwipeBack;-><init>(Landroid/app/Activity;)V

    .line 65
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    .line 75
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    const/4 p1, -0x1

    .line 90
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

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

    .line 105
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->g:F

    .line 110
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h:F

    const/4 p1, 0x1

    .line 135
    iput-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

    .line 162
    invoke-direct {p0, p1}, Lcom/hannesdorfmann/swipeback/SwipeBack;-><init>(Landroid/content/Context;)V

    .line 65
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    .line 75
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    const/4 p1, -0x1

    .line 90
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

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

    .line 105
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->g:F

    .line 110
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h:F

    const/4 p1, 0x1

    .line 135
    iput-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 3

    .line 166
    invoke-direct {p0, p1, p2}, Lcom/hannesdorfmann/swipeback/SwipeBack;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 65
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    .line 75
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    const/4 p1, -0x1

    .line 90
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

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

    .line 105
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->g:F

    .line 110
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h:F

    const/4 p1, 0x1

    .line 135
    iput-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 4

    .line 170
    invoke-direct {p0, p1, p2, p3}, Lcom/hannesdorfmann/swipeback/SwipeBack;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 65
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$1;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    .line 75
    new-instance p1, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;

    invoke-direct {p1, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$2;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    const/4 p1, -0x1

    .line 90
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

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

    .line 105
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->g:F

    .line 110
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h:F

    const/4 p1, 0x1

    .line 135
    iput-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    return-void
.end method

.method static synthetic a(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V
    .registers 1

    .line 18
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->p()V

    return-void
.end method

.method private a(Landroid/view/View;ZIII)Z
    .registers 15

    .line 549
    instance-of v0, p1, Landroid/view/ViewGroup;

    const/4 v1, 0x1

    if-eqz v0, :cond_50

    .line 550
    move-object v0, p1

    check-cast v0, Landroid/view/ViewGroup;

    .line 552
    invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v2

    sub-int/2addr v2, v1

    :goto_d
    if-ltz v2, :cond_50

    .line 555
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 557
    invoke-virtual {v4}, Landroid/view/View;->getLeft()I

    move-result v3

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c(Landroid/view/View;)I

    move-result v5

    add-int/2addr v3, v5

    .line 558
    invoke-virtual {v4}, Landroid/view/View;->getRight()I

    move-result v5

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c(Landroid/view/View;)I

    move-result v6

    add-int/2addr v5, v6

    .line 559
    invoke-virtual {v4}, Landroid/view/View;->getTop()I

    move-result v6

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;)I

    move-result v7

    add-int/2addr v6, v7

    .line 560
    invoke-virtual {v4}, Landroid/view/View;->getBottom()I

    move-result v7

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;)I

    move-result v8

    add-int/2addr v7, v8

    if-lt p4, v3, :cond_4d

    if-ge p4, v5, :cond_4d

    if-lt p5, v6, :cond_4d

    if-ge p5, v7, :cond_4d

    const/4 v5, 0x1

    sub-int v7, p4, v3

    sub-int v8, p5, v6

    move-object v3, p0

    move v6, p3

    .line 563
    invoke-direct/range {v3 .. v8}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a(Landroid/view/View;ZIII)Z

    move-result v3

    if-eqz v3, :cond_4d

    return v1

    :cond_4d
    add-int/lit8 v2, v2, -0x1

    goto :goto_d

    :cond_50
    if-eqz p2, :cond_5b

    .line 569
    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->J:Lcom/hannesdorfmann/swipeback/SwipeBack$a;

    invoke-interface {p2, p1, p3, p4, p5}, Lcom/hannesdorfmann/swipeback/SwipeBack$a;->isViewDraggable(Landroid/view/View;III)Z

    move-result p1

    if-eqz p1, :cond_5b

    return v1

    :cond_5b
    const/4 p1, 0x0

    return p1
.end method

.method private static b(Landroid/view/View;)I
    .registers 3

    .line 624
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_c

    .line 625
    invoke-virtual {p0}, Landroid/view/View;->getTranslationY()F

    move-result p0

    float-to-int p0, p0

    return p0

    :cond_c
    const/4 p0, 0x0

    return p0
.end method

.method static synthetic b(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V
    .registers 1

    .line 18
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o()V

    return-void
.end method

.method private b(Landroid/view/View;ZIII)Z
    .registers 15

    .line 583
    instance-of v0, p1, Landroid/view/ViewGroup;

    const/4 v1, 0x1

    if-eqz v0, :cond_50

    .line 584
    move-object v0, p1

    check-cast v0, Landroid/view/ViewGroup;

    .line 586
    invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v2

    sub-int/2addr v2, v1

    :goto_d
    if-ltz v2, :cond_50

    .line 589
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 591
    invoke-virtual {v4}, Landroid/view/View;->getLeft()I

    move-result v3

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c(Landroid/view/View;)I

    move-result v5

    add-int/2addr v3, v5

    .line 592
    invoke-virtual {v4}, Landroid/view/View;->getRight()I

    move-result v5

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c(Landroid/view/View;)I

    move-result v6

    add-int/2addr v5, v6

    .line 593
    invoke-virtual {v4}, Landroid/view/View;->getTop()I

    move-result v6

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;)I

    move-result v7

    add-int/2addr v6, v7

    .line 594
    invoke-virtual {v4}, Landroid/view/View;->getBottom()I

    move-result v7

    invoke-static {v4}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;)I

    move-result v8

    add-int/2addr v7, v8

    if-lt p4, v3, :cond_4d

    if-ge p4, v5, :cond_4d

    if-lt p5, v6, :cond_4d

    if-ge p5, v7, :cond_4d

    const/4 v5, 0x1

    sub-int v7, p4, v3

    sub-int v8, p5, v6

    move-object v3, p0

    move v6, p3

    .line 597
    invoke-direct/range {v3 .. v8}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;ZIII)Z

    move-result v3

    if-eqz v3, :cond_4d

    return v1

    :cond_4d
    add-int/lit8 v2, v2, -0x1

    goto :goto_d

    :cond_50
    if-eqz p2, :cond_5b

    .line 603
    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->J:Lcom/hannesdorfmann/swipeback/SwipeBack$a;

    invoke-interface {p2, p1, p3, p4, p5}, Lcom/hannesdorfmann/swipeback/SwipeBack$a;->isViewDraggable(Landroid/view/View;III)Z

    move-result p1

    if-eqz p1, :cond_5b

    return v1

    :cond_5b
    const/4 p1, 0x0

    return p1
.end method

.method private static c(Landroid/view/View;)I
    .registers 3

    .line 633
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_c

    .line 634
    invoke-virtual {p0}, Landroid/view/View;->getTranslationX()F

    move-result p0

    float-to-int p0, p0

    return p0

    :cond_c
    const/4 p0, 0x0

    return p0
.end method

.method private n()V
    .registers 3

    .line 351
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/d;->b()V

    .line 352
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    .line 1231
    iget v0, v0, Lcom/hannesdorfmann/swipeback/d;->a:I

    int-to-float v1, v0

    .line 353
    invoke-virtual {p0, v1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    if-nez v0, :cond_11

    const/4 v0, 0x0

    goto :goto_13

    :cond_11
    const/16 v0, 0x8

    .line 354
    :goto_13
    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h(I)Lcom/hannesdorfmann/swipeback/SwipeBack;

    .line 355
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b()V

    return-void
.end method

.method private o()V
    .registers 3

    .line 424
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/d;->a()Z

    move-result v0

    if-eqz v0, :cond_21

    .line 425
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->M:F

    float-to-int v0, v0

    .line 426
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    .line 2185
    iget v1, v1, Lcom/hannesdorfmann/swipeback/d;->b:I

    if-eq v1, v0, :cond_15

    int-to-float v0, v1

    .line 429
    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    .line 431
    :cond_15
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    .line 2231
    iget v0, v0, Lcom/hannesdorfmann/swipeback/d;->a:I

    if-eq v1, v0, :cond_21

    .line 432
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->postOnAnimation(Ljava/lang/Runnable;)V

    return-void

    .line 437
    :cond_21
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->n()V

    return-void
.end method

.method private p()V
    .registers 6

    .line 457
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->j:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/d;->a()Z

    move-result v0

    if-eqz v0, :cond_35

    .line 458
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->M:F

    float-to-int v0, v0

    .line 459
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->j:Lcom/hannesdorfmann/swipeback/d;

    .line 3185
    iget v1, v1, Lcom/hannesdorfmann/swipeback/d;->b:I

    if-eq v1, v0, :cond_15

    int-to-float v0, v1

    .line 461
    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    .line 464
    :cond_15
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->j:Lcom/hannesdorfmann/swipeback/d;

    .line 4158
    iget-boolean v0, v0, Lcom/hannesdorfmann/swipeback/d;->c:Z

    if-nez v0, :cond_21

    .line 465
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->postOnAnimation(Ljava/lang/Runnable;)V

    return-void

    .line 468
    :cond_21
    iget-wide v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->i:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-lez v4, :cond_35

    .line 469
    new-instance v0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$3;

    invoke-direct {v0, p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$3;-><init>(Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;)V

    iput-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->R:Ljava/lang/Runnable;

    .line 475
    iget-wide v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->i:J

    invoke-virtual {p0, v0, v1, v2}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 479
    :cond_35
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->q()V

    return-void
.end method

.method private q()V
    .registers 2

    .line 486
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->j:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/d;->b()V

    const/4 v0, 0x0

    .line 488
    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    const/4 v0, 0x0

    .line 490
    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h(I)Lcom/hannesdorfmann/swipeback/SwipeBack;

    .line 491
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b()V

    return-void
.end method


# virtual methods
.method protected final a(Landroid/view/MotionEvent;)F
    .registers 3

    .line 642
    :try_start_0
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

    invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->findPointerIndex(I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getX(I)F

    move-result p1
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_a} :catch_b

    return p1

    .line 644
    :catch_b
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result p1

    return p1
.end method

.method protected final a(Landroid/view/VelocityTracker;)F
    .registers 4

    .line 607
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x8

    if-lt v0, v1, :cond_d

    .line 608
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

    invoke-virtual {p1, v0}, Landroid/view/VelocityTracker;->getXVelocity(I)F

    move-result p1

    return p1

    .line 611
    :cond_d
    invoke-virtual {p1}, Landroid/view/VelocityTracker;->getXVelocity()F

    move-result p1

    return p1
.end method

.method public final a(I)Lcom/hannesdorfmann/swipeback/SwipeBack;
    .registers 3

    .line 204
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->B:I

    .line 205
    iget p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->D:I

    const/16 v0, 0x8

    if-eq p1, v0, :cond_d

    iget p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->D:I

    const/4 v0, 0x4

    if-ne p1, v0, :cond_13

    .line 206
    :cond_d
    iget p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->B:I

    int-to-float p1, p1

    invoke-virtual {p0, p1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    .line 208
    :cond_13
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->requestLayout()V

    .line 209
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->invalidate()V

    return-object p0
.end method

.method protected a()V
    .registers 4

    .line 306
    sget-boolean v0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->p:Z

    if-eqz v0, :cond_1b

    iget-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->H:Z

    if-eqz v0, :cond_1b

    iget-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o:Z

    if-nez v0, :cond_1b

    const/4 v0, 0x1

    .line 307
    iput-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o:Z

    .line 308
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v1, 0x0

    const/4 v2, 0x2

    invoke-virtual {v0, v2, v1}, Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;->setLayerType(ILandroid/graphics/Paint;)V

    .line 309
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    invoke-virtual {v0, v2, v1}, Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;->setLayerType(ILandroid/graphics/Paint;)V

    :cond_1b
    return-void
.end method

.method protected final a(II)V
    .registers 5

    .line 403
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->M:F

    float-to-int v0, v0

    sub-int/2addr p1, v0

    if-lez p1, :cond_10

    const/4 v1, 0x4

    .line 407
    invoke-virtual {p0, v1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h(I)Lcom/hannesdorfmann/swipeback/SwipeBack;

    .line 408
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v1, v0, p1, p2}, Lcom/hannesdorfmann/swipeback/d;->a(III)V

    goto :goto_19

    :cond_10
    const/4 v1, 0x1

    .line 410
    invoke-virtual {p0, v1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h(I)Lcom/hannesdorfmann/swipeback/SwipeBack;

    .line 411
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v1, v0, p1, p2}, Lcom/hannesdorfmann/swipeback/d;->a(III)V

    .line 414
    :goto_19
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a()V

    .line 416
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o()V

    return-void
.end method

.method protected final a(IIZ)V
    .registers 5

    .line 377
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c()V

    .line 378
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h()V

    .line 380
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->M:F

    float-to-int v0, v0

    sub-int v0, p1, v0

    if-eqz v0, :cond_40

    if-nez p3, :cond_10

    goto :goto_40

    .line 391
    :cond_10
    invoke-static {p2}, Ljava/lang/Math;->abs(I)I

    move-result p2

    if-lez p2, :cond_28

    const/high16 p3, 0x447a0000    # 1000.0f

    int-to-float v0, v0

    int-to-float p2, p2

    div-float/2addr v0, p2

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

    move-result p2

    mul-float p2, p2, p3

    invoke-static {p2}, Ljava/lang/Math;->round(F)I

    move-result p2

    mul-int/lit8 p2, p2, 0x4

    goto :goto_36

    :cond_28
    const/high16 p2, 0x44160000    # 600.0f

    int-to-float p3, v0

    .line 395
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->B:I

    int-to-float v0, v0

    div-float/2addr p3, v0

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

    move-result p3

    mul-float p3, p3, p2

    float-to-int p2, p3

    .line 398
    :goto_36
    iget p3, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->I:I

    invoke-static {p2, p3}, Ljava/lang/Math;->min(II)I

    move-result p2

    .line 399
    invoke-virtual {p0, p1, p2}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a(II)V

    return-void

    :cond_40
    :goto_40
    int-to-float p2, p1

    .line 383
    invoke-virtual {p0, p2}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->setOffsetPixels(F)V

    if-nez p1, :cond_48

    const/4 p1, 0x0

    goto :goto_4a

    :cond_48
    const/16 p1, 0x8

    .line 384
    :goto_4a
    invoke-virtual {p0, p1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->h(I)Lcom/hannesdorfmann/swipeback/SwipeBack;

    .line 385
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b()V

    return-void
.end method

.method protected a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 4

    .line 175
    invoke-super {p0, p1, p2, p3}, Lcom/hannesdorfmann/swipeback/SwipeBack;->a(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 177
    invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object p2

    .line 178
    invoke-virtual {p2}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result p3

    mul-int/lit8 p3, p3, 0x2

    iput p3, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a:I

    .line 179
    invoke-virtual {p2}, Landroid/view/ViewConfiguration;->getScaledMaximumFlingVelocity()I

    move-result p2

    iput p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->l:I

    .line 181
    new-instance p2, Lcom/hannesdorfmann/swipeback/d;

    sget-object p3, Lcom/hannesdorfmann/swipeback/SwipeBack;->q:Landroid/view/animation/Interpolator;

    invoke-direct {p2, p1, p3}, Lcom/hannesdorfmann/swipeback/d;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    .line 182
    new-instance p2, Lcom/hannesdorfmann/swipeback/d;

    sget-object p3, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->P:Landroid/view/animation/Interpolator;

    invoke-direct {p2, p1, p3}, Lcom/hannesdorfmann/swipeback/d;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->j:Lcom/hannesdorfmann/swipeback/d;

    const/4 p1, 0x3

    .line 184
    invoke-virtual {p0, p1}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->e(I)I

    move-result p1

    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->n:I

    return-void
.end method

.method protected final a(IIII)Z
    .registers 11

    .line 510
    sget-object v0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack$4;->a:[I

    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->getPosition()Lcom/hannesdorfmann/swipeback/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hannesdorfmann/swipeback/b;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const/4 v1, 0x1

    if-eq v0, v1, :cond_53

    const/4 v1, 0x2

    if-eq v0, v1, :cond_53

    const/4 p1, 0x3

    if-eq v0, p1, :cond_1b

    const/4 p1, 0x4

    if-eq v0, p1, :cond_1b

    const/4 p1, 0x0

    goto/16 :goto_8a

    .line 525
    :cond_1b
    iget-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->C:Z

    if-nez p1, :cond_39

    .line 526
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v2, 0x0

    iget-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 527
    invoke-static {p1}, Lcom/hannesdorfmann/swipeback/e;->a(Landroid/view/View;)I

    move-result p1

    sub-int v4, p3, p1

    iget-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    invoke-static {p1}, Lcom/hannesdorfmann/swipeback/e;->b(Landroid/view/View;)I

    move-result p1

    sub-int v5, p4, p1

    move-object v0, p0

    move v3, p2

    .line 526
    invoke-direct/range {v0 .. v5}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;ZIII)Z

    move-result p1

    goto :goto_8a

    .line 529
    :cond_39
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v2, 0x0

    iget-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 530
    invoke-static {p1}, Lcom/hannesdorfmann/swipeback/e;->a(Landroid/view/View;)I

    move-result p1

    sub-int v4, p3, p1

    iget-object p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 531
    invoke-static {p1}, Lcom/hannesdorfmann/swipeback/e;->b(Landroid/view/View;)I

    move-result p1

    sub-int v5, p4, p1

    move-object v0, p0

    move v3, p2

    .line 529
    invoke-direct/range {v0 .. v5}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b(Landroid/view/View;ZIII)Z

    move-result p1

    goto :goto_8a

    .line 513
    :cond_53
    iget-boolean p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->C:Z

    if-nez p2, :cond_71

    .line 514
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v2, 0x0

    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 515
    invoke-static {p2}, Lcom/hannesdorfmann/swipeback/e;->a(Landroid/view/View;)I

    move-result p2

    sub-int v4, p3, p2

    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    invoke-static {p2}, Lcom/hannesdorfmann/swipeback/e;->b(Landroid/view/View;)I

    move-result p2

    sub-int v5, p4, p2

    move-object v0, p0

    move v3, p1

    .line 514
    invoke-direct/range {v0 .. v5}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a(Landroid/view/View;ZIII)Z

    move-result p1

    goto :goto_8a

    .line 517
    :cond_71
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v2, 0x0

    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 518
    invoke-static {p2}, Lcom/hannesdorfmann/swipeback/e;->a(Landroid/view/View;)I

    move-result p2

    sub-int v4, p3, p2

    iget-object p2, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    .line 519
    invoke-static {p2}, Lcom/hannesdorfmann/swipeback/e;->b(Landroid/view/View;)I

    move-result p2

    sub-int v5, p4, p2

    move-object v0, p0

    move v3, p1

    .line 517
    invoke-direct/range {v0 .. v5}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a(Landroid/view/View;ZIII)Z

    move-result p1

    :goto_8a
    return p1
.end method

.method protected final b(Landroid/view/MotionEvent;)F
    .registers 3

    .line 650
    :try_start_0
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

    invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->findPointerIndex(I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F

    move-result p1
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_a} :catch_b

    return p1

    .line 652
    :catch_b
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result p1

    return p1
.end method

.method protected final b(Landroid/view/VelocityTracker;)F
    .registers 4

    .line 615
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x8

    if-lt v0, v1, :cond_d

    .line 616
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->d:I

    invoke-virtual {p1, v0}, Landroid/view/VelocityTracker;->getYVelocity(I)F

    move-result p1

    return p1

    .line 619
    :cond_d
    invoke-virtual {p1}, Landroid/view/VelocityTracker;->getYVelocity()F

    move-result p1

    return p1
.end method

.method public final b(I)Lcom/hannesdorfmann/swipeback/SwipeBack;
    .registers 3

    .line 282
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->G:I

    if-eq v0, p1, :cond_9

    .line 283
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->G:I

    .line 284
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->l()V

    :cond_9
    return-object p0
.end method

.method protected b()V
    .registers 4

    .line 319
    iget-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o:Z

    if-eqz v0, :cond_12

    const/4 v0, 0x0

    .line 320
    iput-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->o:Z

    .line 321
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;->setLayerType(ILandroid/graphics/Paint;)V

    .line 322
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->z:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    invoke-virtual {v1, v0, v2}, Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;->setLayerType(ILandroid/graphics/Paint;)V

    :cond_12
    return-void
.end method

.method public final c(I)Lcom/hannesdorfmann/swipeback/SwipeBack;
    .registers 2

    .line 292
    iput p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->E:I

    return-object p0
.end method

.method protected final c()V
    .registers 2

    const/4 v0, 0x0

    .line 330
    iput-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->c:Z

    .line 332
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->k:Landroid/view/VelocityTracker;

    if-eqz v0, :cond_d

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

    const/4 v0, 0x0

    .line 334
    iput-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->k:Landroid/view/VelocityTracker;

    :cond_d
    return-void
.end method

.method protected d()V
    .registers 2

    .line 342
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->Q:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 343
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->S:Lcom/hannesdorfmann/swipeback/d;

    invoke-virtual {v0}, Lcom/hannesdorfmann/swipeback/d;->b()V

    .line 344
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b()V

    return-void
.end method

.method protected final e()V
    .registers 9

    .line 359
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v2

    const/4 v4, 0x3

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    move-wide v0, v2

    .line 360
    invoke-static/range {v0 .. v7}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v0

    .line 361
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->getChildCount()I

    move-result v1

    const/4 v2, 0x0

    :goto_12
    if-ge v2, v1, :cond_1e

    .line 363
    invoke-virtual {p0, v2}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v0}, Landroid/view/View;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    add-int/lit8 v2, v2, 0x1

    goto :goto_12

    .line 365
    :cond_1e
    iget-object v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->A:Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;

    invoke-virtual {v1, v0}, Lcom/hannesdorfmann/swipeback/BuildLayerFrameLayout;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

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

    return-void
.end method

.method protected final f()V
    .registers 1

    .line 444
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->g()V

    .line 446
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->a()V

    .line 447
    invoke-direct {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->p()V

    return-void
.end method

.method protected abstract g()V
.end method

.method public getOffsetSwipeBackEnabled()Z
    .registers 2

    .line 224
    iget-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    return v0
.end method

.method public getTouchBezelSize()I
    .registers 2

    .line 298
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->E:I

    return v0
.end method

.method public getTouchMode()I
    .registers 2

    .line 277
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->G:I

    return v0
.end method

.method protected final h()V
    .registers 2

    .line 498
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->R:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 499
    iget-object v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 500
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->b()V

    return-void
.end method

.method protected final i()Z
    .registers 3

    .line 504
    iget v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->M:F

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

    move-result v0

    iget v1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->n:I

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_f

    const/4 v0, 0x1

    return v0

    :cond_f
    const/4 v0, 0x0

    return v0
.end method

.method public setOffsetSwipeBackViewEnabled(Z)V
    .registers 3

    .line 215
    iget-boolean v0, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    if-eq p1, v0, :cond_c

    .line 216
    iput-boolean p1, p0, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->m:Z

    .line 217
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->requestLayout()V

    .line 218
    invoke-virtual {p0}, Lcom/hannesdorfmann/swipeback/DraggableSwipeBack;->invalidate()V

    :cond_c
    return-void
.end method