2020-09-16 23:45:23 +00:00
|
|
|
.class public Lf/d/a/y/v;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "PointFParser.java"
|
|
|
|
|
|
|
|
# interfaces
|
2020-09-16 23:45:23 +00:00
|
|
|
.implements Lf/d/a/y/g0;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/y/g0<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Landroid/graphics/PointF;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public static final a:Lf/d/a/y/v;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lf/d/a/y/v;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v0}, Lf/d/a/y/v;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sput-object v0, Lf/d/a/y/v;->a:Lf/d/a/y/v;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public a(Lf/d/a/y/h0/c;F)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/y/h0/c;->p()Lf/d/a/y/h0/c$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/y/h0/c$b;->d:Lf/d/a/y/h0/c$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1, p2}, Lf/d/a/y/o;->b(Lf/d/a/y/h0/c;F)Landroid/graphics/PointF;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/y/h0/c$b;->f:Lf/d/a/y/h0/c$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1, p2}, Lf/d/a/y/o;->b(Lf/d/a/y/h0/c;F)Landroid/graphics/PointF;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/y/h0/c$b;->j:Lf/d/a/y/h0/c$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/y/h0/c;->g()D
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
|
|
|
double-to-float v1, v1
|
|
|
|
|
|
|
|
mul-float v1, v1, p2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/y/h0/c;->g()D
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-wide v2
|
|
|
|
|
|
|
|
double-to-float v2, v2
|
|
|
|
|
|
|
|
mul-float v2, v2, p2
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/y/h0/c;->e()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lf/d/a/y/h0/c;->x()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object p1, v0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v1, "Cannot convert json to point. Next token is "
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|