2019-07-31 00:08:31 +00:00
|
|
|
.class public final Landroidx/core/graphics/CanvasKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Canvas.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-01 14:15:45 +00:00
|
|
|
.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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p5, :cond_0
|
2019-10-01 14:15:45 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withClip"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-01 14:15:45 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p5, :cond_0
|
2019-10-01 14:15:45 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withClip"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-01 14:15:45 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-10-01 14:15:45 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "clipPath"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$withClip"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-01 14:15:45 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-10-01 14:15:45 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "clipRect"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$withClip"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-01 14:15:45 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-10-01 14:15:45 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "clipRect"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$withClip"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-01 14:15:45 +00:00
|
|
|
.end method
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "matrix"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$withMatrix"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic withMatrix$default(Landroid/graphics/Canvas;Landroid/graphics/Matrix;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
and-int/lit8 p3, p3, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
new-instance p1, Landroid/graphics/Matrix;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Matrix;-><init>()V
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p3, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p4, "matrix"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1, p4}, Lm/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_1
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$withMatrix"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p3
|
2019-07-31 00:08:31 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p4, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withRotation"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic withRotation$default(Landroid/graphics/Canvas;FFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
.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
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p5, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p4, :cond_3
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p5}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$withRotation"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p5
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final withSave(Landroid/graphics/Canvas;Lkotlin/jvm/functions/Function1;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/graphics/Canvas;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Landroid/graphics/Canvas;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withSave"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p5, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withScale"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic withScale$default(Landroid/graphics/Canvas;FFFFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
.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
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p6, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p5, :cond_4
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p6}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p6
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$this$withScale"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p6
|
2019-07-31 00:08:31 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p3, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withSkew"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic withSkew$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
.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
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p4, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p3, :cond_2
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$withSkew"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p4
|
2019-07-31 00:08:31 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p3, :cond_0
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$withTranslation"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic withTranslation$default(Landroid/graphics/Canvas;FFLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
.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
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p4, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p3, :cond_2
|
2019-07-31 00:08:31 +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
|
2019-12-06 03:29:40 +00:00
|
|
|
move-exception p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p4}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "block"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$withTranslation"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p4
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|