2020-05-17 12:40:10 +00:00
|
|
|
.class public final Landroidx/core/graphics/PointKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Point.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final component1(Landroid/graphics/PointF;)F
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$component1"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component1(Landroid/graphics/Point;)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$component1"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component2(Landroid/graphics/PointF;)F
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$component2"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component2(Landroid/graphics/Point;)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$component2"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final minus(Landroid/graphics/Point;I)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
neg-int p0, p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/Point;->offset(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final minus(Landroid/graphics/Point;Landroid/graphics/Point;)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
neg-int p0, p0
|
|
|
|
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
neg-int p1, p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Point;->offset(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "p"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final minus(Landroid/graphics/PointF;F)Landroid/graphics/PointF;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
neg-float p0, p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/PointF;->offset(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final minus(Landroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/graphics/PointF;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
neg-float p0, p0
|
|
|
|
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
neg-float p1, p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/PointF;->offset(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "p"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Landroid/graphics/Point;I)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/Point;->offset(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$plus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Landroid/graphics/Point;Landroid/graphics/Point;)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Point;->offset(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "p"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$plus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Landroid/graphics/PointF;F)Landroid/graphics/PointF;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/PointF;->offset(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$plus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Landroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/graphics/PointF;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/PointF;->offset(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "p"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$plus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toPoint(Landroid/graphics/PointF;)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
float-to-int v1, v1
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
float-to-int p0, p0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$toPoint"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toPointF(Landroid/graphics/Point;)Landroid/graphics/PointF;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/PointF;-><init>(Landroid/graphics/Point;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$toPointF"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final unaryMinus(Landroid/graphics/Point;)Landroid/graphics/Point;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/Point;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/Point;->x:I
|
|
|
|
|
|
|
|
neg-int v1, v1
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/Point;->y:I
|
|
|
|
|
|
|
|
neg-int p0, p0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/Point;-><init>(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$unaryMinus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final unaryMinus(Landroid/graphics/PointF;)Landroid/graphics/PointF;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
iget v1, p0, Landroid/graphics/PointF;->x:F
|
|
|
|
|
|
|
|
neg-float v1, v1
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/graphics/PointF;->y:F
|
|
|
|
|
|
|
|
neg-float p0, p0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Landroid/graphics/PointF;-><init>(FF)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$unaryMinus"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|