58 lines
1.1 KiB
Smali
58 lines
1.1 KiB
Smali
.class public Lcom/badlogic/gdx/math/Interpolation$SwingIn;
|
|
.super Lcom/badlogic/gdx/math/Interpolation;
|
|
.source "Interpolation.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/math/Interpolation;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "SwingIn"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final Q:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(F)V
|
|
.locals 0
|
|
|
|
.line 426
|
|
invoke-direct {p0}, Lcom/badlogic/gdx/math/Interpolation;-><init>()V
|
|
|
|
.line 427
|
|
iput p1, p0, Lcom/badlogic/gdx/math/Interpolation$SwingIn;->Q:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(F)F
|
|
.locals 3
|
|
|
|
mul-float v0, p1, p1
|
|
|
|
.line 431
|
|
iget v1, p0, Lcom/badlogic/gdx/math/Interpolation$SwingIn;->Q:F
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
add-float/2addr v1, v2
|
|
|
|
mul-float v1, v1, p1
|
|
|
|
iget p1, p0, Lcom/badlogic/gdx/math/Interpolation$SwingIn;->Q:F
|
|
|
|
sub-float/2addr v1, p1
|
|
|
|
mul-float v0, v0, v1
|
|
|
|
return v0
|
|
.end method
|