cg.smali
.class final Lcom/lottie/cg;
.super Ljava/lang/Object;
.source "ScaleXY.java"
# interfaces
.implements Lcom/lottie/w;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/lottie/w",
"<",
"Lcom/lottie/cf;",
">;"
}
.end annotation
# static fields
.field static final bve:Lcom/lottie/cg;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 32
new-instance v0, Lcom/lottie/cg;
invoke-direct {v0}, Lcom/lottie/cg;-><init>()V
sput-object v0, Lcom/lottie/cg;->bve:Lcom/lottie/cg;
return-void
.end method
.method private constructor <init>()V
.registers 1
.prologue
.line 34
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 35
return-void
.end method
# virtual methods
.method public final synthetic a(Ljava/lang/Object;F)Ljava/lang/Object;
.registers 10
.prologue
const/high16 v6, 0x42c80000 # 100.0f
const-wide/high16 v4, 0x3ff0000000000000L # 1.0
.line 31
.line 1039
check-cast p1, Lorg/json/JSONArray;
.line 1040
new-instance v0, Lcom/lottie/cf;
const/4 v1, 0x0
.line 1041
invoke-virtual {p1, v1, v4, v5}, Lorg/json/JSONArray;->optDouble(ID)D
move-result-wide v2
double-to-float v1, v2
div-float/2addr v1, v6
mul-float/2addr v1, p2
const/4 v2, 0x1
.line 1042
invoke-virtual {p1, v2, v4, v5}, Lorg/json/JSONArray;->optDouble(ID)D
move-result-wide v2
double-to-float v2, v2
div-float/2addr v2, v6
mul-float/2addr v2, p2
invoke-direct {v0, v1, v2}, Lcom/lottie/cf;-><init>(FF)V
.line 31
return-object v0
.end method