102 lines
3.1 KiB
Smali
102 lines
3.1 KiB
Smali
|
|
.class Lcom/google/android/material/textfield/TextInputLayout$1;
|
||
|
|
.super Ljava/lang/Object;
|
||
|
|
.source "TextInputLayout.java"
|
||
|
|
|
||
|
|
# interfaces
|
||
|
|
.implements Landroid/text/TextWatcher;
|
||
|
|
|
||
|
|
|
||
|
|
# annotations
|
||
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
|
value = Lcom/google/android/material/textfield/TextInputLayout;->setEditText(Landroid/widget/EditText;)V
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
|
accessFlags = 0x0
|
||
|
|
name = null
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
|
||
|
|
# instance fields
|
||
|
|
.field final synthetic this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method constructor <init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
.line 1419
|
||
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
|
||
|
|
# virtual methods
|
||
|
|
.method public afterTextChanged(Landroid/text/Editable;)V
|
||
|
|
.locals 2
|
||
|
|
|
||
|
|
.line 1422
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
invoke-static {v0}, Lcom/google/android/material/textfield/TextInputLayout;->access$000(Lcom/google/android/material/textfield/TextInputLayout;)Z
|
||
|
|
|
||
|
|
move-result v1
|
||
|
|
|
||
|
|
xor-int/lit8 v1, v1, 0x1
|
||
|
|
|
||
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
|
||
|
|
|
||
|
|
.line 1423
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
iget-boolean v0, v0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
|
||
|
|
|
||
|
|
if-eqz v0, :cond_0
|
||
|
|
|
||
|
|
.line 1424
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
invoke-interface {p1}, Landroid/text/Editable;->length()I
|
||
|
|
|
||
|
|
move-result v1
|
||
|
|
|
||
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounter(I)V
|
||
|
|
|
||
|
|
.line 1426
|
||
|
|
:cond_0
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
invoke-static {v0}, Lcom/google/android/material/textfield/TextInputLayout;->access$100(Lcom/google/android/material/textfield/TextInputLayout;)Z
|
||
|
|
|
||
|
|
move-result v0
|
||
|
|
|
||
|
|
if-eqz v0, :cond_1
|
||
|
|
|
||
|
|
.line 1427
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout$1;->this$0:Lcom/google/android/material/textfield/TextInputLayout;
|
||
|
|
|
||
|
|
invoke-interface {p1}, Landroid/text/Editable;->length()I
|
||
|
|
|
||
|
|
move-result p1
|
||
|
|
|
||
|
|
invoke-static {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->access$200(Lcom/google/android/material/textfield/TextInputLayout;I)V
|
||
|
|
|
||
|
|
:cond_1
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public onTextChanged(Ljava/lang/CharSequence;III)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|