2020-11-16 01:00:50 +00:00
|
|
|
.class public Lf/d/a/u/c/i;
|
|
|
|
.super Lf/d/a/u/c/f;
|
2020-11-12 02:11:44 +00:00
|
|
|
.source "PathKeyframeAnimation.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-16 01:00:50 +00:00
|
|
|
"Lf/d/a/u/c/f<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Landroid/graphics/PointF;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final i:Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
.field public final j:[F
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
.field public k:Lf/d/a/u/c/h;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
.field public l:Landroid/graphics/PathMeasure;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
2020-11-16 01:00:50 +00:00
|
|
|
"Lf/d/a/a0/a<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Landroid/graphics/PointF;",
|
|
|
|
">;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {p0, p1}, Lf/d/a/u/c/f;-><init>(Ljava/util/List;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
new-instance p1, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Landroid/graphics/PointF;-><init>()V
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput-object p1, p0, Lf/d/a/u/c/i;->i:Landroid/graphics/PointF;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x2
|
|
|
|
|
|
|
|
new-array p1, p1, [F
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput-object p1, p0, Lf/d/a/u/c/i;->j:[F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
new-instance p1, Landroid/graphics/PathMeasure;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Landroid/graphics/PathMeasure;-><init>()V
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput-object p1, p0, Lf/d/a/u/c/i;->l:Landroid/graphics/PathMeasure;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-16 01:00:50 +00:00
|
|
|
.method public f(Lf/d/a/a0/a;F)Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 10
|
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
check-cast v0, Lf/d/a/u/c/h;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v1, v0, Lf/d/a/u/c/h;->o:Landroid/graphics/Path;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p1, Lf/d/a/a0/a;->b:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v2, p0, Lf/d/a/u/c/a;->e:Lf/d/a/a0/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget v3, v0, Lf/d/a/a0/a;->e:F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, v0, Lf/d/a/a0/a;->f:Ljava/lang/Float;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v5, v0, Lf/d/a/a0/a;->b:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v6, v0, Lf/d/a/a0/a;->c:Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p0}, Lf/d/a/u/c/a;->d()F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget v9, p0, Lf/d/a/u/c/a;->d:F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move v8, p2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual/range {v2 .. v9}, Lf/d/a/a0/c;->a(FFLjava/lang/Object;Ljava/lang/Object;FFF)Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p0, Lf/d/a/u/c/i;->k:Lf/d/a/u/c/h;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p0, Lf/d/a/u/c/i;->l:Landroid/graphics/PathMeasure;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v1, v2}, Landroid/graphics/PathMeasure;->setPath(Landroid/graphics/Path;Z)V
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput-object v0, p0, Lf/d/a/u/c/i;->k:Lf/d/a/u/c/h;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p0, Lf/d/a/u/c/i;->l:Landroid/graphics/PathMeasure;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/PathMeasure;->getLength()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
mul-float v0, v0, p2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p2, p0, Lf/d/a/u/c/i;->j:[F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, p2, v1}, Landroid/graphics/PathMeasure;->getPosTan(F[F[F)Z
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p0, Lf/d/a/u/c/i;->i:Landroid/graphics/PointF;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p2, p0, Lf/d/a/u/c/i;->j:[F
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
aget v0, p2, v2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
aget p2, p2, v1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, p2}, Landroid/graphics/PointF;->set(FF)V
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object p1, p0, Lf/d/a/u/c/i;->i:Landroid/graphics/PointF;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p1
|
|
|
|
.end method
|