10990 lines
		
	
	
		
			321 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			10990 lines
		
	
	
		
			321 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/google/android/material/textfield/TextInputLayout;
 | |
| .super Landroid/widget/LinearLayout;
 | |
| .source "TextInputLayout.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;,
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$SavedState;,
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;,
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;,
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$EndIconMode;,
 | |
|         Lcom/google/android/material/textfield/TextInputLayout$BoxBackgroundMode;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final BOX_BACKGROUND_FILLED:I = 0x1
 | |
| 
 | |
| .field public static final BOX_BACKGROUND_NONE:I = 0x0
 | |
| 
 | |
| .field public static final BOX_BACKGROUND_OUTLINE:I = 0x2
 | |
| 
 | |
| .field private static final DEF_STYLE_RES:I
 | |
| 
 | |
| .field public static final END_ICON_CLEAR_TEXT:I = 0x2
 | |
| 
 | |
| .field public static final END_ICON_CUSTOM:I = -0x1
 | |
| 
 | |
| .field public static final END_ICON_DROPDOWN_MENU:I = 0x3
 | |
| 
 | |
| .field public static final END_ICON_NONE:I = 0x0
 | |
| 
 | |
| .field public static final END_ICON_PASSWORD_TOGGLE:I = 0x1
 | |
| 
 | |
| .field private static final INVALID_MAX_LENGTH:I = -0x1
 | |
| 
 | |
| .field private static final LABEL_SCALE_ANIMATION_DURATION:I = 0xa7
 | |
| 
 | |
| .field private static final LOG_TAG:Ljava/lang/String; = "TextInputLayout"
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
| .field private boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private boxBackgroundColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private boxBackgroundMode:I
 | |
| 
 | |
| .field private boxCollapsedPaddingTopPx:I
 | |
| 
 | |
| .field private final boxLabelCutoutPaddingPx:I
 | |
| 
 | |
| .field private boxStrokeColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private boxStrokeWidthDefaultPx:I
 | |
| 
 | |
| .field private boxStrokeWidthFocusedPx:I
 | |
| 
 | |
| .field private boxStrokeWidthPx:I
 | |
| 
 | |
| .field private boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public final collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
| .field public counterEnabled:Z
 | |
| 
 | |
| .field private counterMaxLength:I
 | |
| 
 | |
| .field private counterOverflowTextAppearance:I
 | |
| 
 | |
| .field private counterOverflowTextColor:Landroid/content/res/ColorStateList;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private counterOverflowed:Z
 | |
| 
 | |
| .field private counterTextAppearance:I
 | |
| 
 | |
| .field private counterTextColor:Landroid/content/res/ColorStateList;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private counterView:Landroid/widget/TextView;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private defaultFilledBackgroundColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private defaultStrokeColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private disabledColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private disabledFilledBackgroundColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public editText:Landroid/widget/EditText;
 | |
| 
 | |
| .field private final editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/LinkedHashSet<",
 | |
|             "Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private endDummyDrawableWidth:I
 | |
| 
 | |
| .field private final endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/LinkedHashSet<",
 | |
|             "Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final endIconDelegates:Landroid/util/SparseArray;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Landroid/util/SparseArray<",
 | |
|             "Lcom/google/android/material/textfield/EndIconDelegate;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final endIconFrame:Landroid/widget/FrameLayout;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private endIconMode:I
 | |
| 
 | |
| .field private endIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
| .field private endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private endIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
| .field private final endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final endLayout:Landroid/widget/LinearLayout;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private errorIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
| .field private errorIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private final errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private expandedHintEnabled:Z
 | |
| 
 | |
| .field private focusedFilledBackgroundColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private focusedStrokeColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private hasEndIconTintList:Z
 | |
| 
 | |
| .field private hasEndIconTintMode:Z
 | |
| 
 | |
| .field private hasStartIconTintList:Z
 | |
| 
 | |
| .field private hasStartIconTintMode:Z
 | |
| 
 | |
| .field private hint:Ljava/lang/CharSequence;
 | |
| 
 | |
| .field private hintAnimationEnabled:Z
 | |
| 
 | |
| .field private hintEnabled:Z
 | |
| 
 | |
| .field private hintExpanded:Z
 | |
| 
 | |
| .field private hoveredFilledBackgroundColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private hoveredStrokeColor:I
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private inDrawableStateChanged:Z
 | |
| 
 | |
| .field private final indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
| .field private final inputFrame:Landroid/widget/FrameLayout;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private isProvidingHint:Z
 | |
| 
 | |
| .field private originalEditTextEndDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
| .field private originalHint:Ljava/lang/CharSequence;
 | |
| 
 | |
| .field private placeholderEnabled:Z
 | |
| 
 | |
| .field private placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
| .field private placeholderTextAppearance:I
 | |
| 
 | |
| .field private placeholderTextColor:Landroid/content/res/ColorStateList;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
| .field private prefixText:Ljava/lang/CharSequence;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final prefixTextView:Landroid/widget/TextView;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private restoringSavedState:Z
 | |
| 
 | |
| .field private shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private startDummyDrawableWidth:I
 | |
| 
 | |
| .field private startIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
| .field private startIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private startIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
| .field private final startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final startLayout:Landroid/widget/LinearLayout;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
| .field private suffixText:Ljava/lang/CharSequence;
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final suffixTextView:Landroid/widget/TextView;
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final tmpBoundsRect:Landroid/graphics/Rect;
 | |
| 
 | |
| .field private final tmpRect:Landroid/graphics/Rect;
 | |
| 
 | |
| .field private final tmpRectF:Landroid/graphics/RectF;
 | |
| 
 | |
| .field private typeface:Landroid/graphics/Typeface;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     sget v0, Lcom/google/android/material/R$style;->Widget_Design_TextInputLayout:I
 | |
| 
 | |
|     sput v0, Lcom/google/android/material/textfield/TextInputLayout;->DEF_STYLE_RES:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, v0}, Lcom/google/android/material/textfield/TextInputLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     sget v0, Lcom/google/android/material/R$attr;->textInputStyle:I
 | |
| 
 | |
|     invoke-direct {p0, p1, p2, v0}, Lcom/google/android/material/textfield/TextInputLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
|     .locals 27
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     move-object/from16 v7, p2
 | |
| 
 | |
|     move/from16 v8, p3
 | |
| 
 | |
|     .line 3
 | |
|     sget v9, Lcom/google/android/material/textfield/TextInputLayout;->DEF_STYLE_RES:I
 | |
| 
 | |
|     move-object/from16 v1, p1
 | |
| 
 | |
|     invoke-static {v1, v7, v8, v9}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->wrap(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1, v7, v8}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     .line 4
 | |
|     new-instance v1, Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-direct {v1, v0}, Lcom/google/android/material/textfield/IndicatorViewController;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v1, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->tmpRect:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 6
 | |
|     new-instance v1, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->tmpBoundsRect:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v1, Landroid/graphics/RectF;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/graphics/RectF;-><init>()V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->tmpRectF:Landroid/graphics/RectF;
 | |
| 
 | |
|     .line 8
 | |
|     new-instance v1, Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 9
 | |
|     iput v10, v0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     .line 10
 | |
|     new-instance v11, Landroid/util/SparseArray;
 | |
| 
 | |
|     invoke-direct {v11}, Landroid/util/SparseArray;-><init>()V
 | |
| 
 | |
|     iput-object v11, v0, Lcom/google/android/material/textfield/TextInputLayout;->endIconDelegates:Landroid/util/SparseArray;
 | |
| 
 | |
|     .line 11
 | |
|     new-instance v1, Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     .line 12
 | |
|     new-instance v1, Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-direct {v1, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;-><init>(Landroid/view/View;)V
 | |
| 
 | |
|     iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v12
 | |
| 
 | |
|     const/4 v13, 0x1
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {v0, v13}, Landroid/widget/LinearLayout;->setOrientation(I)V
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setWillNotDraw(Z)V
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {v0, v13}, Landroid/widget/LinearLayout;->setAddStatesFromChildren(Z)V
 | |
| 
 | |
|     .line 17
 | |
|     new-instance v2, Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-direct {v2, v12}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v2, v13}, Landroid/widget/FrameLayout;->setAddStatesFromChildren(Z)V
 | |
| 
 | |
|     .line 19
 | |
|     invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 20
 | |
|     new-instance v14, Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-direct {v14, v12}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v14, v0, Lcom/google/android/material/textfield/TextInputLayout;->startLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {v14, v10}, Landroid/widget/LinearLayout;->setOrientation(I)V
 | |
| 
 | |
|     .line 22
 | |
|     new-instance v3, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     const/4 v15, -0x2
 | |
| 
 | |
|     const/4 v6, -0x1
 | |
| 
 | |
|     const v4, 0x800003
 | |
| 
 | |
