Easing$13.smali
.class final Lcom/github/mikephil/charting/animation/Easing$13;
.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 6
float-to-double v0, p1
const-wide v2, 0x400921fb54442d18L # Math.PI
mul-double v0, v0, v2
invoke-static {v0, v1}, Ljava/lang/Math;->cos(D)D
move-result-wide v0
double-to-float p1, v0
const/high16 v0, 0x3f800000 # 1.0f
sub-float/2addr p1, v0
const/high16 v0, -0x41000000 # -0.5f
mul-float p1, p1, v0
return p1
.end method