.class Lcom/moji/lottie/ScaleXY$Factory;
.super Ljava/lang/Object;
.source "ScaleXY.java"

# interfaces
.implements Lcom/moji/lottie/AnimatableValue$Factory;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/lottie/ScaleXY;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "Factory"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/moji/lottie/AnimatableValue$Factory<",
        "Lcom/moji/lottie/ScaleXY;",
        ">;"
    }
.end annotation


# static fields
.field static final a:Lcom/moji/lottie/ScaleXY$Factory;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 32
    new-instance v0, Lcom/moji/lottie/ScaleXY$Factory;

    invoke-direct {v0}, Lcom/moji/lottie/ScaleXY$Factory;-><init>()V

    sput-object v0, Lcom/moji/lottie/ScaleXY$Factory;->a:Lcom/moji/lottie/ScaleXY$Factory;

    return-void
.end method

.method private constructor <init>()V
    .locals 0

    .line 34
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;F)Lcom/moji/lottie/ScaleXY;
    .locals 6

    .line 39
    check-cast p1, Lorg/json/JSONArray;

    .line 40
    new-instance v0, Lcom/moji/lottie/ScaleXY;

    const-wide/high16 v1, 0x3ff0000000000000L    # 1.0

    const/4 v3, 0x0

    .line 41
    invoke-virtual {p1, v3, v1, v2}, Lorg/json/JSONArray;->optDouble(ID)D

    move-result-wide v3

    double-to-float v3, v3

    const/high16 v4, 0x42c80000    # 100.0f

    div-float/2addr v3, v4

    mul-float v3, v3, p2

    const/4 v5, 0x1

    .line 42
    invoke-virtual {p1, v5, v1, v2}, Lorg/json/JSONArray;->optDouble(ID)D

    move-result-wide v1

    double-to-float p1, v1

    div-float/2addr p1, v4

    mul-float p1, p1, p2

    invoke-direct {v0, v3, p1}, Lcom/moji/lottie/ScaleXY;-><init>(FF)V

    return-object v0
.end method

.method public synthetic b(Ljava/lang/Object;F)Ljava/lang/Object;
    .locals 0

    .line 31
    invoke-virtual {p0, p1, p2}, Lcom/moji/lottie/ScaleXY$Factory;->a(Ljava/lang/Object;F)Lcom/moji/lottie/ScaleXY;

    move-result-object p1

    return-object p1
.end method
