apkfuckery/com.discord/smali/androidx/transition/FloatArrayEvaluator.smali
2019-02-04 21:29:01 +01:00

87 lines
1.5 KiB
Smali

.class Landroidx/transition/FloatArrayEvaluator;
.super Ljava/lang/Object;
.source "FloatArrayEvaluator.java"
# interfaces
.implements Landroid/animation/TypeEvaluator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/animation/TypeEvaluator<",
"[F>;"
}
.end annotation
# instance fields
.field private mArray:[F
# direct methods
.method constructor <init>([F)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/transition/FloatArrayEvaluator;->mArray:[F
return-void
.end method
# virtual methods
.method public bridge synthetic evaluate(FLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p2, [F
check-cast p3, [F
invoke-virtual {p0, p1, p2, p3}, Landroidx/transition/FloatArrayEvaluator;->evaluate(F[F[F)[F
move-result-object p1
return-object p1
.end method
.method public evaluate(F[F[F)[F
.locals 4
iget-object v0, p0, Landroidx/transition/FloatArrayEvaluator;->mArray:[F
if-nez v0, :cond_0
array-length v0, p2
new-array v0, v0, [F
:cond_0
const/4 v1, 0x0
:goto_0
array-length v2, v0
if-ge v1, v2, :cond_1
aget v2, p2, v1
aget v3, p3, v1
sub-float/2addr v3, v2
mul-float v3, v3, p1
add-float/2addr v2, v3
aput v2, v0, v1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object v0
.end method