702 lines
18 KiB
Smali
702 lines
18 KiB
Smali
.class public final Landroidx/core/text/SpannableStringBuilderKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SpannableStringBuilder.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final backgroundColor(Landroid/text/SpannableStringBuilder;ILkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/BackgroundColorSpan;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/style/BackgroundColorSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p2
|
|
|
|
const/16 v1, 0x11
|
|
|
|
invoke-virtual {p0, v0, p1, p2, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$backgroundColor"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final bold(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/StyleSpan;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$bold"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final buildSpannedString(Lkotlin/jvm/functions/Function1;)Landroid/text/SpannedString;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannedString;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Landroid/text/SpannableStringBuilder;
|
|
|
|
invoke-direct {v0}, Landroid/text/SpannableStringBuilder;-><init>()V
|
|
|
|
invoke-interface {p0, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
new-instance p0, Landroid/text/SpannedString;
|
|
|
|
invoke-direct {p0, v0}, Landroid/text/SpannedString;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final color(Landroid/text/SpannableStringBuilder;ILkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p2
|
|
|
|
const/16 v1, 0x11
|
|
|
|
invoke-virtual {p0, v0, p1, p2, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$color"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final inSpans(Landroid/text/SpannableStringBuilder;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Ljava/lang/Object;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p2
|
|
|
|
const/16 v1, 0x11
|
|
|
|
invoke-virtual {p0, p1, v0, p2, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "span"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$inSpans"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final inSpans(Landroid/text/SpannableStringBuilder;[Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"[",
|
|
"Ljava/lang/Object;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
array-length p2, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, p2, :cond_0
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v3
|
|
|
|
const/16 v4, 0x11
|
|
|
|
invoke-virtual {p0, v2, v0, v3, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "spans"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p0, "$this$inSpans"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final italic(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/StyleSpan;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-direct {v0, v1}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$italic"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final scale(Landroid/text/SpannableStringBuilder;FLkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"F",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/RelativeSizeSpan;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/style/RelativeSizeSpan;-><init>(F)V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p2
|
|
|
|
const/16 v1, 0x11
|
|
|
|
invoke-virtual {p0, v0, p1, p2, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$scale"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final strikeThrough(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/StrikethroughSpan;
|
|
|
|
invoke-direct {v0}, Landroid/text/style/StrikethroughSpan;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$strikeThrough"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final subscript(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/SubscriptSpan;
|
|
|
|
invoke-direct {v0}, Landroid/text/style/SubscriptSpan;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$subscript"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final superscript(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/SuperscriptSpan;
|
|
|
|
invoke-direct {v0}, Landroid/text/style/SuperscriptSpan;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$superscript"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final underline(Landroid/text/SpannableStringBuilder;Lkotlin/jvm/functions/Function1;)Landroid/text/SpannableStringBuilder;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Landroid/text/SpannableStringBuilder;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/text/style/UnderlineSpan;
|
|
|
|
invoke-direct {v0}, Landroid/text/style/UnderlineSpan;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v2, 0x11
|
|
|
|
invoke-virtual {p0, v0, v1, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "builderAction"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$underline"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|