apkfuckery/com.discord/smali/androidx/core/graphics/PathKt.smali

247 lines
5.8 KiB
Smali

.class public final Landroidx/core/graphics/PathKt;
.super Ljava/lang/Object;
.source "Path.kt"
# direct methods
.method public static final and(Landroid/graphics/Path;Landroid/graphics/Path;)Landroid/graphics/Path;
.locals 2
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroid/graphics/Path;
invoke-direct {v0}, Landroid/graphics/Path;-><init>()V
sget-object v1, Landroid/graphics/Path$Op;->INTERSECT:Landroid/graphics/Path$Op;
invoke-virtual {v0, p0, p1, v1}, Landroid/graphics/Path;->op(Landroid/graphics/Path;Landroid/graphics/Path;Landroid/graphics/Path$Op;)Z
return-object v0
:cond_0
const-string p0, "p"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$and"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final flatten(Landroid/graphics/Path;F)Ljava/lang/Iterable;
.locals 0
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1a
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Path;",
"F)",
"Ljava/lang/Iterable<",
"Landroidx/core/graphics/PathSegment;",
">;"
}
.end annotation
if-eqz p0, :cond_0
invoke-static {p0, p1}, Landroidx/core/graphics/PathUtils;->flatten(Landroid/graphics/Path;F)Ljava/util/Collection;
move-result-object p0
const-string p1, "PathUtils.flatten(this, error)"
invoke-static {p0, p1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
const-string p0, "$this$flatten"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static synthetic flatten$default(Landroid/graphics/Path;FILjava/lang/Object;)Ljava/lang/Iterable;
.locals 0
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_0
const/high16 p1, 0x3f000000 # 0.5f
:cond_0
invoke-static {p0, p1}, Landroidx/core/graphics/PathKt;->flatten(Landroid/graphics/Path;F)Ljava/lang/Iterable;
move-result-object p0
return-object p0
.end method
.method public static final minus(Landroid/graphics/Path;Landroid/graphics/Path;)Landroid/graphics/Path;
.locals 1
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroid/graphics/Path;
invoke-direct {v0, p0}, Landroid/graphics/Path;-><init>(Landroid/graphics/Path;)V
sget-object p0, Landroid/graphics/Path$Op;->DIFFERENCE:Landroid/graphics/Path$Op;
invoke-virtual {v0, p1, p0}, Landroid/graphics/Path;->op(Landroid/graphics/Path;Landroid/graphics/Path$Op;)Z
return-object v0
:cond_0
const-string p0, "p"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$minus"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final or(Landroid/graphics/Path;Landroid/graphics/Path;)Landroid/graphics/Path;
.locals 1
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroid/graphics/Path;
invoke-direct {v0, p0}, Landroid/graphics/Path;-><init>(Landroid/graphics/Path;)V
sget-object p0, Landroid/graphics/Path$Op;->UNION:Landroid/graphics/Path$Op;
invoke-virtual {v0, p1, p0}, Landroid/graphics/Path;->op(Landroid/graphics/Path;Landroid/graphics/Path$Op;)Z
return-object v0
:cond_0
const-string p0, "p"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$or"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final plus(Landroid/graphics/Path;Landroid/graphics/Path;)Landroid/graphics/Path;
.locals 1
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroid/graphics/Path;
invoke-direct {v0, p0}, Landroid/graphics/Path;-><init>(Landroid/graphics/Path;)V
sget-object p0, Landroid/graphics/Path$Op;->UNION:Landroid/graphics/Path$Op;
invoke-virtual {v0, p1, p0}, Landroid/graphics/Path;->op(Landroid/graphics/Path;Landroid/graphics/Path$Op;)Z
return-object v0
:cond_0
const-string p0, "p"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$plus"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final xor(Landroid/graphics/Path;Landroid/graphics/Path;)Landroid/graphics/Path;
.locals 1
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroid/graphics/Path;
invoke-direct {v0, p0}, Landroid/graphics/Path;-><init>(Landroid/graphics/Path;)V
sget-object p0, Landroid/graphics/Path$Op;->XOR:Landroid/graphics/Path$Op;
invoke-virtual {v0, p1, p0}, Landroid/graphics/Path;->op(Landroid/graphics/Path;Landroid/graphics/Path$Op;)Z
return-object v0
:cond_0
const-string p0, "p"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$xor"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method