2020-05-17 12:40:10 +00:00
|
|
|
.class public final Landroidx/core/widget/TextViewKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "TextView.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final addTextChangedListener(Landroid/widget/TextView;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function1;)Landroid/text/TextWatcher;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/widget/TextView;",
|
|
|
|
"Lkotlin/jvm/functions/Function4<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/jvm/functions/Function4<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Landroid/text/Editable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Landroid/text/TextWatcher;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p3, p1, p2}, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1;-><init>(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function4;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "afterTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "onTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "beforeTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$addTextChangedListener"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static addTextChangedListener$default(Landroid/widget/TextView;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Landroid/text/TextWatcher;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p5, p4, 0x1
|
|
|
|
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
|
|
|
|
sget-object p1, Landroidx/core/widget/TextViewKt$addTextChangedListener$1;->INSTANCE:Landroidx/core/widget/TextViewKt$addTextChangedListener$1;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
|
|
|
|
sget-object p2, Landroidx/core/widget/TextViewKt$addTextChangedListener$2;->INSTANCE:Landroidx/core/widget/TextViewKt$addTextChangedListener$2;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
|
|
|
|
sget-object p3, Landroidx/core/widget/TextViewKt$addTextChangedListener$3;->INSTANCE:Landroidx/core/widget/TextViewKt$addTextChangedListener$3;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
const-string p4, "beforeTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string p4, "onTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p2, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string p4, "afterTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p3, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance p4, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1;
|
|
|
|
|
|
|
|
invoke-direct {p4, p3, p1, p2}, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1;-><init>(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function4;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p4}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
|
|
|
return-object p4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$addTextChangedListener"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final doAfterTextChanged(Landroid/widget/TextView;Lkotlin/jvm/functions/Function1;)Landroid/text/TextWatcher;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/widget/TextView;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Landroid/text/Editable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Landroid/text/TextWatcher;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/core/widget/TextViewKt$doAfterTextChanged$$inlined$addTextChangedListener$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Landroidx/core/widget/TextViewKt$doAfterTextChanged$$inlined$addTextChangedListener$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "action"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$doAfterTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final doBeforeTextChanged(Landroid/widget/TextView;Lkotlin/jvm/functions/Function4;)Landroid/text/TextWatcher;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/widget/TextView;",
|
|
|
|
"Lkotlin/jvm/functions/Function4<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Landroid/text/TextWatcher;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/core/widget/TextViewKt$doBeforeTextChanged$$inlined$addTextChangedListener$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Landroidx/core/widget/TextViewKt$doBeforeTextChanged$$inlined$addTextChangedListener$1;-><init>(Lkotlin/jvm/functions/Function4;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "action"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$doBeforeTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final doOnTextChanged(Landroid/widget/TextView;Lkotlin/jvm/functions/Function4;)Landroid/text/TextWatcher;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/widget/TextView;",
|
|
|
|
"Lkotlin/jvm/functions/Function4<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)",
|
|
|
|
"Landroid/text/TextWatcher;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/core/widget/TextViewKt$doOnTextChanged$$inlined$addTextChangedListener$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Landroidx/core/widget/TextViewKt$doOnTextChanged$$inlined$addTextChangedListener$1;-><init>(Lkotlin/jvm/functions/Function4;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "action"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$doOnTextChanged"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|