2020-05-17 12:40:10 +00:00
|
|
|
.class public final Landroidx/core/graphics/PictureKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Picture.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final record(Landroid/graphics/Picture;IILkotlin/jvm/functions/Function1;)Landroid/graphics/Picture;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/graphics/Picture;",
|
|
|
|
"II",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Landroid/graphics/Canvas;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Landroid/graphics/Picture;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
if-eqz p0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
if-eqz p3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/graphics/Picture;->beginRecording(II)Landroid/graphics/Canvas;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string p2, "c"
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
invoke-static {p1, p2}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-interface {p3, p1}, 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}, Landroid/graphics/Picture;->endRecording()V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/graphics/Picture;->endRecording()V
|
|
|
|
|
|
|
|
throw p1
|
2020-09-16 21:45:36 +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$record"
|
|
|
|
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|