134 lines
3.2 KiB
Smali
134 lines
3.2 KiB
Smali
.class public final Landroidx/core/text/HtmlKt;
|
|
.super Ljava/lang/Object;
|
|
.source "Html.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final parseAsHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Html$TagHandler;)Landroid/text/Spanned;
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0, p1, p2, p3}, Landroidx/core/text/HtmlCompat;->fromHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Html$TagHandler;)Landroid/text/Spanned;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "HtmlCompat.fromHtml(this\u2026 imageGetter, tagHandler)"
|
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$parseAsHtml"
|
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static parseAsHtml$default(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Html$TagHandler;ILjava/lang/Object;)Landroid/text/Spanned;
|
|
.locals 1
|
|
|
|
and-int/lit8 p5, p4, 0x1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
move-object p2, v0
|
|
|
|
:cond_1
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
move-object p3, v0
|
|
|
|
:cond_2
|
|
if-eqz p0, :cond_3
|
|
|
|
invoke-static {p0, p1, p2, p3}, Landroidx/core/text/HtmlCompat;->fromHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Html$TagHandler;)Landroid/text/Spanned;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "HtmlCompat.fromHtml(this\u2026 imageGetter, tagHandler)"
|
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_3
|
|
const-string p0, "$this$parseAsHtml"
|
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final toHtml(Landroid/text/Spanned;I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0, p1}, Landroidx/core/text/HtmlCompat;->toHtml(Landroid/text/Spanned;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "HtmlCompat.toHtml(this, option)"
|
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$toHtml"
|
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static toHtml$default(Landroid/text/Spanned;IILjava/lang/Object;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-static {p0, p1}, Landroidx/core/text/HtmlCompat;->toHtml(Landroid/text/Spanned;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "HtmlCompat.toHtml(this, option)"
|
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$toHtml"
|
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|