139 lines
3.6 KiB
Smali
139 lines
3.6 KiB
Smali
.class public final Lcom/airbnb/lottie/a/b/h;
|
|
.super Lcom/airbnb/lottie/g/a;
|
|
.source "PathKeyframe.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Landroid/graphics/PointF;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final ha:Lcom/airbnb/lottie/g/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Landroid/graphics/PointF;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field path:Landroid/graphics/Path;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/airbnb/lottie/d;Lcom/airbnb/lottie/g/a;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/airbnb/lottie/d;",
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Landroid/graphics/PointF;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v2, p2, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
|
|
|
iget-object v3, p2, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
|
|
|
iget-object v4, p2, Lcom/airbnb/lottie/g/a;->mu:Landroid/view/animation/Interpolator;
|
|
|
|
iget v5, p2, Lcom/airbnb/lottie/g/a;->ei:F
|
|
|
|
iget-object v6, p2, Lcom/airbnb/lottie/g/a;->mv:Ljava/lang/Float;
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/airbnb/lottie/g/a;-><init>(Lcom/airbnb/lottie/d;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
|
|
iput-object p2, p0, Lcom/airbnb/lottie/a/b/h;->ha:Lcom/airbnb/lottie/g/a;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/a/b/h;->bd()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bd()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/a/b/h;->mt:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/a/b/h;->ms:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/a/b/h;->ms:Ljava/lang/Object;
|
|
|
|
check-cast v0, Landroid/graphics/PointF;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/a/b/h;->mt:Ljava/lang/Object;
|
|
|
|
check-cast v1, Landroid/graphics/PointF;
|
|
|
|
iget v1, v1, Landroid/graphics/PointF;->x:F
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/a/b/h;->mt:Ljava/lang/Object;
|
|
|
|
check-cast v2, Landroid/graphics/PointF;
|
|
|
|
iget v2, v2, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/graphics/PointF;->equals(FF)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/airbnb/lottie/a/b/h;->mt:Ljava/lang/Object;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/a/b/h;->ms:Ljava/lang/Object;
|
|
|
|
check-cast v0, Landroid/graphics/PointF;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/a/b/h;->mt:Ljava/lang/Object;
|
|
|
|
check-cast v1, Landroid/graphics/PointF;
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/a/b/h;->ha:Lcom/airbnb/lottie/g/a;
|
|
|
|
iget-object v2, v2, Lcom/airbnb/lottie/g/a;->mD:Landroid/graphics/PointF;
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/a/b/h;->ha:Lcom/airbnb/lottie/g/a;
|
|
|
|
iget-object v3, v3, Lcom/airbnb/lottie/g/a;->mE:Landroid/graphics/PointF;
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lcom/airbnb/lottie/f/h;->a(Landroid/graphics/PointF;Landroid/graphics/PointF;Landroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/graphics/Path;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/a/b/h;->path:Landroid/graphics/Path;
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|