144 lines
3.3 KiB
Smali
144 lines
3.3 KiB
Smali
.class public final Lcom/airbnb/lottie/a/b/j;
|
|
.super Lcom/airbnb/lottie/a/b/f;
|
|
.source "PointKeyframeAnimation.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/airbnb/lottie/a/b/f<",
|
|
"Landroid/graphics/PointF;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final hb:Landroid/graphics/PointF;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Landroid/graphics/PointF;",
|
|
">;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/a/b/f;-><init>(Ljava/util/List;)V
|
|
|
|
new-instance p1, Landroid/graphics/PointF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/PointF;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/a/b/j;->hb:Landroid/graphics/PointF;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final synthetic a(Lcom/airbnb/lottie/g/a;F)Ljava/lang/Object;
|
|
.locals 10
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
|
|
|
check-cast v0, Landroid/graphics/PointF;
|
|
|
|
iget-object v1, p1, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
|
|
|
move-object v9, v1
|
|
|
|
check-cast v9, Landroid/graphics/PointF;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/a/b/j;->gP:Lcom/airbnb/lottie/g/c;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/a/b/j;->gP:Lcom/airbnb/lottie/g/c;
|
|
|
|
iget v2, p1, Lcom/airbnb/lottie/g/a;->ei:F
|
|
|
|
iget-object p1, p1, Lcom/airbnb/lottie/g/a;->mv:Ljava/lang/Float;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/a/b/j;->aX()F
|
|
|
|
move-result v7
|
|
|
|
iget v8, p0, Lcom/airbnb/lottie/a/b/a;->dW:F
|
|
|
|
move-object v4, v0
|
|
|
|
move-object v5, v9
|
|
|
|
move v6, p2
|
|
|
|
invoke-virtual/range {v1 .. v8}, Lcom/airbnb/lottie/g/c;->a(FFLjava/lang/Object;Ljava/lang/Object;FFF)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/graphics/PointF;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/airbnb/lottie/a/b/j;->hb:Landroid/graphics/PointF;
|
|
|
|
iget v1, v0, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v2, v9, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v3, v0, Landroid/graphics/PointF;->x:F
|
|
|
|
sub-float/2addr v2, v3
|
|
|
|
mul-float v2, v2, p2
|
|
|
|
add-float/2addr v1, v2
|
|
|
|
iget v2, v0, Landroid/graphics/PointF;->y:F
|
|
|
|
iget v3, v9, Landroid/graphics/PointF;->y:F
|
|
|
|
iget v0, v0, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float/2addr v3, v0
|
|
|
|
mul-float p2, p2, v3
|
|
|
|
add-float/2addr v2, p2
|
|
|
|
invoke-virtual {p1, v1, v2}, Landroid/graphics/PointF;->set(FF)V
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/a/b/j;->hb:Landroid/graphics/PointF;
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "Missing values for keyframe."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|