73 lines
2.0 KiB
Smali
73 lines
2.0 KiB
Smali
.class final Lcom/moji/lottie/AnimatableIntegerValue$Factory;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimatableIntegerValue.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/lottie/AnimatableIntegerValue;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "Factory"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 30
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static a()Lcom/moji/lottie/AnimatableIntegerValue;
|
|
.locals 2
|
|
|
|
.line 34
|
|
new-instance v0, Lcom/moji/lottie/AnimatableIntegerValue;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/moji/lottie/AnimatableIntegerValue;-><init>(Lcom/moji/lottie/AnimatableIntegerValue$1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method static a(Lorg/json/JSONObject;Lcom/moji/lottie/LottieComposition;)Lcom/moji/lottie/AnimatableIntegerValue;
|
|
.locals 2
|
|
|
|
.line 40
|
|
invoke-static {}, Lcom/moji/lottie/AnimatableIntegerValue$ValueFactory;->a()Lcom/moji/lottie/AnimatableIntegerValue$ValueFactory;
|
|
|
|
move-result-object v0
|
|
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
invoke-static {p0, v1, p1, v0}, Lcom/moji/lottie/AnimatableValueParser;->a(Lorg/json/JSONObject;FLcom/moji/lottie/LottieComposition;Lcom/moji/lottie/AnimatableValue$Factory;)Lcom/moji/lottie/AnimatableValueParser;
|
|
|
|
move-result-object p0
|
|
|
|
.line 41
|
|
invoke-virtual {p0}, Lcom/moji/lottie/AnimatableValueParser;->a()Lcom/moji/lottie/AnimatableValueParser$Result;
|
|
|
|
move-result-object p0
|
|
|
|
.line 42
|
|
iget-object p1, p0, Lcom/moji/lottie/AnimatableValueParser$Result;->b:Ljava/lang/Object;
|
|
|
|
check-cast p1, Ljava/lang/Integer;
|
|
|
|
.line 43
|
|
new-instance v0, Lcom/moji/lottie/AnimatableIntegerValue;
|
|
|
|
iget-object p0, p0, Lcom/moji/lottie/AnimatableValueParser$Result;->a:Ljava/util/List;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/moji/lottie/AnimatableIntegerValue;-><init>(Ljava/util/List;Ljava/lang/Integer;)V
|
|
|
|
return-object v0
|
|
.end method
|