Rabbit-R1/android (non root)/smali/smali_classes2/com/airbnb/lottie/parser/FloatParser.smali

86 lines
2 KiB
Smali
Raw Normal View History

2024-05-21 21:08:36 +00:00
.class public Lcom/airbnb/lottie/parser/FloatParser;
.super Ljava/lang/Object;
.source "FloatParser.java"
# interfaces
.implements Lcom/airbnb/lottie/parser/ValueParser;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/airbnb/lottie/parser/ValueParser<",
"Ljava/lang/Float;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/airbnb/lottie/parser/FloatParser;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 9
new-instance v0, Lcom/airbnb/lottie/parser/FloatParser;
invoke-direct {v0}, Lcom/airbnb/lottie/parser/FloatParser;-><init>()V
sput-object v0, Lcom/airbnb/lottie/parser/FloatParser;->INSTANCE:Lcom/airbnb/lottie/parser/FloatParser;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public parse(Lcom/airbnb/lottie/parser/moshi/JsonReader;F)Ljava/lang/Float;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 15
invoke-static {p1}, Lcom/airbnb/lottie/parser/JsonUtils;->valueFromObject(Lcom/airbnb/lottie/parser/moshi/JsonReader;)F
move-result p0
mul-float/2addr p0, p2
invoke-static {p0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method
.method public bridge synthetic parse(Lcom/airbnb/lottie/parser/moshi/JsonReader;F)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 8
invoke-virtual {p0, p1, p2}, Lcom/airbnb/lottie/parser/FloatParser;->parse(Lcom/airbnb/lottie/parser/moshi/JsonReader;F)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method