.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;->(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" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_1 const-string p0, "onTextChanged" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_2 const-string p0, "beforeTextChanged" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_3 const-string p0, "$this$addTextChangedListener" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 .end method .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; .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" invoke-static {p1, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string p4, "onTextChanged" invoke-static {p2, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string p4, "afterTextChanged" invoke-static {p3, p4}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance p4, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1; invoke-direct {p4, p3, p1, p2}, Landroidx/core/widget/TextViewKt$addTextChangedListener$textWatcher$1;->(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" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V 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;->(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" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_1 const-string p0, "$this$doAfterTextChanged" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V 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;->(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" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_1 const-string p0, "$this$doBeforeTextChanged" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V 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;->(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" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_1 const-string p0, "$this$doOnTextChanged" invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 .end method