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

1007 lines
22 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Landroidx/core/graphics/CanvasKt;
.super Ljava/lang/Object;
.source "Canvas.kt"
# direct methods
.method public static final withClip(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFFF",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p5, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->clipRect(FFFF)Z
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withClip"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withClip(Landroid/graphics/Canvas;IIIILkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"IIII",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p5, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->clipRect(IIII)Z
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withClip"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/Path;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Path;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;)Z
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "clipPath"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$withClip"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Rect;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "clipRect"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$withClip"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withClip(Landroid/graphics/Canvas;Landroid/graphics/RectF;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/RectF;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/RectF;)Z
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "clipRect"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$withClip"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withMatrix(Landroid/graphics/Canvas;Landroid/graphics/Matrix;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Landroid/graphics/Matrix;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->concat(Landroid/graphics/Matrix;)V
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "matrix"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$withMatrix"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public static withMatrix$default(Landroid/graphics/Canvas;Landroid/graphics/Matrix;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-05-17 12:40:10 +00:00
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
new-instance p1, Landroid/graphics/Matrix;
invoke-direct {p1}, Landroid/graphics/Matrix;-><init>()V
:cond_0
2020-09-08 08:16:32 +00:00
const/4 p3, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
const-string p4, "matrix"
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {p1, p4}, Lk0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_1
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p3
invoke-virtual {p0, p1}, Landroid/graphics/Canvas;->concat(Landroid/graphics/Matrix;)V
:try_start_0
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, p3}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, p3}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_1
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
:cond_2
const-string p0, "$this$withMatrix"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
2020-05-17 12:40:10 +00:00
.end method
.method public static final withRotation(Landroid/graphics/Canvas;FFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFF",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p4, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2, p3}, Landroid/graphics/Canvas;->rotate(FFF)V
:try_start_0
invoke-interface {p4, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withRotation"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public static withRotation$default(Landroid/graphics/Canvas;FFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-05-17 12:40:10 +00:00
.locals 1
and-int/lit8 p6, p5, 0x1
const/4 v0, 0x0
if-eqz p6, :cond_0
const/4 p1, 0x0
:cond_0
and-int/lit8 p6, p5, 0x2
if-eqz p6, :cond_1
const/4 p2, 0x0
:cond_1
and-int/lit8 p5, p5, 0x4
if-eqz p5, :cond_2
const/4 p3, 0x0
:cond_2
2020-09-08 08:16:32 +00:00
const/4 p5, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_4
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p4, :cond_3
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p5
invoke-virtual {p0, p1, p2, p3}, Landroid/graphics/Canvas;->rotate(FFF)V
:try_start_0
invoke-interface {p4, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, p5}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, p5}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_3
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p5
:cond_4
const-string p0, "$this$withRotation"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p5
2020-05-17 12:40:10 +00:00
.end method
.method public static final withSave(Landroid/graphics/Canvas;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
:try_start_0
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withSave"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public static final withScale(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FFFF",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p5, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->scale(FFFF)V
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withScale"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public static withScale$default(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-05-17 12:40:10 +00:00
.locals 1
and-int/lit8 p7, p6, 0x1
const/high16 v0, 0x3f800000 # 1.0f
if-eqz p7, :cond_0
const/high16 p1, 0x3f800000 # 1.0f
:cond_0
and-int/lit8 p7, p6, 0x2
if-eqz p7, :cond_1
const/high16 p2, 0x3f800000 # 1.0f
:cond_1
and-int/lit8 p7, p6, 0x4
const/4 v0, 0x0
if-eqz p7, :cond_2
const/4 p3, 0x0
:cond_2
and-int/lit8 p6, p6, 0x8
if-eqz p6, :cond_3
const/4 p4, 0x0
:cond_3
2020-09-08 08:16:32 +00:00
const/4 p6, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_5
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p5, :cond_4
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p6
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/Canvas;->scale(FFFF)V
:try_start_0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, p6}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, p6}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_4
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p6
:cond_5
const-string p0, "$this$withScale"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p6
2020-05-17 12:40:10 +00:00
.end method
.method public static final withSkew(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FF",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->skew(FF)V
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withSkew"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public static withSkew$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-05-17 12:40:10 +00:00
.locals 1
and-int/lit8 p5, p4, 0x1
const/4 v0, 0x0
if-eqz p5, :cond_0
const/4 p1, 0x0
:cond_0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_1
const/4 p2, 0x0
:cond_1
2020-09-08 08:16:32 +00:00
const/4 p4, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_3
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_2
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p4
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->skew(FF)V
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_2
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
:cond_3
const-string p0, "$this$withSkew"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
2020-05-17 12:40:10 +00:00
.end method
.method public static final withTranslation(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Canvas;",
"FF",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/graphics/Canvas;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_0
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result v0
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->translate(FF)V
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "$this$withTranslation"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public static withTranslation$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-05-17 12:40:10 +00:00
.locals 1
and-int/lit8 p5, p4, 0x1
const/4 v0, 0x0
if-eqz p5, :cond_0
const/4 p1, 0x0
:cond_0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_1
const/4 p2, 0x0
:cond_1
2020-09-08 08:16:32 +00:00
const/4 p4, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_3
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_2
2020-05-17 12:40:10 +00:00
invoke-virtual {p0}, Landroid/graphics/Canvas;->save()I
move-result p4
invoke-virtual {p0, p1, p2}, Landroid/graphics/Canvas;->translate(FF)V
:try_start_0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
return-void
:catchall_0
move-exception p1
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
throw p1
2020-09-08 08:16:32 +00:00
:cond_2
const-string p0, "block"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
:cond_3
const-string p0, "$this$withTranslation"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
2020-05-17 12:40:10 +00:00
.end method