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

67 lines
1.6 KiB
Smali
Raw Normal View History

2019-07-31 00:08:31 +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
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, p1, p2}, Landroid/graphics/Picture;->beginRecording(II)Landroid/graphics/Canvas;
move-result-object p1
:try_start_0
2019-12-06 03:29:40 +00:00
const-string p2, "c"
2019-07-31 00:08:31 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-31 00:08:31 +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
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "block"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p0, "$this$record"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/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