Easing$7.smali
.class final Lcom/github/mikephil/charting/animation/Easing$7;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/github/mikephil/charting/animation/Easing$EasingFunction;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/github/mikephil/charting/animation/Easing;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getInterpolation(F)F
.registers 8
const/high16 v0, 0x40000000 # 2.0f
mul-float p1, p1, v0
const-wide/high16 v1, 0x4008000000000000L # 3.0
const/high16 v3, 0x3f000000 # 0.5f
const/high16 v4, 0x3f800000 # 1.0f
cmpg-float v4, p1, v4
if-gez v4, :cond_17
float-to-double v4, p1
invoke-static {v4, v5, v1, v2}, Ljava/lang/Math;->pow(DD)D
move-result-wide v0
double-to-float p1, v0
:goto_14
mul-float p1, p1, v3
return p1
:cond_17
sub-float/2addr p1, v0
float-to-double v4, p1
invoke-static {v4, v5, v1, v2}, Ljava/lang/Math;->pow(DD)D
move-result-wide v1
double-to-float p1, v1
add-float/2addr p1, v0
goto :goto_14
.end method