|     invoke-direct {v3, v15, v6, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V
 | |
| 
 | |
|     invoke-virtual {v14, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 23
 | |
|     invoke-virtual {v2, v14}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 24
 | |
|     new-instance v5, Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-direct {v5, v12}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v5, v0, Lcom/google/android/material/textfield/TextInputLayout;->endLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     .line 25
 | |
|     invoke-virtual {v5, v10}, Landroid/widget/LinearLayout;->setOrientation(I)V
 | |
| 
 | |
|     .line 26
 | |
|     new-instance v3, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     const v4, 0x800005
 | |
| 
 | |
|     invoke-direct {v3, v15, v6, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V
 | |
| 
 | |
|     invoke-virtual {v5, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 27
 | |
|     invoke-virtual {v2, v5}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 28
 | |
|     new-instance v4, Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-direct {v4, v12}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->endIconFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     .line 29
 | |
|     new-instance v2, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     invoke-direct {v2, v15, v6}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
 | |
| 
 | |
|     invoke-virtual {v4, v2}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 30
 | |
|     sget-object v2, Lcom/google/android/material/animation/AnimationUtils;->LINEAR_INTERPOLATOR:Landroid/animation/TimeInterpolator;
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setTextSizeInterpolator(Landroid/animation/TimeInterpolator;)V
 | |
| 
 | |
|     .line 31
 | |
|     invoke-virtual {v1, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setPositionInterpolator(Landroid/animation/TimeInterpolator;)V
 | |
| 
 | |
|     const v2, 0x800033
 | |
| 
 | |
|     .line 32
 | |
|     invoke-virtual {v1, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextGravity(I)V
 | |
| 
 | |
|     .line 33
 | |
|     sget-object v3, Lcom/google/android/material/R$styleable;->TextInputLayout:[I
 | |
| 
 | |
|     const/4 v1, 0x5
 | |
| 
 | |
|     new-array v2, v1, [I
 | |
| 
 | |
|     sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextAppearance:I
 | |
| 
 | |
|     aput v1, v2, v10
 | |
| 
 | |
|     sget v15, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextAppearance:I
 | |
| 
 | |
|     aput v15, v2, v13
 | |
| 
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextAppearance:I
 | |
| 
 | |
|     const/4 v13, 0x2
 | |
| 
 | |
|     aput v10, v2, v13
 | |
| 
 | |
|     sget v13, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextAppearance:I
 | |
| 
 | |
|     move-object/from16 v16, v11
 | |
| 
 | |
|     const/4 v11, 0x3
 | |
| 
 | |
|     aput v13, v2, v11
 | |
| 
 | |
|     sget v11, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextAppearance:I
 | |
| 
 | |
|     const/16 v17, 0x4
 | |
| 
 | |
|     aput v11, v2, v17
 | |
| 
 | |
|     move-object/from16 v17, v14
 | |
| 
 | |
|     move v14, v1
 | |
| 
 | |
|     move-object v1, v12
 | |
| 
 | |
|     move-object/from16 v18, v2
 | |
| 
 | |
|     move-object/from16 v2, p2
 | |
| 
 | |
|     move-object/from16 v19, v4
 | |
| 
 | |
|     move/from16 v4, p3
 | |
| 
 | |
|     move/from16 v20, v15
 | |
| 
 | |
|     move-object v15, v5
 | |
| 
 | |
|     move v5, v9
 | |
| 
 | |
|     move/from16 v21, v14
 | |
| 
 | |
|     move v14, v6
 | |
| 
 | |
|     move-object/from16 v6, v18
 | |
| 
 | |
|     .line 34
 | |
|     invoke-static/range {v1 .. v6}, Lcom/google/android/material/internal/ThemeEnforcement;->obtainTintedStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroidx/appcompat/widget/j0;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 35
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_hintEnabled:I
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput-boolean v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     .line 36
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_hint:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 37
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_hintAnimationEnabled:I
 | |
| 
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput-boolean v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->hintAnimationEnabled:Z
 | |
| 
 | |
|     .line 38
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_expandedHintEnabled:I
 | |
| 
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput-boolean v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->expandedHintEnabled:Z
 | |
| 
 | |
|     .line 39
 | |
|     invoke-static {v12, v7, v8, v9}, Lcom/google/android/material/shape/ShapeAppearanceModel;->builder(Landroid/content/Context;Landroid/util/AttributeSet;II)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->build()Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     .line 40
 | |
|     invoke-virtual {v12}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     sget v3, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_label_cutout_padding:I
 | |
| 
 | |
|     .line 41
 | |
|     invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxLabelCutoutPaddingPx:I
 | |
| 
 | |
|     .line 42
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCollapsedPaddingTop:I
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     .line 43
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->f(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxCollapsedPaddingTopPx:I
 | |
| 
 | |
|     .line 44
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeWidth:I
 | |
| 
 | |
|     .line 45
 | |
|     invoke-virtual {v12}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     sget v4, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_stroke_width_default:I
 | |
| 
 | |
|     .line 46
 | |
|     invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 47
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->g(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthDefaultPx:I
 | |
| 
 | |
|     .line 48
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeWidthFocused:I
 | |
| 
 | |
|     .line 49
 | |
|     invoke-virtual {v12}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     sget v4, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_stroke_width_focused:I
 | |
| 
 | |
|     .line 50
 | |
|     invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 51
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->g(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthFocusedPx:I
 | |
| 
 | |
|     .line 52
 | |
|     iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthDefaultPx:I
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     .line 53
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusTopStart:I
 | |
| 
 | |
|     const/high16 v3, -0x40800000    # -1.0f
 | |
| 
 | |
|     .line 54
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->e(IF)F
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 55
 | |
|     sget v4, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusTopEnd:I
 | |
| 
 | |
|     .line 56
 | |
|     invoke-virtual {v1, v4, v3}, Landroidx/appcompat/widget/j0;->e(IF)F
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 57
 | |
|     sget v5, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusBottomEnd:I
 | |
| 
 | |
|     .line 58
 | |
|     invoke-virtual {v1, v5, v3}, Landroidx/appcompat/widget/j0;->e(IF)F
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 59
 | |
|     sget v6, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusBottomStart:I
 | |
| 
 | |
|     .line 60
 | |
|     invoke-virtual {v1, v6, v3}, Landroidx/appcompat/widget/j0;->e(IF)F
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 61
 | |
|     iget-object v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     invoke-virtual {v6}, Lcom/google/android/material/shape/ShapeAppearanceModel;->toBuilder()Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     const/4 v7, 0x0
 | |
| 
 | |
|     cmpl-float v8, v2, v7
 | |
| 
 | |
|     if-ltz v8, :cond_0
 | |
| 
 | |
|     .line 62
 | |
|     invoke-virtual {v6, v2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setTopLeftCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     :cond_0
 | |
|     cmpl-float v2, v4, v7
 | |
| 
 | |
|     if-ltz v2, :cond_1
 | |
| 
 | |
|     .line 63
 | |
|     invoke-virtual {v6, v4}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setTopRightCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     :cond_1
 | |
|     cmpl-float v2, v5, v7
 | |
| 
 | |
|     if-ltz v2, :cond_2
 | |
| 
 | |
|     .line 64
 | |
|     invoke-virtual {v6, v5}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setBottomRightCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     :cond_2
 | |
|     cmpl-float v2, v3, v7
 | |
| 
 | |
|     if-ltz v2, :cond_3
 | |
| 
 | |
|     .line 65
 | |
|     invoke-virtual {v6, v3}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setBottomLeftCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     .line 66
 | |
|     :cond_3
 | |
|     invoke-virtual {v6}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->build()Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     .line 67
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxBackgroundColor:I
 | |
| 
 | |
|     .line 68
 | |
|     invoke-static {v12, v1, v2}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-eqz v2, :cond_5
 | |
| 
 | |
|     .line 69
 | |
|     invoke-virtual {v2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iput v3, v0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     .line 70
 | |
|     iput v3, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 71
 | |
|     invoke-virtual {v2}, Landroid/content/res/ColorStateList;->isStateful()Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     const v4, -0x101009e
 | |
| 
 | |
|     if-eqz v3, :cond_4
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     new-array v5, v3, [I
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     aput v4, v5, v3
 | |
| 
 | |
|     .line 72
 | |
|     invoke-virtual {v2, v5, v14}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iput v3, v0, Lcom/google/android/material/textfield/TextInputLayout;->disabledFilledBackgroundColor:I
 | |
| 
 | |
|     const/4 v3, 0x2
 | |
| 
 | |
|     new-array v4, v3, [I
 | |
| 
 | |
|     .line 73
 | |
|     fill-array-data v4, :array_0
 | |
| 
 | |
|     .line 74
 | |
|     invoke-virtual {v2, v4, v14}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     new-array v4, v3, [I
 | |
| 
 | |
|     .line 75
 | |
|     fill-array-data v4, :array_1
 | |
| 
 | |
|     .line 76
 | |
|     invoke-virtual {v2, v4, v14}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 77
 | |
|     :cond_4
 | |
|     iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     .line 78
 | |
|     sget v2, Lcom/google/android/material/R$color;->mtrl_filled_background_color:I
 | |
| 
 | |
|     .line 79
 | |
|     invoke-static {v12, v2}, Lg/a;->c(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     new-array v5, v3, [I
 | |
| 
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     aput v4, v5, v6
 | |
| 
 | |
|     .line 80
 | |
|     invoke-virtual {v2, v5, v14}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->disabledFilledBackgroundColor:I
 | |
| 
 | |
|     new-array v4, v3, [I
 | |
| 
 | |
|     const v3, 0x1010367
 | |
| 
 | |
|     aput v3, v4, v6
 | |
| 
 | |
|     .line 81
 | |
|     invoke-virtual {v2, v4, v14}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     const/4 v6, 0x0
 | |
| 
 | |
|     .line 82
 | |
|     iput v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 83
 | |
|     iput v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     .line 84
 | |
|     iput v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->disabledFilledBackgroundColor:I
 | |
| 
 | |
|     .line 85
 | |
|     iput v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     .line 86
 | |
|     iput v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     .line 87
 | |
|     :goto_0
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_textColorHint:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_6
 | |
| 
 | |
|     .line 88
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 89
 | |
|     :cond_6
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeColor:I
 | |
| 
 | |
|     .line 90
 | |
|     invoke-static {v12, v1, v2}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     const/4 v4, 0x0
 | |
| 
 | |
|     .line 91
 | |
|     invoke-virtual {v1, v2, v4}, Landroidx/appcompat/widget/j0;->c(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     .line 92
 | |
|     sget v2, Lcom/google/android/material/R$color;->mtrl_textinput_default_box_stroke_color:I
 | |
| 
 | |
|     .line 93
 | |
|     invoke-static {v12, v2}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->defaultStrokeColor:I
 | |
| 
 | |
|     .line 94
 | |
|     sget v2, Lcom/google/android/material/R$color;->mtrl_textinput_disabled_color:I
 | |
| 
 | |
|     invoke-static {v12, v2}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->disabledColor:I
 | |
| 
 | |
|     .line 95
 | |
|     sget v2, Lcom/google/android/material/R$color;->mtrl_textinput_hovered_box_stroke_color:I
 | |
| 
 | |
|     .line 96
 | |
|     invoke-static {v12, v2}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredStrokeColor:I
 | |
| 
 | |
|     if-eqz v3, :cond_7
 | |
| 
 | |
|     .line 97
 | |
|     invoke-virtual {v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeColorStateList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 98
 | |
|     :cond_7
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeErrorColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_8
 | |
| 
 | |
|     .line 99
 | |
|     invoke-static {v12, v1, v2}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 100
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeErrorColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 101
 | |
|     :cond_8
 | |
|     invoke-virtual {v1, v11, v14}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eq v2, v14, :cond_9
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 102
 | |
|     invoke-virtual {v1, v11, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->setHintTextAppearance(I)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_9
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 103
 | |
|     :goto_1
 | |
|     invoke-virtual {v1, v10, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 104
 | |
|     sget v4, Lcom/google/android/material/R$styleable;->TextInputLayout_errorContentDescription:I
 | |
| 
 | |
|     .line 105
 | |
|     invoke-virtual {v1, v4}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     .line 106
 | |
|     sget v5, Lcom/google/android/material/R$styleable;->TextInputLayout_errorEnabled:I
 | |
| 
 | |
|     invoke-virtual {v1, v5, v2}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 107
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     invoke-static {v6}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     sget v7, Lcom/google/android/material/R$layout;->design_text_input_end_icon:I
 | |
| 
 | |
|     .line 108
 | |
|     invoke-virtual {v6, v7, v15, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     check-cast v6, Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iput-object v6, v0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     .line 109
 | |
|     sget v8, Lcom/google/android/material/R$id;->text_input_error_icon:I
 | |
| 
 | |
|     invoke-virtual {v6, v8}, Landroid/widget/ImageButton;->setId(I)V
 | |
| 
 | |
|     const/16 v8, 0x8
 | |
| 
 | |
|     .line 110
 | |
|     invoke-virtual {v6, v8}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 111
 | |
|     invoke-static {v12}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast1_3(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-eqz v9, :cond_a
 | |
| 
 | |
|     .line 112
 | |
|     invoke-virtual {v6}, Landroid/widget/ImageButton;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v9
 | |
| 
 | |
|     check-cast v9, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     .line 113
 | |
|     invoke-static {v9, v2}, Ls1/m;->h(Landroid/view/ViewGroup$MarginLayoutParams;I)V
 | |
| 
 | |
|     .line 114
 | |
|     :cond_a
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_errorIconDrawable:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-eqz v9, :cond_b
 | |
| 
 | |
|     .line 115
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->h(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 116
 | |
|     :cond_b
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_errorIconTint:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-eqz v9, :cond_c
 | |
| 
 | |
|     .line 117
 | |
|     invoke-static {v12, v1, v2}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 118
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconTintList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 119
 | |
|     :cond_c
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_errorIconTintMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     if-eqz v9, :cond_d
 | |
| 
 | |
|     .line 120
 | |
|     invoke-virtual {v1, v2, v14}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 121
 | |
|     invoke-static {v2, v10}, Lcom/google/android/material/internal/ViewUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 122
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 123
 | |
|     :cond_d
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     sget v9, Lcom/google/android/material/R$string;->error_icon_content_description:I
 | |
| 
 | |
|     invoke-virtual {v2, v9}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 124
 | |
|     invoke-virtual {v6, v2}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     .line 125
 | |
|     invoke-static {v6, v2}, Landroidx/core/view/ViewCompat;->R1(Landroid/view/View;I)V
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 126
 | |
|     invoke-virtual {v6, v2}, Landroid/widget/ImageButton;->setClickable(Z)V
 | |
| 
 | |
|     .line 127
 | |
|     invoke-virtual {v6, v2}, Lcom/google/android/material/internal/CheckableImageButton;->setPressable(Z)V
 | |
| 
 | |
|     .line 128
 | |
|     invoke-virtual {v6, v2}, Landroid/widget/ImageButton;->setFocusable(Z)V
 | |
| 
 | |
|     .line 129
 | |
|     invoke-virtual {v1, v13, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     .line 130
 | |
|     sget v11, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextEnabled:I
 | |
| 
 | |
|     .line 131
 | |
|     invoke-virtual {v1, v11, v2}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v11
 | |
| 
 | |
|     .line 132
 | |
|     sget v13, Lcom/google/android/material/R$styleable;->TextInputLayout_helperText:I
 | |
| 
 | |
|     invoke-virtual {v1, v13}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v13
 | |
| 
 | |
|     .line 133
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderTextAppearance:I
 | |
| 
 | |
|     .line 134
 | |
|     invoke-virtual {v1, v10, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     .line 135
 | |
|     sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderText:I
 | |
| 
 | |
|     invoke-virtual {v1, v8}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v8
 | |
| 
 | |
|     .line 136
 | |
|     sget v14, Lcom/google/android/material/R$styleable;->TextInputLayout_prefixTextAppearance:I
 | |
| 
 | |
|     .line 137
 | |
|     invoke-virtual {v1, v14, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     .line 138
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_prefixText:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     move/from16 v22, v14
 | |
| 
 | |
|     .line 139
 | |
|     sget v14, Lcom/google/android/material/R$styleable;->TextInputLayout_suffixTextAppearance:I
 | |
| 
 | |
|     move-object/from16 v23, v2
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 140
 | |
|     invoke-virtual {v1, v14, v2}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     .line 141
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_suffixText:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     move/from16 v24, v14
 | |
| 
 | |
|     .line 142
 | |
|     sget v14, Lcom/google/android/material/R$styleable;->TextInputLayout_counterEnabled:I
 | |
| 
 | |
|     move-object/from16 v25, v2
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     invoke-virtual {v1, v14, v2}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     .line 143
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_counterMaxLength:I
 | |
| 
 | |
|     move/from16 v26, v14
 | |
| 
 | |
|     const/4 v14, -0x1
 | |
| 
 | |
|     invoke-virtual {v1, v2, v14}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterMaxLength(I)V
 | |
| 
 | |
|     move/from16 v2, v21
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     .line 144
 | |
|     invoke-virtual {v1, v2, v14}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextAppearance:I
 | |
| 
 | |
|     move/from16 v2, v20
 | |
| 
 | |
|     .line 145
 | |
|     invoke-virtual {v1, v2, v14}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextAppearance:I
 | |
| 
 | |
|     .line 146
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     move/from16 v20, v10
 | |
| 
 | |
|     sget v10, Lcom/google/android/material/R$layout;->design_text_input_start_icon:I
 | |
| 
 | |
|     move-object/from16 v21, v8
 | |
| 
 | |
|     move-object/from16 v8, v17
 | |
| 
 | |
|     .line 147
 | |
|     invoke-virtual {v2, v10, v8, v14}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     const/16 v10, 0x8
 | |
| 
 | |
|     .line 148
 | |
|     invoke-virtual {v2, v10}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 149
 | |
|     invoke-static {v12}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast1_3(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_e
 | |
| 
 | |
|     .line 150
 | |
|     invoke-virtual {v2}, Landroid/widget/ImageButton;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     check-cast v10, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     .line 151
 | |
|     invoke-static {v10, v14}, Ls1/m;->g(Landroid/view/ViewGroup$MarginLayoutParams;I)V
 | |
| 
 | |
|     :cond_e
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 152
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
| 
 | |
|     .line 153
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     .line 154
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_startIconDrawable:I
 | |
| 
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     if-eqz v14, :cond_10
 | |
| 
 | |
|     .line 155
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->h(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 156
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_startIconContentDescription:I
 | |
| 
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     if-eqz v14, :cond_f
 | |
| 
 | |
|     .line 157
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     .line 158
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 159
 | |
|     :cond_f
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_startIconCheckable:I
 | |
| 
 | |
|     const/4 v14, 0x1
 | |
| 
 | |
|     invoke-virtual {v1, v10, v14}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconCheckable(Z)V
 | |
| 
 | |
|     .line 160
 | |
|     :cond_10
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_startIconTint:I
 | |
| 
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     if-eqz v14, :cond_11
 | |
| 
 | |
|     .line 161
 | |
|     invoke-static {v12, v1, v10}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     .line 162
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconTintList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 163
 | |
|     :cond_11
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_startIconTintMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v10}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v14
 | |
| 
 | |
|     if-eqz v14, :cond_12
 | |
| 
 | |
|     const/4 v14, -0x1
 | |
| 
 | |
|     .line 164
 | |
|     invoke-virtual {v1, v10, v14}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     .line 165
 | |
|     invoke-static {v10, v14}, Lcom/google/android/material/internal/ViewUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     .line 166
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 167
 | |
|     :cond_12
 | |
|     sget v10, Lcom/google/android/material/R$styleable;->TextInputLayout_boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     .line 168
 | |
|     invoke-virtual {v1, v10, v14}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     .line 169
 | |
|     invoke-virtual {v0, v10}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxBackgroundMode(I)V
 | |
| 
 | |
|     .line 170
 | |
|     invoke-virtual/range {p0 .. p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     invoke-static {v10}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
 | |
| 
 | |
|     move-result-object v10
 | |
| 
 | |
|     move-object/from16 v17, v4
 | |
| 
 | |
|     move-object/from16 v4, v19
 | |
| 
 | |
|     .line 171
 | |
|     invoke-virtual {v10, v7, v4, v14}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     check-cast v7, Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iput-object v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     .line 172
 | |
|     invoke-virtual {v4, v7}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     const/16 v10, 0x8
 | |
| 
 | |
|     .line 173
 | |
|     invoke-virtual {v7, v10}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 174
 | |
|     invoke-static {v12}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast1_3(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_13
 | |
| 
 | |
|     .line 175
 | |
|     invoke-virtual {v7}, Landroid/widget/ImageButton;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     check-cast v7, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     .line 176
 | |
|     invoke-static {v7, v14}, Ls1/m;->h(Landroid/view/ViewGroup$MarginLayoutParams;I)V
 | |
| 
 | |
|     .line 177
 | |
|     :cond_13
 | |
|     new-instance v7, Lcom/google/android/material/textfield/CustomEndIconDelegate;
 | |
| 
 | |
|     invoke-direct {v7, v0}, Lcom/google/android/material/textfield/CustomEndIconDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     move-object/from16 v10, v16
 | |
| 
 | |
|     const/4 v14, -0x1
 | |
| 
 | |
|     invoke-virtual {v10, v14, v7}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 178
 | |
|     new-instance v7, Lcom/google/android/material/textfield/NoEndIconDelegate;
 | |
| 
 | |
|     invoke-direct {v7, v0}, Lcom/google/android/material/textfield/NoEndIconDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     const/4 v14, 0x0
 | |
| 
 | |
|     invoke-virtual {v10, v14, v7}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 179
 | |
|     new-instance v7, Lcom/google/android/material/textfield/PasswordToggleEndIconDelegate;
 | |
| 
 | |
|     invoke-direct {v7, v0}, Lcom/google/android/material/textfield/PasswordToggleEndIconDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     const/4 v14, 0x1
 | |
| 
 | |
|     invoke-virtual {v10, v14, v7}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 180
 | |
|     new-instance v7, Lcom/google/android/material/textfield/ClearTextEndIconDelegate;
 | |
| 
 | |
|     invoke-direct {v7, v0}, Lcom/google/android/material/textfield/ClearTextEndIconDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     const/4 v14, 0x2
 | |
| 
 | |
|     invoke-virtual {v10, v14, v7}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 181
 | |
|     new-instance v7, Lcom/google/android/material/textfield/DropdownMenuEndIconDelegate;
 | |
| 
 | |
|     invoke-direct {v7, v0}, Lcom/google/android/material/textfield/DropdownMenuEndIconDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     const/4 v14, 0x3
 | |
| 
 | |
|     invoke-virtual {v10, v14, v7}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 182
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_16
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 183
 | |
|     invoke-virtual {v1, v7, v10}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconMode(I)V
 | |
| 
 | |
|     .line 184
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconDrawable:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_14
 | |
| 
 | |
|     .line 185
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->h(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 186
 | |
|     :cond_14
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconContentDescription:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_15
 | |
| 
 | |
|     .line 187
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 188
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 189
 | |
|     :cond_15
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconCheckable:I
 | |
| 
 | |
|     const/4 v10, 0x1
 | |
| 
 | |
|     invoke-virtual {v1, v7, v10}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconCheckable(Z)V
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     .line 190
 | |
|     :cond_16
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleEnabled:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_18
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 191
 | |
|     invoke-virtual {v1, v7, v10}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     .line 192
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconMode(I)V
 | |
| 
 | |
|     .line 193
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleDrawable:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->h(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 194
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleContentDescription:I
 | |
| 
 | |
|     .line 195
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->x(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 196
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 197
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleTint:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_17
 | |
| 
 | |
|     .line 198
 | |
|     invoke-static {v12, v1, v7}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 199
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconTintList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 200
 | |
|     :cond_17
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleTintMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_18
 | |
| 
 | |
|     const/4 v10, -0x1
 | |
| 
 | |
|     .line 201
 | |
|     invoke-virtual {v1, v7, v10}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 202
 | |
|     invoke-static {v7, v10}, Lcom/google/android/material/internal/ViewUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 203
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 204
 | |
|     :cond_18
 | |
|     :goto_2
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_passwordToggleEnabled:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     if-nez v7, :cond_1a
 | |
| 
 | |
|     .line 205
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconTint:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_19
 | |
| 
 | |
|     .line 206
 | |
|     invoke-static {v12, v1, v7}, Lcom/google/android/material/resources/MaterialResources;->getColorStateList(Landroid/content/Context;Landroidx/appcompat/widget/j0;I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 207
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconTintList(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 208
 | |
|     :cond_19
 | |
|     sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_endIconTintMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v7}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-eqz v10, :cond_1a
 | |
| 
 | |
|     const/4 v10, -0x1
 | |
| 
 | |
|     .line 209
 | |
|     invoke-virtual {v1, v7, v10}, Landroidx/appcompat/widget/j0;->o(II)I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     const/4 v10, 0x0
 | |
| 
 | |
|     .line 210
 | |
|     invoke-static {v7, v10}, Lcom/google/android/material/internal/ViewUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 211
 | |
|     invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 212
 | |
|     :cond_1a
 | |
|     new-instance v7, Landroidx/appcompat/widget/AppCompatTextView;
 | |
| 
 | |
|     invoke-direct {v7, v12}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 213
 | |
|     sget v10, Lcom/google/android/material/R$id;->textinput_prefix_text:I
 | |
| 
 | |
|     invoke-virtual {v7, v10}, Landroid/widget/TextView;->setId(I)V
 | |
| 
 | |
|     .line 214
 | |
|     new-instance v10, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     const/4 v14, -0x2
 | |
| 
 | |
|     invoke-direct {v10, v14, v14}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
 | |
| 
 | |
|     invoke-virtual {v7, v10}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     const/4 v10, 0x1
 | |
| 
 | |
|     .line 215
 | |
|     invoke-static {v7, v10}, Landroidx/core/view/ViewCompat;->D1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 216
 | |
|     invoke-virtual {v8, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 217
 | |
|     invoke-virtual {v8, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 218
 | |
|     new-instance v2, Landroidx/appcompat/widget/AppCompatTextView;
 | |
| 
 | |
|     invoke-direct {v2, v12}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 219
 | |
|     sget v7, Lcom/google/android/material/R$id;->textinput_suffix_text:I
 | |
| 
 | |
|     invoke-virtual {v2, v7}, Landroid/widget/TextView;->setId(I)V
 | |
| 
 | |
|     .line 220
 | |
|     new-instance v7, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     const/16 v8, 0x50
 | |
| 
 | |
|     const/4 v10, -0x2
 | |
| 
 | |
|     invoke-direct {v7, v10, v10, v8}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V
 | |
| 
 | |
|     invoke-virtual {v2, v7}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     const/4 v7, 0x1
 | |
| 
 | |
|     .line 221
 | |
|     invoke-static {v2, v7}, Landroidx/core/view/ViewCompat;->D1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 222
 | |
|     invoke-virtual {v15, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 223
 | |
|     invoke-virtual {v15, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 224
 | |
|     invoke-virtual {v15, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 225
 | |
|     invoke-virtual {v0, v11}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
 | |
| 
 | |
|     .line 226
 | |
|     invoke-virtual {v0, v13}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 227
 | |
|     invoke-virtual {v0, v9}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextTextAppearance(I)V
 | |
| 
 | |
|     .line 228
 | |
|     invoke-virtual {v0, v5}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorEnabled(Z)V
 | |
| 
 | |
|     .line 229
 | |
|     invoke-virtual {v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorTextAppearance(I)V
 | |
| 
 | |
|     move-object/from16 v2, v17
 | |
| 
 | |
|     .line 230
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 231
 | |
|     iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextAppearance:I
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterTextAppearance(I)V
 | |
| 
 | |
|     .line 232
 | |
|     iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextAppearance:I
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterOverflowTextAppearance(I)V
 | |
| 
 | |
|     move-object/from16 v2, v21
 | |
| 
 | |
|     .line 233
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     move/from16 v2, v20
 | |
| 
 | |
|     .line 234
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextAppearance(I)V
 | |
| 
 | |
|     move-object/from16 v2, v23
 | |
| 
 | |
|     .line 235
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPrefixText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     move/from16 v2, v22
 | |
| 
 | |
|     .line 236
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPrefixTextAppearance(I)V
 | |
| 
 | |
|     move-object/from16 v2, v25
 | |
| 
 | |
|     .line 237
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setSuffixText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     move/from16 v2, v24
 | |
| 
 | |
|     .line 238
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setSuffixTextAppearance(I)V
 | |
| 
 | |
|     .line 239
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1b
 | |
| 
 | |
|     .line 240
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 241
 | |
|     :cond_1b
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1c
 | |
| 
 | |
|     .line 242
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 243
 | |
|     :cond_1c
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1d
 | |
| 
 | |
|     .line 244
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setHintTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 245
 | |
|     :cond_1d
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1e
 | |
| 
 | |
|     .line 246
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 247
 | |
|     :cond_1e
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_1f
 | |
| 
 | |
|     .line 248
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 249
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterOverflowTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 250
 | |
|     :cond_1f
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_20
 | |
| 
 | |
|     .line 251
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 252
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 253
 | |
|     :cond_20
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_prefixTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_21
 | |
| 
 | |
|     .line 254
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPrefixTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 255
 | |
|     :cond_21
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_suffixTextColor:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->C(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_22
 | |
| 
 | |
|     .line 256
 | |
|     invoke-virtual {v1, v2}, Landroidx/appcompat/widget/j0;->d(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setSuffixTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_22
 | |
|     move/from16 v2, v26
 | |
| 
 | |
|     .line 257
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterEnabled(Z)V
 | |
| 
 | |
|     .line 258
 | |
|     sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_enabled:I
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     invoke-virtual {v1, v2, v3}, Landroidx/appcompat/widget/j0;->a(IZ)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setEnabled(Z)V
 | |
| 
 | |
|     .line 259
 | |
|     invoke-virtual {v1}, Landroidx/appcompat/widget/j0;->I()V
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     .line 260
 | |
|     invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->R1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 261
 | |
|     sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
 | |
| 
 | |
|     const/16 v2, 0x1a
 | |
| 
 | |
|     if-lt v1, v2, :cond_23
 | |
| 
 | |
|     .line 262
 | |
|     invoke-static {v0, v3}, Landroidx/core/view/ViewCompat;->S1(Landroid/view/View;I)V
 | |
| 
 | |
|     :cond_23
 | |
|     return-void
 | |
| 
 | |
|     nop
 | |
| 
 | |
|     :array_0
 | |
|     .array-data 4
 | |
|         0x101009c
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| 
 | |
|     :array_1
 | |
|     .array-data 4
 | |
|         0x1010367
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| .end method
 | |
| 
 | |
| .method public static synthetic access$000(Lcom/google/android/material/textfield/TextInputLayout;)Z
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean p0, p0, Lcom/google/android/material/textfield/TextInputLayout;->restoringSavedState:Z
 | |
| 
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method public static synthetic access$100(Lcom/google/android/material/textfield/TextInputLayout;)Z
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean p0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     return p0
 | |
| .end method
 | |
| 
 | |
| .method public static synthetic access$200(Lcom/google/android/material/textfield/TextInputLayout;I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->updatePlaceholderText(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static synthetic access$300(Lcom/google/android/material/textfield/TextInputLayout;)Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method private addPlaceholderTextView()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private adjustFilledEditTextPaddingForLargeFont()V
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast2_0(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v0}, Landroidx/core/view/ViewCompat;->k0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     sget v3, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_2_0_padding_top:I
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {v3}, Landroidx/core/view/ViewCompat;->j0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     sget v5, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_2_0_padding_bottom:I
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {v0, v1, v2, v3, v4}, Landroidx/core/view/ViewCompat;->d2(Landroid/view/View;IIII)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast1_3(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 13
 | |
|     invoke-static {v0}, Landroidx/core/view/ViewCompat;->k0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 14
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     sget v3, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_1_3_padding_top:I
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 16
 | |
|     invoke-static {v3}, Landroidx/core/view/ViewCompat;->j0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     sget v5, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_1_3_padding_bottom:I
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 19
 | |
|     invoke-static {v0, v1, v2, v3, v4}, Landroidx/core/view/ViewCompat;->d2(Landroid/view/View;IIII)V
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyBoxAttributes()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->canDrawOutlineStroke()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     int-to-float v1, v1
 | |
| 
 | |
|     iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     invoke-virtual {v0, v1, v2}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setStroke(FI)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->calculateBoxBackgroundColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setFillColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 7
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     const/4 v1, 0x3
 | |
| 
 | |
|     if-ne v0, v1, :cond_2
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyBoxUnderlineAttributes()V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->invalidate()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyBoxUnderlineAttributes()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->canDrawStroke()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     invoke-static {v1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setFillColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->invalidate()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyCutoutPadding(Landroid/graphics/RectF;)V
 | |
|     .locals 3
 | |
|     .param p1    # Landroid/graphics/RectF;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p1, Landroid/graphics/RectF;->left:F
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxLabelCutoutPaddingPx:I
 | |
| 
 | |
|     int-to-float v2, v1
 | |
| 
 | |
|     sub-float/2addr v0, v2
 | |
| 
 | |
|     iput v0, p1, Landroid/graphics/RectF;->left:F
 | |
| 
 | |
|     .line 2
 | |
|     iget v0, p1, Landroid/graphics/RectF;->top:F
 | |
| 
 | |
|     int-to-float v2, v1
 | |
| 
 | |
|     sub-float/2addr v0, v2
 | |
| 
 | |
|     iput v0, p1, Landroid/graphics/RectF;->top:F
 | |
| 
 | |
|     .line 3
 | |
|     iget v0, p1, Landroid/graphics/RectF;->right:F
 | |
| 
 | |
|     int-to-float v2, v1
 | |
| 
 | |
|     add-float/2addr v0, v2
 | |
| 
 | |
|     iput v0, p1, Landroid/graphics/RectF;->right:F
 | |
| 
 | |
|     .line 4
 | |
|     iget v0, p1, Landroid/graphics/RectF;->bottom:F
 | |
| 
 | |
|     int-to-float v1, v1
 | |
| 
 | |
|     add-float/2addr v0, v1
 | |
| 
 | |
|     iput v0, p1, Landroid/graphics/RectF;->bottom:F
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyEndIconTint()V
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintList:Z
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     iget-boolean v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintMode:Z
 | |
| 
 | |
|     iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     invoke-direct/range {v0 .. v5}, Lcom/google/android/material/textfield/TextInputLayout;->applyIconTint(Lcom/google/android/material/internal/CheckableImageButton;ZLandroid/content/res/ColorStateList;ZLandroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyIconTint(Lcom/google/android/material/internal/CheckableImageButton;ZLandroid/content/res/ColorStateList;ZLandroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/internal/CheckableImageButton;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     if-nez p2, :cond_0
 | |
| 
 | |
|     if-eqz p4, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-static {v0}, Ld1/c;->r(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0, p3}, Ld1/c;->o(Landroid/graphics/drawable/Drawable;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_1
 | |
|     if-eqz p4, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v0, p5}, Ld1/c;->p(Landroid/graphics/drawable/Drawable;Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_2
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     if-eq p2, v0, :cond_3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :cond_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private applyStartIconTint()V
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasStartIconTintList:Z
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     iget-boolean v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasStartIconTintMode:Z
 | |
| 
 | |
|     iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     invoke-direct/range {v0 .. v5}, Lcom/google/android/material/textfield/TextInputLayout;->applyIconTint(Lcom/google/android/material/internal/CheckableImageButton;ZLandroid/content/res/ColorStateList;ZLandroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private assignBoxBackgroundByMode()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-eq v0, v2, :cond_2
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     if-ne v0, v2, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     instance-of v0, v0, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     invoke-direct {v0, v2}, Lcom/google/android/material/textfield/CutoutDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     invoke-direct {v0, v2}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 5
 | |
|     :goto_0
 | |
|     iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     new-instance v0, Ljava/lang/IllegalArgumentException;
 | |
| 
 | |
|     new-instance v1, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const-string v3, " is illegal; only @BoxBackgroundMode constants are supported."
 | |
| 
 | |
|     invoke-static {v1, v2, v3}, Landroid/support/v4/media/c;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw v0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_2
 | |
|     new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     invoke-direct {v0, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 8
 | |
|     new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-direct {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 9
 | |
|     :cond_3
 | |
|     iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 10
 | |
|     iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     :goto_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private calculateBoxBackgroundColor()I
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 2
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-ne v1, v2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     sget v0, Lcom/google/android/material/R$attr;->colorSurface:I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-static {p0, v0, v1}, Lcom/google/android/material/color/MaterialColors;->getColor(Landroid/view/View;II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 4
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     invoke-static {v0, v1}, Lcom/google/android/material/color/MaterialColors;->layer(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :cond_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private calculateCollapsedTextBounds(Landroid/graphics/Rect;)Landroid/graphics/Rect;
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->tmpBoundsRect:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->Z(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-ne v1, v2, :cond_0
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     :goto_0
 | |
|     iget v3, p1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iput v3, v0, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     .line 5
 | |
|     iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-eq v3, v2, :cond_2
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     if-eq v3, v2, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     iget v2, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     invoke-direct {p0, v2, v1}, Lcom/google/android/material/textfield/TextInputLayout;->getLabelLeftBoundAlightWithPrefix(IZ)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 8
 | |
|     iget p1, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     invoke-direct {p0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->getLabelRightBoundAlignedWithSuffix(IZ)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, v0, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     iget v1, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/widget/EditText;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v1
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 10
 | |
|     iget v1, p1, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->calculateLabelMarginTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     iput v1, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 11
 | |
|     iget p1, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/EditText;->getPaddingRight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     sub-int/2addr p1, v1
 | |
| 
 | |
|     iput p1, v0, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 12
 | |
|     :cond_2
 | |
|     iget v2, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     invoke-direct {p0, v2, v1}, Lcom/google/android/material/textfield/TextInputLayout;->getLabelLeftBoundAlightWithPrefix(IZ)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 13
 | |
|     iget v2, p1, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxCollapsedPaddingTopPx:I
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 14
 | |
|     iget p1, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     invoke-direct {p0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->getLabelRightBoundAlignedWithSuffix(IZ)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, v0, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 15
 | |
|     :cond_3
 | |
|     new-instance p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method private calculateExpandedLabelBottom(Landroid/graphics/Rect;Landroid/graphics/Rect;F)I
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isSingleLineFilledTextField()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget p1, p2, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     int-to-float p1, p1
 | |
| 
 | |
|     add-float/2addr p1, p3
 | |
| 
 | |
|     float-to-int p1, p1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget p1, p1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/widget/EditText;->getCompoundPaddingBottom()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     sub-int/2addr p1, p2
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method private calculateExpandedLabelTop(Landroid/graphics/Rect;F)I
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isSingleLineFilledTextField()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/graphics/Rect;->centerY()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     int-to-float p1, p1
 | |
| 
 | |
|     const/high16 v0, 0x40000000    # 2.0f
 | |
| 
 | |
|     div-float/2addr p2, v0
 | |
| 
 | |
|     sub-float/2addr p1, p2
 | |
| 
 | |
|     float-to-int p1, p1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget p1, p1, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/widget/EditText;->getCompoundPaddingTop()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     add-int/2addr p2, p1
 | |
| 
 | |
|     return p2
 | |
| .end method
 | |
| 
 | |
| .method private calculateExpandedTextBounds(Landroid/graphics/Rect;)Landroid/graphics/Rect;
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->tmpBoundsRect:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->getExpandedTextHeight()F
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 4
 | |
|     iget v2, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->getCompoundPaddingLeft()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     add-int/2addr v3, v2
 | |
| 
 | |
|     iput v3, v0, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->calculateExpandedLabelTop(Landroid/graphics/Rect;F)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 6
 | |
|     iget v2, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->getCompoundPaddingRight()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     sub-int/2addr v2, v3
 | |
| 
 | |
|     iput v2, v0, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0, p1, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->calculateExpandedLabelBottom(Landroid/graphics/Rect;Landroid/graphics/Rect;F)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, v0, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     new-instance p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method private calculateLabelMarginTop()I
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-eq v0, v2, :cond_2
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     if-eq v0, v2, :cond_1
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCollapsedTextHeight()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/high16 v1, 0x40000000    # 2.0f
 | |
| 
 | |
|     div-float/2addr v0, v1
 | |
| 
 | |
|     :goto_0
 | |
|     float-to-int v0, v0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCollapsedTextHeight()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_0
 | |
| .end method
 | |
| 
 | |
| .method private canDrawOutlineStroke()Z
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->canDrawStroke()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private canDrawStroke()Z
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     const/4 v1, -0x1
 | |
| 
 | |
|     if-le v0, v1, :cond_0
 | |
| 
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private closeCutout()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     check-cast v0, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/CutoutDrawable;->removeCutout()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private collapseHint(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/animation/ValueAnimator;->isRunning()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/animation/ValueAnimator;->cancel()V
 | |
| 
 | |
|     :cond_0
 | |
|     const/high16 v0, 0x3f800000    # 1.0f
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintAnimationEnabled:Z
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->animateToExpansionFraction(F)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpansionFraction(F)V
 | |
| 
 | |
|     :goto_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 8
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->openCutout()V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePlaceholderText()V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextVisibility()V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextVisibility()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private cutoutEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     instance-of v0, v0, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private dispatchOnEditTextAttached()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/LinkedHashSet;->iterator()Ljava/util/Iterator;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v1, p0}, Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;->onEditTextAttached(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private dispatchOnEndIconChanged(I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/LinkedHashSet;->iterator()Ljava/util/Iterator;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v1, p0, p1}, Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;->onEndIconChanged(Lcom/google/android/material/textfield/TextInputLayout;I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private drawBoxUnderline(Landroid/graphics/Canvas;)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 3
 | |
|     iget v1, v0, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     sub-int/2addr v1, v2
 | |
| 
 | |
|     iput v1, v0, Landroid/graphics/Rect;->top:I
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private drawHint(Landroid/graphics/Canvas;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/Canvas;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private expandHint(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/animation/ValueAnimator;->isRunning()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/animation/ValueAnimator;->cancel()V
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintAnimationEnabled:Z
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->animateToExpansionFraction(F)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpansionFraction(F)V
 | |
| 
 | |
|     .line 6
 | |
|     :goto_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     check-cast p1, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/textfield/CutoutDrawable;->hasCutout()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->closeCutout()V
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 8
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     .line 9
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hidePlaceholderText()V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextVisibility()V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextVisibility()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private getEndIconDelegate()Lcom/google/android/material/textfield/EndIconDelegate;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconDelegates:Landroid/util/SparseArray;
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconDelegates:Landroid/util/SparseArray;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method private getEndIconToUpdateDummyDrawable()Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIcon()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isEndIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method private getLabelLeftBoundAlightWithPrefix(IZ)I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getCompoundPaddingLeft()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     add-int/2addr v0, p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     if-nez p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/TextView;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     sub-int/2addr v0, p1
 | |
| 
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/TextView;->getPaddingLeft()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     add-int/2addr v0, p1
 | |
| 
 | |
|     :cond_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private getLabelRightBoundAlignedWithSuffix(IZ)I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getCompoundPaddingRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sub-int/2addr p1, v0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     if-eqz p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/widget/TextView;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getPaddingRight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sub-int/2addr p2, v0
 | |
| 
 | |
|     add-int/2addr p1, p2
 | |
| 
 | |
|     :cond_0
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method private hasEndIcon()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private hidePlaceholderText()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v1, 0x4
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private isErrorIconVisible()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private isSingleLineFilledTextField()Z
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getMinLines()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-gt v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method private mergeIconState(Lcom/google/android/material/internal/CheckableImageButton;)[I
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 3
 | |
|     array-length v1, v0
 | |
| 
 | |
|     .line 4
 | |
|     array-length v2, v0
 | |
| 
 | |
|     array-length v3, p1
 | |
| 
 | |
|     add-int/2addr v2, v3
 | |
| 
 | |
|     invoke-static {v0, v2}, Ljava/util/Arrays;->copyOf([II)[I
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 5
 | |
|     array-length v2, p1
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     invoke-static {p1, v3, v0, v1, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method private onApplyBoxBackgroundMode()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->assignBoxBackgroundByMode()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->setEditTextBoxBackground()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateBoxCollapsedPaddingTop()V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->adjustFilledEditTextPaddingForLargeFont()V
 | |
| 
 | |
|     .line 6
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateInputLayoutMargins()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private openCutout()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->tmpRectF:Landroid/graphics/RectF;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v2}, Landroid/widget/EditText;->getWidth()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->getGravity()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1, v0, v2, v3}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCollapsedTextActualBounds(Landroid/graphics/RectF;II)V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->applyCutoutPadding(Landroid/graphics/RectF;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     neg-int v1, v1
 | |
| 
 | |
|     int-to-float v1, v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     neg-int v2, v2
 | |
| 
 | |
|     int-to-float v2, v2
 | |
| 
 | |
|     invoke-virtual {v0, v1, v2}, Landroid/graphics/RectF;->offset(FF)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     check-cast v1, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Lcom/google/android/material/textfield/CutoutDrawable;->setCutout(Landroid/graphics/RectF;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static recursiveSetEnabled(Landroid/view/ViewGroup;Z)V
 | |
|     .locals 4
 | |
|     .param p0    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v1, v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v2, p1}, Landroid/view/View;->setEnabled(Z)V
 | |
| 
 | |
|     .line 4
 | |
|     instance-of v3, v2, Landroid/view/ViewGroup;
 | |
| 
 | |
|     if-eqz v3, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     check-cast v2, Landroid/view/ViewGroup;
 | |
| 
 | |
|     invoke-static {v2, p1}, Lcom/google/android/material/textfield/TextInputLayout;->recursiveSetEnabled(Landroid/view/ViewGroup;Z)V
 | |
| 
 | |
|     :cond_0
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private refreshIconDrawableState(Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/content/res/ColorStateList;->isStateful()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->mergeIconState(Lcom/google/android/material/internal/CheckableImageButton;)[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-virtual {p2, v1, v2}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v0}, Ld1/c;->r(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {p2}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-static {v0, p2}, Ld1/c;->o(Landroid/graphics/drawable/Drawable;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private removePlaceholderTextView()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setEditText(Landroid/widget/EditText;)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_6
 | |
| 
 | |
|     .line 2
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     const/4 v1, 0x3
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     instance-of v0, p1, Lcom/google/android/material/textfield/TextInputEditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const-string v0, "TextInputLayout"
 | |
| 
 | |
|     const-string v1, "EditText added is not a TextInputEditText. Please switch to using that class instead."
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->onApplyBoxBackgroundMode()V
 | |
| 
 | |
|     .line 6
 | |
|     new-instance v0, Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setTextInputAccessibilityDelegate(Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;)V
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/EditText;->getTypeface()Landroid/graphics/Typeface;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setTypefaces(Landroid/graphics/Typeface;)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/EditText;->getTextSize()F
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextSize(F)V
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getGravity()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 10
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     and-int/lit8 v2, v0, -0x71
 | |
| 
 | |
|     or-int/lit8 v2, v2, 0x30
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextGravity(I)V
 | |
| 
 | |
|     .line 11
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextGravity(I)V
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$1;
 | |
| 
 | |
|     invoke-direct {v1, p0}, Lcom/google/android/material/textfield/TextInputLayout$1;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V
 | |
| 
 | |
|     .line 13
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getHintTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 15
 | |
|     :cond_1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     .line 16
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 17
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->originalHint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 19
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 20
 | |
|     :cond_2
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 21
 | |
|     :cond_3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_4
 | |
| 
 | |
|     .line 22
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-interface {v0}, Landroid/text/Editable;->length()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounter(I)V
 | |
| 
 | |
|     .line 23
 | |
|     :cond_4
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateEditTextBackground()V
 | |
| 
 | |
|     .line 24
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->adjustIndicatorPadding()V
 | |
| 
 | |
|     .line 25
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->bringToFront()V
 | |
| 
 | |
|     .line 26
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->bringToFront()V
 | |
| 
 | |
|     .line 27
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->bringToFront()V
 | |
| 
 | |
|     .line 28
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->bringToFront()V
 | |
| 
 | |
|     .line 29
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->dispatchOnEditTextAttached()V
 | |
| 
 | |
|     .line 30
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextViewPadding()V
 | |
| 
 | |
|     .line 31
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextViewPadding()V
 | |
| 
 | |
|     .line 32
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_5
 | |
| 
 | |
|     .line 33
 | |
|     invoke-virtual {p1, v2}, Landroid/widget/EditText;->setEnabled(Z)V
 | |
| 
 | |
|     .line 34
 | |
|     :cond_5
 | |
|     invoke-direct {p0, v2, v1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(ZZ)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 35
 | |
|     :cond_6
 | |
|     new-instance p1, Ljava/lang/IllegalArgumentException;
 | |
| 
 | |
|     const-string v0, "We already have an EditText, can only have one"
 | |
| 
 | |
|     invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method private setEditTextBoxBackground()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->shouldUseEditTextBackgroundForBoxBackground()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->I1(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setErrorIconVisible(Z)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const/16 v2, 0x8
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     move v3, v1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v3, v2
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     :cond_1
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextViewPadding()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIcon()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-nez p1, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setHintInternal(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->openCutout()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static setIconClickable(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 3
 | |
|     .param p0    # Lcom/google/android/material/internal/CheckableImageButton;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->K0(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     move p1, v2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move p1, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     :cond_1
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 2
 | |
|     :cond_2
 | |
|     invoke-virtual {p0, v1}, Landroid/widget/ImageButton;->setFocusable(Z)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, v0}, Landroid/widget/ImageButton;->setClickable(Z)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/internal/CheckableImageButton;->setPressable(Z)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/ImageButton;->setLongClickable(Z)V
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     .line 6
 | |
|     :goto_1
 | |
|     invoke-static {p0, v2}, Landroidx/core/view/ViewCompat;->R1(Landroid/view/View;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static setIconOnClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnClickListener;Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 0
 | |
|     .param p0    # Lcom/google/android/material/internal/CheckableImageButton;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Landroid/view/View$OnClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->setIconClickable(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static setIconOnLongClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 0
 | |
|     .param p0    # Lcom/google/android/material/internal/CheckableImageButton;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/ImageButton;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconClickable(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private setPlaceholderTextEnabled(Z)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-ne v0, p1, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroidx/appcompat/widget/AppCompatTextView;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 3
 | |
|     sget v1, Lcom/google/android/material/R$id;->textinput_placeholder:I
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setId(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->D1(Landroid/view/View;I)V
 | |
| 
 | |
|     .line 5
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextAppearance:I
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextAppearance(I)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->addPlaceholderTextView()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->removePlaceholderTextView()V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 9
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 10
 | |
|     :goto_0
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private shouldUpdateEndDummyDrawable()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIcon()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isEndIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-lez v0, :cond_2
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private shouldUpdateStartDummyDrawable()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getStartIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-lez v0, :cond_1
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private shouldUseEditTextBackgroundForBoxBackground()Z
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private showPlaceholderText()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->bringToFront()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private tintEndIconOnError(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-static {p1}, Ld1/c;->r(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {p1, v0}, Ld1/c;->n(Landroid/graphics/drawable/Drawable;I)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateBoxCollapsedPaddingTop()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-ne v0, v1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast2_0(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget v1, Lcom/google/android/material/R$dimen;->material_font_2_0_box_collapsed_padding_top:I
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxCollapsedPaddingTopPx:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->isFontScaleAtLeast1_3(Landroid/content/Context;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget v1, Lcom/google/android/material/R$dimen;->material_font_1_3_box_collapsed_padding_top:I
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxCollapsedPaddingTopPx:I
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateBoxUnderlineBounds(Landroid/graphics/Rect;)V
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/graphics/Rect;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxUnderline:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget v1, p1, Landroid/graphics/Rect;->bottom:I
 | |
| 
 | |
|     iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthFocusedPx:I
 | |
| 
 | |
|     sub-int v2, v1, v2
 | |
| 
 | |
|     .line 3
 | |
|     iget v3, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget p1, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     invoke-virtual {v0, v3, v2, p1, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateCounter()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-interface {v0}, Landroid/text/Editable;->length()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounter(I)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private static updateCounterContentDescription(Landroid/content/Context;Landroid/widget/TextView;IIZ)V
 | |
|     .locals 2
 | |
|     .param p0    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Landroid/widget/TextView;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p4, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     sget p4, Lcom/google/android/material/R$string;->character_counter_overflowed_content_description:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     sget p4, Lcom/google/android/material/R$string;->character_counter_content_description:I
 | |
| 
 | |
|     :goto_0
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v0, v0, [Ljava/lang/Object;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     aput-object p2, v0, v1
 | |
| 
 | |
|     const/4 p2, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     aput-object p3, v0, p2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, p4, v0}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, p0}, Landroid/widget/TextView;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateCounterTextAppearanceAndColor()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextAppearance:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextAppearance:I
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setTextAppearanceCompatWithErrorFallback(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateDummyDrawables()Z
 | |
|     .locals 10
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->shouldUpdateStartDummyDrawable()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     const/4 v3, 0x3
 | |
| 
 | |
|     const/4 v4, 0x2
 | |
| 
 | |
|     const/4 v5, 0x1
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v6}, Landroid/widget/EditText;->getPaddingLeft()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     sub-int/2addr v0, v6
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v6, :cond_1
 | |
| 
 | |
|     iget v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawableWidth:I
 | |
| 
 | |
|     if-eq v6, v0, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     new-instance v6, Landroid/graphics/drawable/ColorDrawable;
 | |
| 
 | |
|     invoke-direct {v6}, Landroid/graphics/drawable/ColorDrawable;-><init>()V
 | |
| 
 | |
|     iput-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 6
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawableWidth:I
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v6, v1, v1, v0, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/core/widget/TextViewCompat;->h(Landroid/widget/TextView;)[Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 9
 | |
|     aget-object v6, v0, v1
 | |
| 
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eq v6, v7, :cond_4
 | |
| 
 | |
|     .line 10
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     aget-object v8, v0, v5
 | |
| 
 | |
|     aget-object v9, v0, v4
 | |
| 
 | |
|     aget-object v0, v0, v3
 | |
| 
 | |
|     invoke-static {v6, v7, v8, v9, v0}, Landroidx/core/widget/TextViewCompat;->w(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v0, :cond_4
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/core/widget/TextViewCompat;->h(Landroid/widget/TextView;)[Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 13
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     aget-object v7, v0, v5
 | |
| 
 | |
|     aget-object v8, v0, v4
 | |
| 
 | |
|     aget-object v0, v0, v3
 | |
| 
 | |
|     invoke-static {v6, v2, v7, v8, v0}, Landroidx/core/widget/TextViewCompat;->w(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 14
 | |
|     iput-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->startDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     :goto_0
 | |
|     move v0, v5
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_4
 | |
|     move v0, v1
 | |
| 
 | |
|     .line 15
 | |
|     :goto_1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->shouldUpdateEndDummyDrawable()Z
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     if-eqz v6, :cond_9
 | |
| 
 | |
|     .line 16
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/widget/TextView;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v6}, Landroid/widget/EditText;->getPaddingRight()I
 | |
| 
 | |
|     move-result v6
 | |
| 
 | |
|     sub-int/2addr v2, v6
 | |
| 
 | |
|     .line 17
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconToUpdateDummyDrawable()Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     if-eqz v6, :cond_5
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v7
 | |
| 
 | |
|     add-int/2addr v7, v2
 | |
| 
 | |
|     .line 19
 | |
|     invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     .line 20
 | |
|     invoke-static {v2}, Ls1/m;->c(Landroid/view/ViewGroup$MarginLayoutParams;)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     add-int/2addr v2, v7
 | |
| 
 | |
|     .line 21
 | |
|     :cond_5
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v6}, Landroidx/core/widget/TextViewCompat;->h(Landroid/widget/TextView;)[Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     .line 22
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v7, :cond_6
 | |
| 
 | |
|     iget v8, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawableWidth:I
 | |
| 
 | |
|     if-eq v8, v2, :cond_6
 | |
| 
 | |
|     .line 23
 | |
|     iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawableWidth:I
 | |
| 
 | |
|     .line 24
 | |
|     invoke-virtual {v7, v1, v1, v2, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 25
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     aget-object v1, v6, v1
 | |
| 
 | |
|     aget-object v2, v6, v5
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     aget-object v3, v6, v3
 | |
| 
 | |
|     invoke-static {v0, v1, v2, v4, v3}, Landroidx/core/widget/TextViewCompat;->w(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_6
 | |
|     if-nez v7, :cond_7
 | |
| 
 | |
|     .line 26
 | |
|     new-instance v7, Landroid/graphics/drawable/ColorDrawable;
 | |
| 
 | |
|     invoke-direct {v7}, Landroid/graphics/drawable/ColorDrawable;-><init>()V
 | |
| 
 | |
|     iput-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 27
 | |
|     iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawableWidth:I
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {v7, v1, v1, v2, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
 | |
| 
 | |
|     .line 29
 | |
|     :cond_7
 | |
|     aget-object v2, v6, v4
 | |
| 
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eq v2, v7, :cond_8
 | |
| 
 | |
|     .line 30
 | |
|     aget-object v0, v6, v4
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->originalEditTextEndDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     .line 31
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     aget-object v1, v6, v1
 | |
| 
 | |
|     aget-object v2, v6, v5
 | |
| 
 | |
|     aget-object v3, v6, v3
 | |
| 
 | |
|     invoke-static {v0, v1, v2, v7, v3}, Landroidx/core/widget/TextViewCompat;->w(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_8
 | |
|     move v5, v0
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 32
 | |
|     :cond_9
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-eqz v6, :cond_b
 | |
| 
 | |
|     .line 33
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v6}, Landroidx/core/widget/TextViewCompat;->h(Landroid/widget/TextView;)[Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     .line 34
 | |
|     aget-object v4, v6, v4
 | |
| 
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     if-ne v4, v7, :cond_a
 | |
| 
 | |
|     .line 35
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     aget-object v1, v6, v1
 | |
| 
 | |
|     aget-object v4, v6, v5
 | |
| 
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->originalEditTextEndDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     aget-object v3, v6, v3
 | |
| 
 | |
|     invoke-static {v0, v1, v4, v7, v3}, Landroidx/core/widget/TextViewCompat;->w(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_a
 | |
|     move v5, v0
 | |
| 
 | |
|     .line 36
 | |
|     :goto_2
 | |
|     iput-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->endDummyDrawable:Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     :goto_3
 | |
|     move v0, v5
 | |
| 
 | |
|     :cond_b
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method private updateEditTextHeightBasedOnIcon()Z
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->startLayout:Landroid/widget/LinearLayout;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/widget/LinearLayout;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/widget/EditText;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-ge v2, v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/widget/EditText;->setMinimumHeight(I)V
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     :cond_1
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method private updateInputLayoutMargins()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/widget/LinearLayout$LayoutParams;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->calculateLabelMarginTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 4
 | |
|     iget v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
 | |
| 
 | |
|     if-eq v1, v2, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->requestLayout()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateLabelState(ZZ)V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v1, v3
 | |
| 
 | |
|     .line 4
 | |
|     :goto_0
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     invoke-virtual {v4}, Landroid/widget/EditText;->hasFocus()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     move v4, v2
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     move v4, v3
 | |
| 
 | |
|     .line 5
 | |
|     :goto_1
 | |
|     iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v5}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v6, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v7, v6}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-virtual {v6, v7}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_2
 | |
|     if-nez v0, :cond_4
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     new-array v2, v2, [I
 | |
| 
 | |
|     const v5, -0x101009e
 | |
| 
 | |
|     aput v5, v2, v3
 | |
| 
 | |
|     iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledColor:I
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {v0, v2, v3}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledColor:I
 | |
| 
 | |
|     .line 11
 | |
|     :goto_2
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     invoke-virtual {v2, v3}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_4
 | |
|     if-eqz v5, :cond_5
 | |
| 
 | |
|     .line 13
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v2}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     .line 14
 | |
|     :cond_5
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v0, :cond_6
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_6
 | |
| 
 | |
|     .line 15
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_6
 | |
|     if-eqz v4, :cond_7
 | |
| 
 | |
|     .line 16
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v0, :cond_7
 | |
| 
 | |
|     .line 17
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_7
 | |
|     :goto_3
 | |
|     if-nez v1, :cond_a
 | |
| 
 | |
|     .line 18
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->expandedHintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_a
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_8
 | |
| 
 | |
|     if-eqz v4, :cond_8
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_8
 | |
|     if-nez p2, :cond_9
 | |
| 
 | |
|     .line 19
 | |
|     iget-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     if-nez p2, :cond_c
 | |
| 
 | |
|     .line 20
 | |
|     :cond_9
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->expandHint(Z)V
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     :cond_a
 | |
|     :goto_4
 | |
|     if-nez p2, :cond_b
 | |
| 
 | |
|     .line 21
 | |
|     iget-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     if-eqz p2, :cond_c
 | |
| 
 | |
|     .line 22
 | |
|     :cond_b
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->collapseHint(Z)V
 | |
| 
 | |
|     :cond_c
 | |
|     :goto_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updatePlaceholderMeasurementsBasedOnEditText()V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getGravity()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/widget/TextView;->setGravity(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1}, Landroid/widget/EditText;->getCompoundPaddingLeft()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v2}, Landroid/widget/EditText;->getCompoundPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->getCompoundPaddingRight()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v4}, Landroid/widget/EditText;->getCompoundPaddingBottom()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updatePlaceholderText()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-interface {v0}, Landroid/text/Editable;->length()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePlaceholderText(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updatePlaceholderText(I)V
 | |
|     .locals 0
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->showPlaceholderText()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hidePlaceholderText()V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updatePrefixTextViewPadding()V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isStartIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/core/view/ViewCompat;->k0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 3
 | |
|     :goto_0
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v2}, Landroid/widget/EditText;->getCompoundPaddingTop()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     sget v4, Lcom/google/android/material/R$dimen;->material_input_text_to_prefix_suffix_padding:I
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v4}, Landroid/widget/EditText;->getCompoundPaddingBottom()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {v1, v0, v2, v3, v4}, Landroidx/core/view/ViewCompat;->d2(Landroid/view/View;IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updatePrefixTextVisibility()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isHintExpanded()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/16 v1, 0x8
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateStrokeErrorColor(ZZ)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     new-array v3, v2, [I
 | |
| 
 | |
|     fill-array-data v3, :array_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v1, v3, v0}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     new-array v2, v2, [I
 | |
| 
 | |
|     fill-array-data v2, :array_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v3, v2, v0}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 6
 | |
|     iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     iput v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| 
 | |
|     :array_0
 | |
|     .array-data 4
 | |
|         0x1010367
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| 
 | |
|     :array_1
 | |
|     .array-data 4
 | |
|         0x10102fe
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| .end method
 | |
| 
 | |
| .method private updateSuffixTextViewPadding()V
 | |
|     .locals 5
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isEndIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isErrorIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/core/view/ViewCompat;->j0(Landroid/view/View;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     :goto_1
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     sget v3, Lcom/google/android/material/R$dimen;->material_input_text_to_prefix_suffix_padding:I
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->getPaddingTop()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v4}, Landroid/widget/EditText;->getPaddingBottom()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 9
 | |
|     invoke-static {v1, v2, v3, v0, v4}, Landroidx/core/view/ViewCompat;->d2(Landroid/view/View;IIII)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private updateSuffixTextVisibility()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isHintExpanded()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 3
 | |
|     :goto_0
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     const/16 v2, 0x8
 | |
| 
 | |
|     :goto_1
 | |
|     invoke-virtual {v3, v2}, Landroid/widget/TextView;->setVisibility(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/widget/TextView;->getVisibility()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eq v0, v2, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDelegate()Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/EndIconDelegate;->onSuffixVisibilityChanged(Z)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public addOnEditTextAttachedListener(Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-interface {p1, p0}, Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;->onEditTextAttached(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public addOnEndIconChangedListener(Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p3    # Landroid/view/ViewGroup$LayoutParams;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p1, Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance p2, Landroid/widget/FrameLayout$LayoutParams;
 | |
| 
 | |
|     invoke-direct {p2, p3}, Landroid/widget/FrameLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget v0, p2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I
 | |
| 
 | |
|     and-int/lit8 v0, v0, -0x71
 | |
| 
 | |
|     or-int/lit8 v0, v0, 0x10
 | |
| 
 | |
|     iput v0, p2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0, p1, p2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {p2, p3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateInputLayoutMargins()V
 | |
| 
 | |
|     .line 7
 | |
|     check-cast p1, Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setEditText(Landroid/widget/EditText;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1, p2, p3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public animateToExpansionFraction(F)V
 | |
|     .locals 4
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->getExpansionFraction()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     cmpl-float v0, v0, p1
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/animation/ValueAnimator;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     .line 4
 | |
|     sget-object v1, Lcom/google/android/material/animation/AnimationUtils;->FAST_OUT_SLOW_IN_INTERPOLATOR:Landroid/animation/TimeInterpolator;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     const-wide/16 v1, 0xa7
 | |
| 
 | |
|     invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$4;
 | |
| 
 | |
|     invoke-direct {v1, p0}, Lcom/google/android/material/textfield/TextInputLayout$4;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     new-array v1, v1, [F
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v3}, Lcom/google/android/material/internal/CollapsingTextHelper;->getExpansionFraction()F
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     aput v3, v1, v2
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     aput p1, v1, v2
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->setFloatValues([F)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->animator:Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/animation/ValueAnimator;->start()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public clearOnEditTextAttachedListeners()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/LinkedHashSet;->clear()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public clearOnEndIconChangedListeners()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/LinkedHashSet;->clear()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public cutoutIsOpen()Z
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     check-cast v0, Lcom/google/android/material/textfield/CutoutDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/CutoutDrawable;->hasCutout()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
 | |
|     .locals 4
 | |
|     .param p1    # Landroid/view/ViewStructure;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroid/annotation/TargetApi;
 | |
|         value = 0x1a
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->originalHint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 5
 | |
|     iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->originalHint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {v2, v3}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 8
 | |
|     :try_start_0
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 9
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 10
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 11
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p2, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 12
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 13
 | |
|     throw p1
 | |
| 
 | |
|     .line 14
 | |
|     :cond_1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getAutofillId()Landroid/view/autofill/AutofillId;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/view/ViewStructure;->setAutofillId(Landroid/view/autofill/AutofillId;)V
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->onProvideAutofillStructure(Landroid/view/ViewStructure;I)V
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->onProvideAutofillVirtualStructure(Landroid/view/ViewStructure;I)V
 | |
| 
 | |
|     .line 17
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/view/ViewStructure;->setChildCount(I)V
 | |
| 
 | |
|     .line 18
 | |
|     :goto_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->getChildCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-ge v2, v0, :cond_3
 | |
| 
 | |
|     .line 19
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inputFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {p1, v2}, Landroid/view/ViewStructure;->newChild(I)Landroid/view/ViewStructure;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {v0, v1, p2}, Landroid/view/View;->dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
 | |
| 
 | |
|     .line 22
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-ne v0, v3, :cond_2
 | |
| 
 | |
|     .line 23
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Landroid/view/ViewStructure;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_2
 | |
|     add-int/lit8 v2, v2, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     :goto_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public dispatchRestoreInstanceState(Landroid/util/SparseArray;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/util/SparseArray;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Landroid/util/SparseArray<",
 | |
|             "Landroid/os/Parcelable;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 1
 | |
|     iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->restoringSavedState:Z
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchRestoreInstanceState(Landroid/util/SparseArray;)V
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->restoringSavedState:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public draw(Landroid/graphics/Canvas;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/Canvas;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/widget/LinearLayout;->draw(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->drawHint(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->drawBoxUnderline(Landroid/graphics/Canvas;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public drawableStateChanged()V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inDrawableStateChanged:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->inDrawableStateChanged:Z
 | |
| 
 | |
|     .line 3
 | |
|     invoke-super {p0}, Landroid/widget/LinearLayout;->drawableStateChanged()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getDrawableState()[I
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v2, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setState([I)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     or-int/2addr v1, v3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     move v1, v3
 | |
| 
 | |
|     .line 7
 | |
|     :goto_0
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v2, :cond_3
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {p0}, Landroidx/core/view/ViewCompat;->U0(Landroid/view/View;)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eqz v2, :cond_2
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-eqz v2, :cond_2
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     move v0, v3
 | |
| 
 | |
|     :goto_1
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     .line 9
 | |
|     :cond_3
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateEditTextBackground()V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->invalidate()V
 | |
| 
 | |
|     .line 12
 | |
|     :cond_4
 | |
|     iput-boolean v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->inDrawableStateChanged:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getBaseline()I
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getBaseline()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingTop()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     add-int/2addr v1, v0
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->calculateLabelMarginTop()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     add-int/2addr v1, v0
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/LinearLayout;->getBaseline()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxBackground()Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
|     .locals 2
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     new-instance v0, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
 | |
| 
 | |
|     throw v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxBackgroundColor()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxBackgroundMode()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxCornerRadiusBottomEnd()F
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getBottomLeftCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxCornerRadiusBottomStart()F
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getBottomRightCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxCornerRadiusTopEnd()F
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getTopRightCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxCornerRadiusTopStart()F
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getTopLeftCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxStrokeColor()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxStrokeErrorColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxStrokeWidth()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthDefaultPx:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getBoxStrokeWidthFocused()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthFocusedPx:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getCounterMaxLength()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getCounterOverflowDescription()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getCounterOverflowTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getCounterTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getDefaultHintTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getEditText()Landroid/widget/EditText;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getEndIconContentDescription()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getEndIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getEndIconMode()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getEndIconView()Lcom/google/android/material/internal/CheckableImageButton;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getError()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->isErrorEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorText()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getErrorContentDescription()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getErrorCurrentTextColors()I
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getErrorIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final getErrorTextCurrentColor()I
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getHelperText()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->isHelperTextEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getHelperText()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getHelperTextCurrentTextColor()I
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/ColorInt;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->getHelperTextViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getHint()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final getHintCollapsedTextHeight()F
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCollapsedTextHeight()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public final getHintCurrentCollapsedTextColor()I
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCurrentCollapsedTextColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getHintTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPasswordVisibilityToggleContentDescription()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPasswordVisibilityToggleDrawable()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPlaceholderText()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPlaceholderTextAppearance()I
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/StyleRes;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextAppearance:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getPlaceholderTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPrefixText()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPrefixTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPrefixTextView()Landroid/widget/TextView;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getStartIconContentDescription()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getStartIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getSuffixText()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getSuffixTextColor()Landroid/content/res/ColorStateList;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getSuffixTextView()Landroid/widget/TextView;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getTypeface()Landroid/graphics/Typeface;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->typeface:Landroid/graphics/Typeface;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public isCounterEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isEndIconCheckable()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CheckableImageButton;->isCheckable()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isEndIconVisible()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconFrame:Landroid/widget/FrameLayout;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isErrorEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->isErrorEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isExpandedHintEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->expandedHintEnabled:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public final isHelperTextDisplayed()Z
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->helperTextIsDisplayed()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isHelperTextEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->isHelperTextEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isHintAnimationEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintAnimationEnabled:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isHintEnabled()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public final isHintExpanded()Z
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isPasswordVisibilityToggleEnabled()Z
 | |
|     .locals 2
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method public isProvidingHint()Z
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isStartIconCheckable()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CheckableImageButton;->isCheckable()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public isStartIconVisible()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public onLayout(ZIIII)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super/range {p0 .. p5}, Landroid/widget/LinearLayout;->onLayout(ZIIII)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->tmpRect:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {p0, p1, p2}, Lcom/google/android/material/internal/DescendantOffsetUtils;->getDescendantRect(Landroid/view/ViewGroup;Landroid/view/View;Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->updateBoxUnderlineBounds(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     iget-object p3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p3}, Landroid/widget/EditText;->getTextSize()F
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     invoke-virtual {p1, p3}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextSize(F)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/EditText;->getGravity()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 9
 | |
|     iget-object p3, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     and-int/lit8 p4, p1, -0x71
 | |
| 
 | |
|     or-int/lit8 p4, p4, 0x30
 | |
| 
 | |
|     invoke-virtual {p3, p4}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextGravity(I)V
 | |
| 
 | |
|     .line 10
 | |
|     iget-object p3, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {p3, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedTextGravity(I)V
 | |
| 
 | |
|     .line 11
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-direct {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->calculateCollapsedTextBounds(Landroid/graphics/Rect;)Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     invoke-virtual {p1, p3}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedBounds(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 12
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-direct {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->calculateExpandedTextBounds(Landroid/graphics/Rect;)Landroid/graphics/Rect;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Lcom/google/android/material/internal/CollapsingTextHelper;->setExpandedBounds(Landroid/graphics/Rect;)V
 | |
| 
 | |
|     .line 13
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->recalculate()V
 | |
| 
 | |
|     .line 14
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->cutoutEnabled()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintExpanded:Z
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     .line 15
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->openCutout()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onMeasure(II)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->onMeasure(II)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateEditTextHeightBasedOnIcon()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     new-instance p2, Lcom/google/android/material/textfield/TextInputLayout$3;
 | |
| 
 | |
|     invoke-direct {p2, p0}, Lcom/google/android/material/textfield/TextInputLayout$3;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Landroid/widget/EditText;->post(Ljava/lang/Runnable;)Z
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePlaceholderMeasurementsBasedOnEditText()V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextViewPadding()V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextViewPadding()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/os/Parcelable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     check-cast p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1}, Landroidx/customview/view/AbsSavedState;->getSuperState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-super {p0, v0}, Landroid/widget/LinearLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->error:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setError(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-boolean v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->isEndIconChecked:Z
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$2;
 | |
| 
 | |
|     invoke-direct {v1, p0}, Lcom/google/android/material/textfield/TextInputLayout$2;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->post(Ljava/lang/Runnable;)Z
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     iget-object v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->hintText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->helperText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 10
 | |
|     iget-object p1, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->requestLayout()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onSaveInstanceState()Landroid/os/Parcelable;
 | |
|     .locals 2
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/LinearLayout;->onSaveInstanceState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
 | |
| 
 | |
|     invoke-direct {v1, v0}, Lcom/google/android/material/textfield/TextInputLayout$SavedState;-><init>(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getError()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->error:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIcon()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/internal/CheckableImageButton;->isChecked()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     iput-boolean v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->isEndIconChecked:Z
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->hintText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHelperText()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->helperText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getPlaceholderText()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     return-object v1
 | |
| .end method
 | |
| 
 | |
| .method public passwordVisibilityToggleRequested(Z)V
 | |
|     .locals 2
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->performClick()Z
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->jumpDrawablesToCurrentState()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public refreshEndIconDrawableState()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-direct {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->refreshIconDrawableState(Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public refreshErrorIconDrawableState()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-direct {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->refreshIconDrawableState(Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public refreshStartIconDrawableState()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     invoke-direct {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->refreshIconDrawableState(Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public removeOnEditTextAttachedListener(Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editTextAttachedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public removeOnEndIconChangedListener(Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/textfield/TextInputLayout$OnEndIconChangedListener;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconChangedListeners:Ljava/util/LinkedHashSet;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxBackgroundColor(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/ColorInt;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 3
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     .line 4
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     .line 5
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyBoxAttributes()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxBackgroundColorResource(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/ColorRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxBackgroundColor(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxBackgroundColorStateList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 3
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     .line 2
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const v2, -0x101009e
 | |
| 
 | |
|     aput v2, v0, v1
 | |
| 
 | |
|     const/4 v1, -0x1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledFilledBackgroundColor:I
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v2, v0, [I
 | |
| 
 | |
|     .line 4
 | |
|     fill-array-data v2, :array_0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, v2, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     .line 6
 | |
|     fill-array-data v0, :array_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     .line 8
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyBoxAttributes()V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     nop
 | |
| 
 | |
|     :array_0
 | |
|     .array-data 4
 | |
|         0x101009c
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| 
 | |
|     :array_1
 | |
|     .array-data 4
 | |
|         0x1010367
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| .end method
 | |
| 
 | |
| .method public setBoxBackgroundMode(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-ne p1, v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->onApplyBoxBackgroundMode()V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxCornerRadii(FFFF)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getTopLeftCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     cmpl-float v0, v0, p1
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getTopRightCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     cmpl-float v0, v0, p2
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getBottomRightCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     cmpl-float v0, v0, p4
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->getBottomLeftCornerResolvedSize()F
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     cmpl-float v0, v0, p3
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel;->toBuilder()Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setTopLeftCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p1, p2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setTopRightCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p1, p4}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setBottomRightCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p1, p3}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->setBottomLeftCornerSize(F)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->build()Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->shapeAppearanceModel:Lcom/google/android/material/shape/ShapeAppearanceModel;
 | |
| 
 | |
|     .line 13
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyBoxAttributes()V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxCornerRadiiResources(IIII)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p3    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p4    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimension(I)F
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p2}, Landroid/content/res/Resources;->getDimension(I)F
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p4}, Landroid/content/res/Resources;->getDimension(I)F
 | |
| 
 | |
|     move-result p4
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p3}, Landroid/content/res/Resources;->getDimension(I)F
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, p1, p2, p4, p3}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxCornerRadii(FFFF)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeColor(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/ColorInt;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeColorStateList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 3
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/content/res/ColorStateList;->isStateful()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultStrokeColor:I
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const v2, -0x101009e
 | |
| 
 | |
|     aput v2, v0, v1
 | |
| 
 | |
|     const/4 v1, -0x1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledColor:I
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v2, v0, [I
 | |
| 
 | |
|     .line 4
 | |
|     fill-array-data v2, :array_0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, v2, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredStrokeColor:I
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     .line 6
 | |
|     fill-array-data v0, :array_1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 8
 | |
|     :cond_0
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     .line 10
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :array_0
 | |
|     .array-data 4
 | |
|         0x1010367
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| 
 | |
|     :array_1
 | |
|     .array-data 4
 | |
|         0x101009c
 | |
|         0x101009e
 | |
|     .end array-data
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeErrorColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeWidth(I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthDefaultPx:I
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeWidthFocused(I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthFocusedPx:I
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeWidthFocusedResource(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeWidthFocused(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBoxStrokeWidthResource(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DimenRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeWidth(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterEnabled(Z)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
 | |
| 
 | |
|     if-eq v0, p1, :cond_2
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v1, Landroidx/appcompat/widget/AppCompatTextView;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-direct {v1, v2}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 3
 | |
|     sget v2, Lcom/google/android/material/R$id;->textinput_counter:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroid/widget/TextView;->setId(I)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->typeface:Landroid/graphics/Typeface;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v2, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroid/widget/TextView;->setMaxLines(I)V
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v1, v2, v0}, Lcom/google/android/material/textfield/IndicatorViewController;->addIndicator(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/view/ViewGroup$MarginLayoutParams;
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     sget v2, Lcom/google/android/material/R$dimen;->mtrl_textinput_counter_margin_start:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 11
 | |
|     invoke-static {v0, v1}, Ls1/m;->h(Landroid/view/ViewGroup$MarginLayoutParams;I)V
 | |
| 
 | |
|     .line 12
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     .line 13
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounter()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 14
 | |
|     :cond_1
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v1, v2, v0}, Lcom/google/android/material/textfield/IndicatorViewController;->removeIndicator(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 15
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 16
 | |
|     :goto_0
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterMaxLength(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_1
 | |
| 
 | |
|     if-lez p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 3
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     .line 4
 | |
|     :goto_0
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterEnabled:Z
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounter()V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterOverflowTextAppearance(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextAppearance:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextAppearance:I
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterOverflowTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterTextAppearance(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextAppearance:I
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextAppearance:I
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setCounterTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setDefaultHintTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEnabled(Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->recursiveSetEnabled(Landroid/view/ViewGroup;Z)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setEnabled(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconActivated(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setActivated(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconCheckable(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CheckableImageButton;->setCheckable(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconContentDescription(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StringRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconContentDescription(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconDrawable(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DrawableRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshEndIconDrawableState()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconMode(I)V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->dispatchOnEndIconChanged(I)V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconVisible(Z)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDelegate()Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/EndIconDelegate;->isBoxBackgroundModeSupported(I)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDelegate()Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/textfield/EndIconDelegate;->initialize()V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 8
 | |
|     :cond_1
 | |
|     new-instance v0, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     const-string v1, "The current box background mode "
 | |
| 
 | |
|     invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string v2, " is not supported by the end icon mode "
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw v0
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/view/View$OnClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     invoke-static {v0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnClickListener;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-static {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnLongClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconTintList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintList:Z
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/PorterDuff$Mode;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintMode:Z
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setEndIconVisible(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isEndIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eq v0, p1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/16 p1, 0x8
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextViewPadding()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setError(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->isErrorEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorEnabled(Z)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->showError(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/textfield/IndicatorViewController;->hideError()V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorContentDescription(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setErrorContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorEnabled(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setErrorEnabled(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconDrawable(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DrawableRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshErrorIconDrawableState()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/textfield/IndicatorViewController;->isErrorEnabled()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconVisible(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/view/View$OnClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     invoke-static {v0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnClickListener;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-static {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnLongClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconTintList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0}, Ld1/c;->r(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {v0, p1}, Ld1/c;->o(Landroid/graphics/drawable/Drawable;Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eq p1, v0, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/PorterDuff$Mode;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {v0}, Ld1/c;->r(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0, p1}, Ld1/c;->p(Landroid/graphics/drawable/Drawable;Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/ImageButton;->getDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eq p1, v0, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->errorIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setErrorTextAppearance(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setErrorTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setErrorViewTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setExpandedHintEnabled(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->expandedHintEnabled:Z
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->expandedHintEnabled:Z
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHelperText(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isHelperTextEnabled()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isHelperTextEnabled()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->showHelper(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHelperTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setHelperTextViewTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHelperTextEnabled(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setHelperTextEnabled(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHelperTextTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setHelperTextAppearance(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHint(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StringRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHint(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHintInternal(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     const/16 p1, 0x800
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Landroid/widget/LinearLayout;->sendAccessibilityEvent(I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHintAnimationEnabled(Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintAnimationEnabled:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHintEnabled(Z)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     if-eq p1, v0, :cond_4
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hintEnabled:Z
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-nez p1, :cond_1
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-virtual {p1, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHintInternal(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_3
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hint:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     .line 10
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 12
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->isProvidingHint:Z
 | |
| 
 | |
|     .line 13
 | |
|     :goto_0
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_4
 | |
| 
 | |
|     .line 14
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateInputLayoutMargins()V
 | |
| 
 | |
|     :cond_4
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHintTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextAppearance(I)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->getCollapsedTextColor()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateInputLayoutMargins()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setHintTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultHintTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setCollapsedTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleContentDescription(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StringRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setPasswordVisibilityToggleContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleContentDescription(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleDrawable(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DrawableRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setPasswordVisibilityToggleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleEnabled(Z)V
 | |
|     .locals 2
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconMode:I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconMode(I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     if-nez p1, :cond_1
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setEndIconMode(I)V
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleTintList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintList:Z
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPasswordVisibilityToggleTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/PorterDuff$Mode;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->endIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasEndIconTintMode:Z
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyEndIconTint()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPlaceholderText(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextEnabled(Z)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderEnabled:Z
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextEnabled(Z)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 6
 | |
|     :goto_0
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePlaceholderText()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPlaceholderTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextAppearance:I
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0, p1}, Landroidx/core/widget/TextViewCompat;->E(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPlaceholderTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->placeholderTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPrefixText(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move-object v0, p1
 | |
| 
 | |
|     :goto_0
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextVisibility()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPrefixTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-static {v0, p1}, Landroidx/core/widget/TextViewCompat;->E(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPrefixTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->prefixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconCheckable(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CheckableImageButton;->setCheckable(Z)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconContentDescription(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StringRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconContentDescription(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getStartIconContentDescription()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconDrawable(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/DrawableRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/drawable/Drawable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconVisible(Z)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshStartIconDrawableState()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconVisible(Z)V
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setStartIconContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconOnClickListener(Landroid/view/View$OnClickListener;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/view/View$OnClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     invoke-static {v0, p1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnClickListener;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/View$OnLongClickListener;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconOnLongClickListener:Landroid/view/View$OnLongClickListener;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     invoke-static {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setIconOnLongClickListener(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconTintList(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintList:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasStartIconTintList:Z
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyStartIconTint()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/PorterDuff$Mode;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     if-eq v0, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconTintMode:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->hasStartIconTintMode:Z
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyStartIconTint()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setStartIconVisible(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->isStartIconVisible()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eq v0, p1, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->startIconView:Lcom/google/android/material/internal/CheckableImageButton;
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/16 p1, 0x8
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setVisibility(I)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updatePrefixTextViewPadding()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateDummyDrawables()Z
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setSuffixText(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     move-object v0, p1
 | |
| 
 | |
|     :goto_0
 | |
|     iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixText:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateSuffixTextVisibility()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setSuffixTextAppearance(I)V
 | |
|     .locals 1
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-static {v0, p1}, Landroidx/core/widget/TextViewCompat;->E(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setSuffixTextColor(Landroid/content/res/ColorStateList;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/res/ColorStateList;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->suffixTextView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setTextAppearanceCompatWithErrorFallback(Landroid/widget/TextView;I)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/widget/TextView;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 1
 | |
|     :try_start_0
 | |
|     invoke-static {p1, p2}, Landroidx/core/widget/TextViewCompat;->E(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-virtual {p2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
 | |
| 
 | |
|     move-result p2
 | |
|     :try_end_0
 | |
|     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     const v1, -0xff01
 | |
| 
 | |
|     if-ne p2, v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     move v0, p2
 | |
| 
 | |
|     :catch_0
 | |
|     :goto_0
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 3
 | |
|     sget p2, Lcom/google/android/material/R$style;->TextAppearance_AppCompat_Caption:I
 | |
| 
 | |
|     invoke-static {p1, p2}, Landroidx/core/widget/TextViewCompat;->E(Landroid/widget/TextView;I)V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     sget v0, Lcom/google/android/material/R$color;->design_error:I
 | |
| 
 | |
|     invoke-static {p2, v0}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setTextInputAccessibilityDelegate(Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {v0, p1}, Landroidx/core/view/ViewCompat;->B1(Landroid/view/View;Landroidx/core/view/a;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setTypeface(Landroid/graphics/Typeface;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/graphics/Typeface;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->typeface:Landroid/graphics/Typeface;
 | |
| 
 | |
|     if-eq p1, v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->typeface:Landroid/graphics/Typeface;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->collapsingTextHelper:Lcom/google/android/material/internal/CollapsingTextHelper;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->setTypefaces(Landroid/graphics/Typeface;)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->setTypefaces(Landroid/graphics/Typeface;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public updateCounter(I)V
 | |
|     .locals 8
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     .line 4
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     const/4 v3, -0x1
 | |
| 
 | |
|     if-ne v1, v3, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-virtual {p1, v1}, Landroid/widget/TextView;->setContentDescription(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 7
 | |
|     iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     if-le p1, v1, :cond_1
 | |
| 
 | |
|     move v1, v3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 8
 | |
|     :goto_0
 | |
|     iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     iget v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     iget-boolean v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {v1, v4, p1, v5, v6}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterContentDescription(Landroid/content/Context;Landroid/widget/TextView;IIZ)V
 | |
| 
 | |
|     .line 11
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eq v0, v1, :cond_2
 | |
| 
 | |
|     .line 12
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateCounterTextAppearanceAndColor()V
 | |
| 
 | |
|     .line 13
 | |
|     :cond_2
 | |
|     invoke-static {}, Lp1/a;->c()Lp1/a;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v5
 | |
| 
 | |
|     sget v6, Lcom/google/android/material/R$string;->character_counter_pattern:I
 | |
| 
 | |
|     const/4 v7, 0x2
 | |
| 
 | |
|     new-array v7, v7, [Ljava/lang/Object;
 | |
| 
 | |
|     .line 16
 | |
|     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     aput-object p1, v7, v2
 | |
| 
 | |
|     iget p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterMaxLength:I
 | |
| 
 | |
|     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     aput-object p1, v7, v3
 | |
| 
 | |
|     invoke-virtual {v5, v6, v7}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {v1, p1}, Lp1/a;->q(Ljava/lang/String;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v4, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 19
 | |
|     :goto_1
 | |
|     iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz p1, :cond_3
 | |
| 
 | |
|     iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eq v0, p1, :cond_3
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {p0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(Z)V
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateTextInputBoxState()V
 | |
| 
 | |
|     .line 22
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->updateEditTextBackground()V
 | |
| 
 | |
|     :cond_3
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public updateEditTextBackground()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_5
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->getBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     invoke-static {v0}, Landroidx/appcompat/widget/p;->a(Landroid/graphics/drawable/Drawable;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_2
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v1}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     sget-object v2, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {v1, v2}, Landroidx/appcompat/widget/f;->e(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_3
 | |
|     iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v1}, Landroid/widget/TextView;->getCurrentTextColor()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     sget-object v2, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     .line 12
 | |
|     invoke-static {v1, v2}, Landroidx/appcompat/widget/f;->e(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 13
 | |
|     invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 14
 | |
|     :cond_4
 | |
|     invoke-static {v0}, Ld1/c;->c(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 15
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->refreshDrawableState()V
 | |
| 
 | |
|     :cond_5
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public updateLabelState(Z)V
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->updateLabelState(ZZ)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public updateTextInputBoxState()V
 | |
|     .locals 6
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackground:Lcom/google/android/material/shape/MaterialShapeDrawable;
 | |
| 
 | |
|     if-eqz v0, :cond_13
 | |
| 
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     goto/16 :goto_7
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isFocused()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-nez v0, :cond_2
 | |
| 
 | |
|     iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/EditText;->hasFocus()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_1
 | |
|     move v0, v1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     move v0, v2
 | |
| 
 | |
|     .line 3
 | |
|     :goto_1
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isHovered()Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-nez v3, :cond_4
 | |
| 
 | |
|     iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->editText:Landroid/widget/EditText;
 | |
| 
 | |
|     if-eqz v3, :cond_3
 | |
| 
 | |
|     invoke-virtual {v3}, Landroid/widget/EditText;->isHovered()Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_3
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     move v3, v1
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_4
 | |
|     :goto_2
 | |
|     move v3, v2
 | |
| 
 | |
|     .line 4
 | |
|     :goto_3
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-nez v4, :cond_5
 | |
| 
 | |
|     .line 5
 | |
|     iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledColor:I
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     .line 6
 | |
|     :cond_5
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v4}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_7
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v4, :cond_6
 | |
| 
 | |
|     .line 8
 | |
|     invoke-direct {p0, v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->updateStrokeErrorColor(ZZ)V
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     .line 9
 | |
|     :cond_6
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v4}, Lcom/google/android/material/textfield/IndicatorViewController;->getErrorViewCurrentTextColor()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     .line 10
 | |
|     :cond_7
 | |
|     iget-boolean v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterOverflowed:Z
 | |
| 
 | |
|     if-eqz v4, :cond_9
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->counterView:Landroid/widget/TextView;
 | |
| 
 | |
|     if-eqz v4, :cond_9
 | |
| 
 | |
|     .line 11
 | |
|     iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->strokeErrorColor:Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     if-eqz v5, :cond_8
 | |
| 
 | |
|     .line 12
 | |
|     invoke-direct {p0, v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->updateStrokeErrorColor(ZZ)V
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     .line 13
 | |
|     :cond_8
 | |
|     invoke-virtual {v4}, Landroid/widget/TextView;->getCurrentTextColor()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_9
 | |
|     if-eqz v0, :cond_a
 | |
| 
 | |
|     .line 14
 | |
|     iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedStrokeColor:I
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_a
 | |
|     if-eqz v3, :cond_b
 | |
| 
 | |
|     .line 15
 | |
|     iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredStrokeColor:I
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     .line 16
 | |
|     :cond_b
 | |
|     iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultStrokeColor:I
 | |
| 
 | |
|     iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeColor:I
 | |
| 
 | |
|     .line 17
 | |
|     :goto_4
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getErrorIconDrawable()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v4
 | |
| 
 | |
|     if-eqz v4, :cond_c
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 18
 | |
|     invoke-virtual {v4}, Lcom/google/android/material/textfield/IndicatorViewController;->isErrorEnabled()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_c
 | |
| 
 | |
|     iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     .line 19
 | |
|     invoke-virtual {v4}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_c
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 20
 | |
|     :cond_c
 | |
|     invoke-direct {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorIconVisible(Z)V
 | |
| 
 | |
|     .line 21
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshErrorIconDrawableState()V
 | |
| 
 | |
|     .line 22
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshStartIconDrawableState()V
 | |
| 
 | |
|     .line 23
 | |
|     invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->refreshEndIconDrawableState()V
 | |
| 
 | |
|     .line 24
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconDelegate()Lcom/google/android/material/textfield/EndIconDelegate;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v1}, Lcom/google/android/material/textfield/EndIconDelegate;->shouldTintIconOnError()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_d
 | |
| 
 | |
|     .line 25
 | |
|     iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->indicatorViewController:Lcom/google/android/material/textfield/IndicatorViewController;
 | |
| 
 | |
|     invoke-virtual {v1}, Lcom/google/android/material/textfield/IndicatorViewController;->errorShouldBeShown()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-direct {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->tintEndIconOnError(Z)V
 | |
| 
 | |
|     :cond_d
 | |
|     if-eqz v0, :cond_e
 | |
| 
 | |
|     .line 26
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_e
 | |
| 
 | |
|     .line 27
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthFocusedPx:I
 | |
| 
 | |
|     iput v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     .line 28
 | |
|     :cond_e
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthDefaultPx:I
 | |
| 
 | |
|     iput v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxStrokeWidthPx:I
 | |
| 
 | |
|     .line 29
 | |
|     :goto_5
 | |
|     iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundMode:I
 | |
| 
 | |
|     if-ne v1, v2, :cond_12
 | |
| 
 | |
|     .line 30
 | |
|     invoke-virtual {p0}, Landroid/widget/LinearLayout;->isEnabled()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-nez v1, :cond_f
 | |
| 
 | |
|     .line 31
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->disabledFilledBackgroundColor:I
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     :cond_f
 | |
|     if-eqz v3, :cond_10
 | |
| 
 | |
|     if-nez v0, :cond_10
 | |
| 
 | |
|     .line 32
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->hoveredFilledBackgroundColor:I
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     :cond_10
 | |
|     if-eqz v0, :cond_11
 | |
| 
 | |
|     .line 33
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->focusedFilledBackgroundColor:I
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     .line 34
 | |
|     :cond_11
 | |
|     iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->defaultFilledBackgroundColor:I
 | |
| 
 | |
|     iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->boxBackgroundColor:I
 | |
| 
 | |
|     .line 35
 | |
|     :cond_12
 | |
|     :goto_6
 | |
|     invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->applyBoxAttributes()V
 | |
| 
 | |
|     :cond_13
 | |
|     :goto_7
 | |
|     return-void
 | |
| .end method
 |