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

68 lines
1.7 KiB
Smali

.class Landroidx/transition/ObjectAnimatorUtils;
.super Ljava/lang/Object;
.source "ObjectAnimatorUtils.java"
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static ofPointF(Ljava/lang/Object;Landroid/util/Property;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Landroid/util/Property<",
"TT;",
"Landroid/graphics/PointF;",
">;",
"Landroid/graphics/Path;",
")",
"Landroid/animation/ObjectAnimator;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
const/4 v0, 0x0
invoke-static {p0, p1, v0, p2}, Landroid/animation/ObjectAnimator;->ofObject(Ljava/lang/Object;Landroid/util/Property;Landroid/animation/TypeConverter;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Landroidx/transition/PathProperty;
invoke-direct {v0, p1, p2}, Landroidx/transition/PathProperty;-><init>(Landroid/util/Property;Landroid/graphics/Path;)V
const/4 p1, 0x2
new-array p1, p1, [F
fill-array-data p1, :array_0
invoke-static {p0, v0, p1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object p0
return-object p0
:array_0
.array-data 4
0x0
0x3f800000 # 1.0f
.end array-data
.end method