DialogCell$BounceInterpolator.smali

.class public Lim/tpelyyftgw/ui/cells/DialogCell$BounceInterpolator;
.super Ljava/lang/Object;
.source "DialogCell.java"

# interfaces
.implements Landroid/view/animation/Interpolator;


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

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "BounceInterpolator"
.end annotation


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


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

    return-void
.end method

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

    .line 317
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/DialogCell$BounceInterpolator;->this$0:Lim/tpelyyftgw/ui/cells/DialogCell;

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

    return-void
.end method


# virtual methods
.method public getInterpolation(F)F
    .registers 6
    .param p1, "t"    # F

    .line 320
    const v0, 0x3dcccccd    # 0.1f

    const v1, 0x3ea8f5c3    # 0.33f

    cmpg-float v2, p1, v1

    if-gez v2, :cond_f

    .line 321
    div-float v1, p1, v1

    mul-float v1, v1, v0

    return v1

    .line 323
    :cond_f
    sub-float/2addr p1, v1

    .line 324
    const v2, 0x3eae147b    # 0.34f

    cmpg-float v3, p1, v1

    if-gez v3, :cond_20

    .line 325
    const v1, 0x3e19999a    # 0.15f

    div-float v2, p1, v2

    mul-float v2, v2, v1

    sub-float/2addr v0, v2

    return v0

    .line 327
    :cond_20
    sub-float/2addr p1, v2

    .line 328
    const v0, -0x42b33333    # -0.05f

    const v2, 0x3d4ccccd    # 0.05f

    div-float v1, p1, v1

    mul-float v1, v1, v2

    add-float/2addr v1, v0

    return v1
.end method