apkfuckery/com.discord/smali/androidx/transition/PropertyValuesHolderUtils.smali

67 lines
1.7 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class Landroidx/transition/PropertyValuesHolderUtils;
.super Ljava/lang/Object;
.source "PropertyValuesHolderUtils.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(Landroid/util/Property;Landroid/graphics/Path;)Landroid/animation/PropertyValuesHolder;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/util/Property<",
"*",
"Landroid/graphics/PointF;",
">;",
"Landroid/graphics/Path;",
")",
"Landroid/animation/PropertyValuesHolder;"
}
.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, v0, p1}, Landroid/animation/PropertyValuesHolder;->ofObject(Landroid/util/Property;Landroid/animation/TypeConverter;Landroid/graphics/Path;)Landroid/animation/PropertyValuesHolder;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Landroidx/transition/PathProperty;
invoke-direct {v0, p0, p1}, Landroidx/transition/PathProperty;-><init>(Landroid/util/Property;Landroid/graphics/Path;)V
const/4 p0, 0x2
new-array p0, p0, [F
fill-array-data p0, :array_0
invoke-static {v0, p0}, Landroid/animation/PropertyValuesHolder;->ofFloat(Landroid/util/Property;[F)Landroid/animation/PropertyValuesHolder;
move-result-object p0
return-object p0
:array_0
.array-data 4
0x0
0x3f800000 # 1.0f
.end array-data
.end method