* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
19148 lines
447 KiB
Smali
19148 lines
447 KiB
Smali
.class public Lcom/google/android/material/textfield/TextInputLayout;
|
|
.super Landroid/widget/LinearLayout;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;,
|
|
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 H0:I
|
|
|
|
.field public static final I0:[[I
|
|
|
|
|
|
# instance fields
|
|
.field public A:I
|
|
|
|
.field public final A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.field public B:Landroidx/transition/Fade;
|
|
|
|
.field public B0:Z
|
|
|
|
.field public C:Landroidx/transition/Fade;
|
|
|
|
.field public C0:Z
|
|
|
|
.field public D:Landroid/content/res/ColorStateList;
|
|
|
|
.field public D0:Landroid/animation/ValueAnimator;
|
|
|
|
.field public E:Landroid/content/res/ColorStateList;
|
|
|
|
.field public E0:Z
|
|
|
|
.field public F:Landroid/content/res/ColorStateList;
|
|
|
|
.field public F0:Z
|
|
|
|
.field public G:Landroid/content/res/ColorStateList;
|
|
|
|
.field public G0:Z
|
|
|
|
.field public H:Z
|
|
|
|
.field public I:Ljava/lang/CharSequence;
|
|
|
|
.field public J:Z
|
|
|
|
.field public K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.field public L:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.field public M:Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.field public N:Z
|
|
|
|
.field public O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.field public P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.field public Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.field public R:Z
|
|
|
|
.field public final S:I
|
|
|
|
.field public T:I
|
|
|
|
.field public U:I
|
|
|
|
.field public V:I
|
|
|
|
.field public W:I
|
|
|
|
.field public a0:I
|
|
|
|
.field public b0:I
|
|
|
|
.field public final c:Landroid/widget/FrameLayout;
|
|
|
|
.field public c0:I
|
|
|
|
.field public final d0:Landroid/graphics/Rect;
|
|
|
|
.field public final e0:Landroid/graphics/Rect;
|
|
|
|
.field public final f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.field public final f0:Landroid/graphics/RectF;
|
|
|
|
.field public final g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.field public g0:Landroid/graphics/Typeface;
|
|
|
|
.field public final h:I
|
|
|
|
.field public h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.field public i:Landroid/widget/EditText;
|
|
|
|
.field public i0:I
|
|
|
|
.field public j:Ljava/lang/CharSequence;
|
|
|
|
.field public final j0:Ljava/util/LinkedHashSet;
|
|
|
|
.field public k:I
|
|
|
|
.field public k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.field public l:I
|
|
|
|
.field public l0:I
|
|
|
|
.field public m:I
|
|
|
|
.field public m0:Landroid/graphics/drawable/Drawable;
|
|
|
|
.field public n:I
|
|
|
|
.field public n0:Landroid/content/res/ColorStateList;
|
|
|
|
.field public final o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.field public o0:Landroid/content/res/ColorStateList;
|
|
|
|
.field public p:Z
|
|
|
|
.field public p0:I
|
|
|
|
.field public q:I
|
|
|
|
.field public q0:I
|
|
|
|
.field public r:Z
|
|
|
|
.field public r0:I
|
|
|
|
.field public s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.field public s0:Landroid/content/res/ColorStateList;
|
|
|
|
.field public t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.field public t0:I
|
|
|
|
.field public u:I
|
|
|
|
.field public u0:I
|
|
|
|
.field public v:I
|
|
|
|
.field public v0:I
|
|
|
|
.field public w:Ljava/lang/CharSequence;
|
|
|
|
.field public w0:I
|
|
|
|
.field public x:Z
|
|
|
|
.field public x0:I
|
|
|
|
.field public y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.field public y0:I
|
|
|
|
.field public z:Landroid/content/res/ColorStateList;
|
|
|
|
.field public z0:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
sget v0, Lcom/google/android/material/R$style;->Widget_Design_TextInputLayout:I
|
|
|
|
.line 2
|
|
.line 3
|
|
sput v0, Lcom/google/android/material/textfield/TextInputLayout;->H0:I
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
new-array v1, v0, [I
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 v2, 0x2
|
|
|
|
.line 9
|
|
new-array v2, v2, [[I
|
|
|
|
.line 10
|
|
.line 11
|
|
const v3, 0x10100a7
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
filled-new-array {v3}, [I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v3
|
|
|
|
.line 18
|
|
aput-object v3, v2, v0
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v0, 0x1
|
|
|
|
.line 21
|
|
aput-object v1, v2, v0
|
|
|
|
.line 22
|
|
.line 23
|
|
sput-object v2, Lcom/google/android/material/textfield/TextInputLayout;->I0:[[I
|
|
|
|
.line 24
|
|
.line 25
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 17
|
|
.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 1
|
|
move-object/from16 v0, p0
|
|
|
|
.line 2
|
|
.line 3
|
|
move-object/from16 v2, p2
|
|
|
|
.line 4
|
|
.line 5
|
|
sget v4, Lcom/google/android/material/R$attr;->textInputStyle:I
|
|
|
|
.line 6
|
|
.line 7
|
|
sget v5, Lcom/google/android/material/textfield/TextInputLayout;->H0:I
|
|
|
|
.line 8
|
|
.line 9
|
|
move-object/from16 v1, p1
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {v1, v2, v4, v5}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v1
|
|
|
|
.line 15
|
|
invoke-direct {v0, v1, v2, v4}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
const/4 v7, -0x1
|
|
|
|
.line 19
|
|
iput v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->k:I
|
|
|
|
.line 20
|
|
.line 21
|
|
iput v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->l:I
|
|
|
|
.line 22
|
|
.line 23
|
|
iput v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->m:I
|
|
|
|
.line 24
|
|
.line 25
|
|
iput v7, v0, Lcom/google/android/material/textfield/TextInputLayout;->n:I
|
|
|
|
.line 26
|
|
.line 27
|
|
new-instance v1, Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-direct {v1, v0}, Lcom/google/android/material/textfield/IndicatorViewController;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 33
|
|
.line 34
|
|
new-instance v1, Lcom/google/android/gms/internal/ads/e;
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.line 40
|
|
.line 41
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->d0:Landroid/graphics/Rect;
|
|
|
|
.line 47
|
|
.line 48
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->e0:Landroid/graphics/Rect;
|
|
|
|
.line 54
|
|
.line 55
|
|
new-instance v1, Landroid/graphics/RectF;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-direct {v1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 61
|
|
.line 62
|
|
new-instance v1, Ljava/util/LinkedHashSet;
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->j0:Ljava/util/LinkedHashSet;
|
|
|
|
.line 68
|
|
.line 69
|
|
new-instance v1, Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-direct {v1, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 75
|
|
.line 76
|
|
const/4 v8, 0x0
|
|
|
|
.line 77
|
|
iput-boolean v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->G0:Z
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object v3
|
|
|
|
.line 83
|
|
const/4 v9, 0x1
|
|
|
|
.line 84
|
|
invoke-virtual {v0, v9}, Landroid/widget/LinearLayout;->setOrientation(I)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {v0, v8}, Landroid/view/View;->setWillNotDraw(Z)V
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {v0, v9}, Landroid/view/ViewGroup;->setAddStatesFromChildren(Z)V
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
new-instance v10, Landroid/widget/FrameLayout;
|
|
|
|
.line 94
|
|
.line 95
|
|
invoke-direct {v10, v3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
iput-object v10, v0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 99
|
|
.line 100
|
|
invoke-virtual {v10, v9}, Landroid/view/ViewGroup;->setAddStatesFromChildren(Z)V
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
sget-object v6, Lcom/google/android/material/animation/AnimationUtils;->a:Landroid/view/animation/LinearInterpolator;
|
|
|
|
.line 104
|
|
.line 105
|
|
iput-object v6, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->R:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {v1, v8}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
iput-object v6, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Q:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-virtual {v1, v8}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
iget v6, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 116
|
|
.line 117
|
|
const v11, 0x800033
|
|
|
|
.line 118
|
|
.line 119
|
|
.line 120
|
|
if-eq v6, v11, :cond_0
|
|
|
|
.line 121
|
|
.line 122
|
|
iput v11, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 123
|
|
.line 124
|
|
invoke-virtual {v1, v8}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
:cond_0
|
|
sget-object v1, Lcom/google/android/material/R$styleable;->TextInputLayout:[I
|
|
|
|
.line 128
|
|
.line 129
|
|
sget v6, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextAppearance:I
|
|
|
|
.line 130
|
|
.line 131
|
|
sget v11, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextAppearance:I
|
|
|
|
.line 132
|
|
.line 133
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextAppearance:I
|
|
|
|
.line 134
|
|
.line 135
|
|
sget v13, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextAppearance:I
|
|
|
|
.line 136
|
|
.line 137
|
|
sget v14, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextAppearance:I
|
|
|
|
.line 138
|
|
.line 139
|
|
filled-new-array {v6, v11, v12, v13, v14}, [I
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
move-result-object v6
|
|
|
|
.line 143
|
|
invoke-static {v3, v2, v4, v5}, Lcom/google/android/material/internal/ThemeEnforcement;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
move-object/from16 v16, v3
|
|
|
|
.line 147
|
|
.line 148
|
|
move-object v3, v1
|
|
|
|
.line 149
|
|
move-object/from16 v1, v16
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-static/range {v1 .. v6}, Lcom/google/android/material/internal/ThemeEnforcement;->b(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)V
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
new-instance v6, Landroidx/appcompat/widget/TintTypedArray;
|
|
|
|
.line 155
|
|
.line 156
|
|
invoke-virtual {v1, v2, v3, v4, v5}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
.line 157
|
|
.line 158
|
|
.line 159
|
|
move-result-object v3
|
|
|
|
.line 160
|
|
invoke-direct {v6, v1, v3}, Landroidx/appcompat/widget/TintTypedArray;-><init>(Landroid/content/Context;Landroid/content/res/TypedArray;)V
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
new-instance v11, Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 164
|
|
.line 165
|
|
invoke-direct {v11, v0, v6}, Lcom/google/android/material/textfield/StartCompoundLayout;-><init>(Lcom/google/android/material/textfield/TextInputLayout;Landroidx/appcompat/widget/TintTypedArray;)V
|
|
|
|
.line 166
|
|
.line 167
|
|
.line 168
|
|
iput-object v11, v0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 169
|
|
.line 170
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_hintEnabled:I
|
|
|
|
.line 171
|
|
.line 172
|
|
invoke-virtual {v3, v12, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
move-result v12
|
|
|
|
.line 176
|
|
iput-boolean v12, v0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 177
|
|
.line 178
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_hint:I
|
|
|
|
.line 179
|
|
.line 180
|
|
invoke-virtual {v3, v12}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
.line 181
|
|
.line 182
|
|
.line 183
|
|
move-result-object v12
|
|
|
|
.line 184
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 185
|
|
.line 186
|
|
.line 187
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_hintAnimationEnabled:I
|
|
|
|
.line 188
|
|
.line 189
|
|
invoke-virtual {v3, v12, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 190
|
|
.line 191
|
|
.line 192
|
|
move-result v12
|
|
|
|
.line 193
|
|
iput-boolean v12, v0, Lcom/google/android/material/textfield/TextInputLayout;->C0:Z
|
|
|
|
.line 194
|
|
.line 195
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_expandedHintEnabled:I
|
|
|
|
.line 196
|
|
.line 197
|
|
invoke-virtual {v3, v12, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 198
|
|
.line 199
|
|
.line 200
|
|
move-result v12
|
|
|
|
.line 201
|
|
iput-boolean v12, v0, Lcom/google/android/material/textfield/TextInputLayout;->B0:Z
|
|
|
|
.line 202
|
|
.line 203
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_minEms:I
|
|
|
|
.line 204
|
|
.line 205
|
|
invoke-virtual {v3, v12}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
move-result v12
|
|
|
|
.line 209
|
|
if-eqz v12, :cond_1
|
|
|
|
.line 210
|
|
.line 211
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_minEms:I
|
|
|
|
.line 212
|
|
.line 213
|
|
invoke-virtual {v3, v12, v7}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 214
|
|
.line 215
|
|
.line 216
|
|
move-result v12
|
|
|
|
.line 217
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setMinEms(I)V
|
|
|
|
.line 218
|
|
.line 219
|
|
.line 220
|
|
goto :goto_0
|
|
|
|
.line 221
|
|
:cond_1
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_minWidth:I
|
|
|
|
.line 222
|
|
.line 223
|
|
invoke-virtual {v3, v12}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 224
|
|
.line 225
|
|
.line 226
|
|
move-result v12
|
|
|
|
.line 227
|
|
if-eqz v12, :cond_2
|
|
|
|
.line 228
|
|
.line 229
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_minWidth:I
|
|
|
|
.line 230
|
|
.line 231
|
|
invoke-virtual {v3, v12, v7}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 232
|
|
.line 233
|
|
.line 234
|
|
move-result v12
|
|
|
|
.line 235
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setMinWidth(I)V
|
|
|
|
.line 236
|
|
.line 237
|
|
.line 238
|
|
:cond_2
|
|
:goto_0
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_maxEms:I
|
|
|
|
.line 239
|
|
.line 240
|
|
invoke-virtual {v3, v12}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
move-result v12
|
|
|
|
.line 244
|
|
if-eqz v12, :cond_3
|
|
|
|
.line 245
|
|
.line 246
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_maxEms:I
|
|
|
|
.line 247
|
|
.line 248
|
|
invoke-virtual {v3, v12, v7}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 249
|
|
.line 250
|
|
.line 251
|
|
move-result v12
|
|
|
|
.line 252
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setMaxEms(I)V
|
|
|
|
.line 253
|
|
.line 254
|
|
.line 255
|
|
goto :goto_1
|
|
|
|
.line 256
|
|
:cond_3
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_maxWidth:I
|
|
|
|
.line 257
|
|
.line 258
|
|
invoke-virtual {v3, v12}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 259
|
|
.line 260
|
|
.line 261
|
|
move-result v12
|
|
|
|
.line 262
|
|
if-eqz v12, :cond_4
|
|
|
|
.line 263
|
|
.line 264
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_android_maxWidth:I
|
|
|
|
.line 265
|
|
.line 266
|
|
invoke-virtual {v3, v12, v7}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 267
|
|
.line 268
|
|
.line 269
|
|
move-result v12
|
|
|
|
.line 270
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setMaxWidth(I)V
|
|
|
|
.line 271
|
|
.line 272
|
|
.line 273
|
|
:cond_4
|
|
:goto_1
|
|
invoke-static {v1, v2, v4, v5}, Lcom/google/android/material/shape/ShapeAppearanceModel;->c(Landroid/content/Context;Landroid/util/AttributeSet;II)Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 274
|
|
.line 275
|
|
.line 276
|
|
move-result-object v2
|
|
|
|
.line 277
|
|
invoke-virtual {v2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 278
|
|
.line 279
|
|
.line 280
|
|
move-result-object v2
|
|
|
|
.line 281
|
|
iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 282
|
|
.line 283
|
|
invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 284
|
|
.line 285
|
|
.line 286
|
|
move-result-object v2
|
|
|
|
.line 287
|
|
sget v4, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_label_cutout_padding:I
|
|
|
|
.line 288
|
|
.line 289
|
|
invoke-virtual {v2, v4}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
.line 290
|
|
.line 291
|
|
.line 292
|
|
move-result v2
|
|
|
|
.line 293
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->S:I
|
|
|
|
.line 294
|
|
.line 295
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCollapsedPaddingTop:I
|
|
|
|
.line 296
|
|
.line 297
|
|
invoke-virtual {v3, v2, v8}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
.line 298
|
|
.line 299
|
|
.line 300
|
|
move-result v2
|
|
|
|
.line 301
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 302
|
|
.line 303
|
|
invoke-virtual {v0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 304
|
|
.line 305
|
|
.line 306
|
|
move-result-object v2
|
|
|
|
.line 307
|
|
sget v4, Lcom/google/android/material/R$dimen;->m3_multiline_hint_filled_text_extra_space:I
|
|
|
|
.line 308
|
|
.line 309
|
|
invoke-virtual {v2, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 310
|
|
.line 311
|
|
.line 312
|
|
move-result v2
|
|
|
|
.line 313
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->h:I
|
|
|
|
.line 314
|
|
.line 315
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeWidth:I
|
|
|
|
.line 316
|
|
.line 317
|
|
invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 318
|
|
.line 319
|
|
.line 320
|
|
move-result-object v4
|
|
|
|
.line 321
|
|
sget v5, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_stroke_width_default:I
|
|
|
|
.line 322
|
|
.line 323
|
|
invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 324
|
|
.line 325
|
|
.line 326
|
|
move-result v4
|
|
|
|
.line 327
|
|
invoke-virtual {v3, v2, v4}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 328
|
|
.line 329
|
|
.line 330
|
|
move-result v2
|
|
|
|
.line 331
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 332
|
|
.line 333
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeWidthFocused:I
|
|
|
|
.line 334
|
|
.line 335
|
|
invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 336
|
|
.line 337
|
|
.line 338
|
|
move-result-object v4
|
|
|
|
.line 339
|
|
sget v5, Lcom/google/android/material/R$dimen;->mtrl_textinput_box_stroke_width_focused:I
|
|
|
|
.line 340
|
|
.line 341
|
|
invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 342
|
|
.line 343
|
|
.line 344
|
|
move-result v4
|
|
|
|
.line 345
|
|
invoke-virtual {v3, v2, v4}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
.line 346
|
|
.line 347
|
|
.line 348
|
|
move-result v2
|
|
|
|
.line 349
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->a0:I
|
|
|
|
.line 350
|
|
.line 351
|
|
iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 352
|
|
.line 353
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 354
|
|
.line 355
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusTopStart:I
|
|
|
|
.line 356
|
|
.line 357
|
|
const/high16 v4, -0x40800000 # -1.0f
|
|
|
|
.line 358
|
|
.line 359
|
|
invoke-virtual {v3, v2, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
.line 360
|
|
.line 361
|
|
.line 362
|
|
move-result v2
|
|
|
|
.line 363
|
|
sget v5, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusTopEnd:I
|
|
|
|
.line 364
|
|
.line 365
|
|
invoke-virtual {v3, v5, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
.line 366
|
|
.line 367
|
|
.line 368
|
|
move-result v5
|
|
|
|
.line 369
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusBottomEnd:I
|
|
|
|
.line 370
|
|
.line 371
|
|
invoke-virtual {v3, v12, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
.line 372
|
|
.line 373
|
|
.line 374
|
|
move-result v12
|
|
|
|
.line 375
|
|
sget v13, Lcom/google/android/material/R$styleable;->TextInputLayout_boxCornerRadiusBottomStart:I
|
|
|
|
.line 376
|
|
.line 377
|
|
invoke-virtual {v3, v13, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
.line 378
|
|
.line 379
|
|
.line 380
|
|
move-result v4
|
|
|
|
.line 381
|
|
iget-object v13, v0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 382
|
|
.line 383
|
|
invoke-virtual {v13}, Lcom/google/android/material/shape/ShapeAppearanceModel;->g()Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 384
|
|
.line 385
|
|
.line 386
|
|
move-result-object v13
|
|
|
|
.line 387
|
|
const/4 v14, 0x0
|
|
|
|
.line 388
|
|
cmpl-float v15, v2, v14
|
|
|
|
.line 389
|
|
.line 390
|
|
if-ltz v15, :cond_5
|
|
|
|
.line 391
|
|
.line 392
|
|
invoke-virtual {v13, v2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->d(F)V
|
|
|
|
.line 393
|
|
.line 394
|
|
.line 395
|
|
:cond_5
|
|
cmpl-float v2, v5, v14
|
|
|
|
.line 396
|
|
.line 397
|
|
if-ltz v2, :cond_6
|
|
|
|
.line 398
|
|
.line 399
|
|
invoke-virtual {v13, v5}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->e(F)V
|
|
|
|
.line 400
|
|
.line 401
|
|
.line 402
|
|
:cond_6
|
|
cmpl-float v2, v12, v14
|
|
|
|
.line 403
|
|
.line 404
|
|
if-ltz v2, :cond_7
|
|
|
|
.line 405
|
|
.line 406
|
|
invoke-virtual {v13, v12}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->c(F)V
|
|
|
|
.line 407
|
|
.line 408
|
|
.line 409
|
|
:cond_7
|
|
cmpl-float v2, v4, v14
|
|
|
|
.line 410
|
|
.line 411
|
|
if-ltz v2, :cond_8
|
|
|
|
.line 412
|
|
.line 413
|
|
invoke-virtual {v13, v4}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->b(F)V
|
|
|
|
.line 414
|
|
.line 415
|
|
.line 416
|
|
:cond_8
|
|
invoke-virtual {v13}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 417
|
|
.line 418
|
|
.line 419
|
|
move-result-object v2
|
|
|
|
.line 420
|
|
iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 421
|
|
.line 422
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxBackgroundColor:I
|
|
|
|
.line 423
|
|
.line 424
|
|
invoke-static {v1, v6, v2}, Lcom/google/android/material/resources/MaterialResources;->b(Landroid/content/Context;Landroidx/appcompat/widget/TintTypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 425
|
|
.line 426
|
|
.line 427
|
|
move-result-object v2
|
|
|
|
.line 428
|
|
if-eqz v2, :cond_a
|
|
|
|
.line 429
|
|
.line 430
|
|
invoke-virtual {v2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 431
|
|
.line 432
|
|
.line 433
|
|
move-result v4
|
|
|
|
.line 434
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 435
|
|
.line 436
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 437
|
|
.line 438
|
|
invoke-virtual {v2}, Landroid/content/res/ColorStateList;->isStateful()Z
|
|
|
|
.line 439
|
|
.line 440
|
|
.line 441
|
|
move-result v4
|
|
|
|
.line 442
|
|
const v5, 0x1010367
|
|
|
|
.line 443
|
|
.line 444
|
|
.line 445
|
|
const v12, -0x101009e
|
|
|
|
.line 446
|
|
.line 447
|
|
.line 448
|
|
if-eqz v4, :cond_9
|
|
|
|
.line 449
|
|
.line 450
|
|
filled-new-array {v12}, [I
|
|
|
|
.line 451
|
|
.line 452
|
|
.line 453
|
|
move-result-object v4
|
|
|
|
.line 454
|
|
invoke-virtual {v2, v4, v7}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 455
|
|
.line 456
|
|
.line 457
|
|
move-result v4
|
|
|
|
.line 458
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->u0:I
|
|
|
|
.line 459
|
|
.line 460
|
|
const v4, 0x101009c
|
|
|
|
.line 461
|
|
.line 462
|
|
.line 463
|
|
const v12, 0x101009e
|
|
|
|
.line 464
|
|
.line 465
|
|
.line 466
|
|
filled-new-array {v4, v12}, [I
|
|
|
|
.line 467
|
|
.line 468
|
|
.line 469
|
|
move-result-object v4
|
|
|
|
.line 470
|
|
invoke-virtual {v2, v4, v7}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 471
|
|
.line 472
|
|
.line 473
|
|
move-result v4
|
|
|
|
.line 474
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 475
|
|
.line 476
|
|
filled-new-array {v5, v12}, [I
|
|
|
|
.line 477
|
|
.line 478
|
|
.line 479
|
|
move-result-object v4
|
|
|
|
.line 480
|
|
invoke-virtual {v2, v4, v7}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 481
|
|
.line 482
|
|
.line 483
|
|
move-result v2
|
|
|
|
.line 484
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 485
|
|
.line 486
|
|
goto :goto_2
|
|
|
|
.line 487
|
|
:cond_9
|
|
iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 488
|
|
.line 489
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 490
|
|
.line 491
|
|
sget v2, Lcom/google/android/material/R$color;->mtrl_filled_background_color:I
|
|
|
|
.line 492
|
|
.line 493
|
|
invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 494
|
|
.line 495
|
|
.line 496
|
|
move-result-object v4
|
|
|
|
.line 497
|
|
invoke-virtual {v1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
.line 498
|
|
.line 499
|
|
.line 500
|
|
move-result-object v13
|
|
|
|
.line 501
|
|
invoke-static {v2, v13, v4}, Landroidx/core/content/res/ResourcesCompat;->b(ILandroid/content/res/Resources$Theme;Landroid/content/res/Resources;)Landroid/content/res/ColorStateList;
|
|
|
|
.line 502
|
|
.line 503
|
|
.line 504
|
|
move-result-object v2
|
|
|
|
.line 505
|
|
filled-new-array {v12}, [I
|
|
|
|
.line 506
|
|
.line 507
|
|
.line 508
|
|
move-result-object v4
|
|
|
|
.line 509
|
|
invoke-virtual {v2, v4, v7}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 510
|
|
.line 511
|
|
.line 512
|
|
move-result v4
|
|
|
|
.line 513
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->u0:I
|
|
|
|
.line 514
|
|
.line 515
|
|
filled-new-array {v5}, [I
|
|
|
|
.line 516
|
|
.line 517
|
|
.line 518
|
|
move-result-object v4
|
|
|
|
.line 519
|
|
invoke-virtual {v2, v4, v7}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 520
|
|
.line 521
|
|
.line 522
|
|
move-result v2
|
|
|
|
.line 523
|
|
iput v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 524
|
|
.line 525
|
|
goto :goto_2
|
|
|
|
.line 526
|
|
:cond_a
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 527
|
|
.line 528
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 529
|
|
.line 530
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->u0:I
|
|
|
|
.line 531
|
|
.line 532
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 533
|
|
.line 534
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 535
|
|
.line 536
|
|
:goto_2
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_textColorHint:I
|
|
|
|
.line 537
|
|
.line 538
|
|
invoke-virtual {v3, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 539
|
|
.line 540
|
|
.line 541
|
|
move-result v2
|
|
|
|
.line 542
|
|
if-eqz v2, :cond_b
|
|
|
|
.line 543
|
|
.line 544
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_textColorHint:I
|
|
|
|
.line 545
|
|
.line 546
|
|
invoke-virtual {v6, v2}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 547
|
|
.line 548
|
|
.line 549
|
|
move-result-object v2
|
|
|
|
.line 550
|
|
iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 551
|
|
.line 552
|
|
iput-object v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 553
|
|
.line 554
|
|
:cond_b
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeColor:I
|
|
|
|
.line 555
|
|
.line 556
|
|
invoke-static {v1, v6, v2}, Lcom/google/android/material/resources/MaterialResources;->b(Landroid/content/Context;Landroidx/appcompat/widget/TintTypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 557
|
|
.line 558
|
|
.line 559
|
|
move-result-object v2
|
|
|
|
.line 560
|
|
sget v4, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeColor:I
|
|
|
|
.line 561
|
|
.line 562
|
|
invoke-virtual {v3, v4, v8}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
.line 563
|
|
.line 564
|
|
.line 565
|
|
move-result v4
|
|
|
|
.line 566
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 567
|
|
.line 568
|
|
sget v4, Lcom/google/android/material/R$color;->mtrl_textinput_default_box_stroke_color:I
|
|
|
|
.line 569
|
|
.line 570
|
|
invoke-virtual {v1, v4}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 571
|
|
.line 572
|
|
.line 573
|
|
move-result v4
|
|
|
|
.line 574
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->p0:I
|
|
|
|
.line 575
|
|
.line 576
|
|
sget v4, Lcom/google/android/material/R$color;->mtrl_textinput_disabled_color:I
|
|
|
|
.line 577
|
|
.line 578
|
|
invoke-virtual {v1, v4}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 579
|
|
.line 580
|
|
.line 581
|
|
move-result v4
|
|
|
|
.line 582
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->x0:I
|
|
|
|
.line 583
|
|
.line 584
|
|
sget v4, Lcom/google/android/material/R$color;->mtrl_textinput_hovered_box_stroke_color:I
|
|
|
|
.line 585
|
|
.line 586
|
|
invoke-virtual {v1, v4}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 587
|
|
.line 588
|
|
.line 589
|
|
move-result v4
|
|
|
|
.line 590
|
|
iput v4, v0, Lcom/google/android/material/textfield/TextInputLayout;->q0:I
|
|
|
|
.line 591
|
|
.line 592
|
|
if-eqz v2, :cond_c
|
|
|
|
.line 593
|
|
.line 594
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeColorStateList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 595
|
|
.line 596
|
|
.line 597
|
|
:cond_c
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeErrorColor:I
|
|
|
|
.line 598
|
|
.line 599
|
|
invoke-virtual {v3, v2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 600
|
|
.line 601
|
|
.line 602
|
|
move-result v2
|
|
|
|
.line 603
|
|
if-eqz v2, :cond_d
|
|
|
|
.line 604
|
|
.line 605
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_boxStrokeErrorColor:I
|
|
|
|
.line 606
|
|
.line 607
|
|
invoke-static {v1, v6, v2}, Lcom/google/android/material/resources/MaterialResources;->b(Landroid/content/Context;Landroidx/appcompat/widget/TintTypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 608
|
|
.line 609
|
|
.line 610
|
|
move-result-object v1
|
|
|
|
.line 611
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeErrorColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 612
|
|
.line 613
|
|
.line 614
|
|
:cond_d
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextAppearance:I
|
|
|
|
.line 615
|
|
.line 616
|
|
invoke-virtual {v3, v1, v7}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 617
|
|
.line 618
|
|
.line 619
|
|
move-result v1
|
|
|
|
.line 620
|
|
if-eq v1, v7, :cond_e
|
|
|
|
.line 621
|
|
.line 622
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextAppearance:I
|
|
|
|
.line 623
|
|
.line 624
|
|
invoke-virtual {v3, v1, v8}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 625
|
|
.line 626
|
|
.line 627
|
|
move-result v1
|
|
|
|
.line 628
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setHintTextAppearance(I)V
|
|
|
|
.line 629
|
|
.line 630
|
|
.line 631
|
|
:cond_e
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_cursorColor:I
|
|
|
|
.line 632
|
|
.line 633
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 634
|
|
.line 635
|
|
.line 636
|
|
move-result-object v1
|
|
|
|
.line 637
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->F:Landroid/content/res/ColorStateList;
|
|
|
|
.line 638
|
|
.line 639
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_cursorErrorColor:I
|
|
|
|
.line 640
|
|
.line 641
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 642
|
|
.line 643
|
|
.line 644
|
|
move-result-object v1
|
|
|
|
.line 645
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->G:Landroid/content/res/ColorStateList;
|
|
|
|
.line 646
|
|
.line 647
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextAppearance:I
|
|
|
|
.line 648
|
|
.line 649
|
|
invoke-virtual {v3, v1, v8}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 650
|
|
.line 651
|
|
.line 652
|
|
move-result v1
|
|
|
|
.line 653
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_errorContentDescription:I
|
|
|
|
.line 654
|
|
.line 655
|
|
invoke-virtual {v3, v2}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
.line 656
|
|
.line 657
|
|
.line 658
|
|
move-result-object v2
|
|
|
|
.line 659
|
|
sget v4, Lcom/google/android/material/R$styleable;->TextInputLayout_errorAccessibilityLiveRegion:I
|
|
|
|
.line 660
|
|
.line 661
|
|
invoke-virtual {v3, v4, v9}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 662
|
|
.line 663
|
|
.line 664
|
|
move-result v4
|
|
|
|
.line 665
|
|
sget v5, Lcom/google/android/material/R$styleable;->TextInputLayout_errorEnabled:I
|
|
|
|
.line 666
|
|
.line 667
|
|
invoke-virtual {v3, v5, v8}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 668
|
|
.line 669
|
|
.line 670
|
|
move-result v5
|
|
|
|
.line 671
|
|
sget v12, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextAppearance:I
|
|
|
|
.line 672
|
|
.line 673
|
|
invoke-virtual {v3, v12, v8}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 674
|
|
.line 675
|
|
.line 676
|
|
move-result v12
|
|
|
|
.line 677
|
|
sget v13, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextEnabled:I
|
|
|
|
.line 678
|
|
.line 679
|
|
invoke-virtual {v3, v13, v8}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 680
|
|
.line 681
|
|
.line 682
|
|
move-result v13
|
|
|
|
.line 683
|
|
sget v14, Lcom/google/android/material/R$styleable;->TextInputLayout_helperText:I
|
|
|
|
.line 684
|
|
.line 685
|
|
invoke-virtual {v3, v14}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
.line 686
|
|
.line 687
|
|
.line 688
|
|
move-result-object v14
|
|
|
|
.line 689
|
|
sget v15, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderTextAppearance:I
|
|
|
|
.line 690
|
|
.line 691
|
|
invoke-virtual {v3, v15, v8}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 692
|
|
.line 693
|
|
.line 694
|
|
move-result v15
|
|
|
|
.line 695
|
|
sget v9, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderText:I
|
|
|
|
.line 696
|
|
.line 697
|
|
invoke-virtual {v3, v9}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
.line 698
|
|
.line 699
|
|
.line 700
|
|
move-result-object v9
|
|
|
|
.line 701
|
|
sget v7, Lcom/google/android/material/R$styleable;->TextInputLayout_counterEnabled:I
|
|
|
|
.line 702
|
|
.line 703
|
|
invoke-virtual {v3, v7, v8}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 704
|
|
.line 705
|
|
.line 706
|
|
move-result v7
|
|
|
|
.line 707
|
|
sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_counterMaxLength:I
|
|
|
|
.line 708
|
|
.line 709
|
|
move-object/from16 p2, v14
|
|
|
|
.line 710
|
|
.line 711
|
|
const/4 v14, -0x1
|
|
|
|
.line 712
|
|
invoke-virtual {v3, v8, v14}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 713
|
|
.line 714
|
|
.line 715
|
|
move-result v8
|
|
|
|
.line 716
|
|
invoke-virtual {v0, v8}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterMaxLength(I)V
|
|
|
|
.line 717
|
|
.line 718
|
|
.line 719
|
|
sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextAppearance:I
|
|
|
|
.line 720
|
|
.line 721
|
|
const/4 v14, 0x0
|
|
|
|
.line 722
|
|
invoke-virtual {v3, v8, v14}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 723
|
|
.line 724
|
|
.line 725
|
|
move-result v8
|
|
|
|
.line 726
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->v:I
|
|
|
|
.line 727
|
|
.line 728
|
|
sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextAppearance:I
|
|
|
|
.line 729
|
|
.line 730
|
|
invoke-virtual {v3, v8, v14}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 731
|
|
.line 732
|
|
.line 733
|
|
move-result v8
|
|
|
|
.line 734
|
|
iput v8, v0, Lcom/google/android/material/textfield/TextInputLayout;->u:I
|
|
|
|
.line 735
|
|
.line 736
|
|
sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_boxBackgroundMode:I
|
|
|
|
.line 737
|
|
.line 738
|
|
invoke-virtual {v3, v8, v14}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 739
|
|
.line 740
|
|
.line 741
|
|
move-result v8
|
|
|
|
.line 742
|
|
invoke-virtual {v0, v8}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxBackgroundMode(I)V
|
|
|
|
.line 743
|
|
.line 744
|
|
.line 745
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
.line 746
|
|
.line 747
|
|
.line 748
|
|
invoke-virtual {v0, v4}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorAccessibilityLiveRegion(I)V
|
|
|
|
.line 749
|
|
.line 750
|
|
.line 751
|
|
iget v2, v0, Lcom/google/android/material/textfield/TextInputLayout;->u:I
|
|
|
|
.line 752
|
|
.line 753
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterOverflowTextAppearance(I)V
|
|
|
|
.line 754
|
|
.line 755
|
|
.line 756
|
|
invoke-virtual {v0, v12}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextTextAppearance(I)V
|
|
|
|
.line 757
|
|
.line 758
|
|
.line 759
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorTextAppearance(I)V
|
|
|
|
.line 760
|
|
.line 761
|
|
.line 762
|
|
iget v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->v:I
|
|
|
|
.line 763
|
|
.line 764
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterTextAppearance(I)V
|
|
|
|
.line 765
|
|
.line 766
|
|
.line 767
|
|
invoke-virtual {v0, v9}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 768
|
|
.line 769
|
|
.line 770
|
|
invoke-virtual {v0, v15}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextAppearance(I)V
|
|
|
|
.line 771
|
|
.line 772
|
|
.line 773
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextColor:I
|
|
|
|
.line 774
|
|
.line 775
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 776
|
|
.line 777
|
|
.line 778
|
|
move-result v1
|
|
|
|
.line 779
|
|
if-eqz v1, :cond_f
|
|
|
|
.line 780
|
|
.line 781
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_errorTextColor:I
|
|
|
|
.line 782
|
|
.line 783
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 784
|
|
.line 785
|
|
.line 786
|
|
move-result-object v1
|
|
|
|
.line 787
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 788
|
|
.line 789
|
|
.line 790
|
|
:cond_f
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextColor:I
|
|
|
|
.line 791
|
|
.line 792
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 793
|
|
.line 794
|
|
.line 795
|
|
move-result v1
|
|
|
|
.line 796
|
|
if-eqz v1, :cond_10
|
|
|
|
.line 797
|
|
.line 798
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_helperTextTextColor:I
|
|
|
|
.line 799
|
|
.line 800
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 801
|
|
.line 802
|
|
.line 803
|
|
move-result-object v1
|
|
|
|
.line 804
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 805
|
|
.line 806
|
|
.line 807
|
|
:cond_10
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextColor:I
|
|
|
|
.line 808
|
|
.line 809
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 810
|
|
.line 811
|
|
.line 812
|
|
move-result v1
|
|
|
|
.line 813
|
|
if-eqz v1, :cond_11
|
|
|
|
.line 814
|
|
.line 815
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_hintTextColor:I
|
|
|
|
.line 816
|
|
.line 817
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 818
|
|
.line 819
|
|
.line 820
|
|
move-result-object v1
|
|
|
|
.line 821
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setHintTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 822
|
|
.line 823
|
|
.line 824
|
|
:cond_11
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextColor:I
|
|
|
|
.line 825
|
|
.line 826
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 827
|
|
.line 828
|
|
.line 829
|
|
move-result v1
|
|
|
|
.line 830
|
|
if-eqz v1, :cond_12
|
|
|
|
.line 831
|
|
.line 832
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_counterTextColor:I
|
|
|
|
.line 833
|
|
.line 834
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 835
|
|
.line 836
|
|
.line 837
|
|
move-result-object v1
|
|
|
|
.line 838
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 839
|
|
.line 840
|
|
.line 841
|
|
:cond_12
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextColor:I
|
|
|
|
.line 842
|
|
.line 843
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 844
|
|
.line 845
|
|
.line 846
|
|
move-result v1
|
|
|
|
.line 847
|
|
if-eqz v1, :cond_13
|
|
|
|
.line 848
|
|
.line 849
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_counterOverflowTextColor:I
|
|
|
|
.line 850
|
|
.line 851
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 852
|
|
.line 853
|
|
.line 854
|
|
move-result-object v1
|
|
|
|
.line 855
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterOverflowTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 856
|
|
.line 857
|
|
.line 858
|
|
:cond_13
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderTextColor:I
|
|
|
|
.line 859
|
|
.line 860
|
|
invoke-virtual {v3, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 861
|
|
.line 862
|
|
.line 863
|
|
move-result v1
|
|
|
|
.line 864
|
|
if-eqz v1, :cond_14
|
|
|
|
.line 865
|
|
.line 866
|
|
sget v1, Lcom/google/android/material/R$styleable;->TextInputLayout_placeholderTextColor:I
|
|
|
|
.line 867
|
|
.line 868
|
|
invoke-virtual {v6, v1}, Landroidx/appcompat/widget/TintTypedArray;->a(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 869
|
|
.line 870
|
|
.line 871
|
|
move-result-object v1
|
|
|
|
.line 872
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 873
|
|
.line 874
|
|
.line 875
|
|
:cond_14
|
|
new-instance v1, Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 876
|
|
.line 877
|
|
invoke-direct {v1, v0, v6}, Lcom/google/android/material/textfield/EndCompoundLayout;-><init>(Lcom/google/android/material/textfield/TextInputLayout;Landroidx/appcompat/widget/TintTypedArray;)V
|
|
|
|
.line 878
|
|
.line 879
|
|
.line 880
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 881
|
|
.line 882
|
|
sget v2, Lcom/google/android/material/R$styleable;->TextInputLayout_android_enabled:I
|
|
|
|
.line 883
|
|
.line 884
|
|
const/4 v4, 0x1
|
|
|
|
.line 885
|
|
invoke-virtual {v3, v2, v4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
.line 886
|
|
.line 887
|
|
.line 888
|
|
move-result v2
|
|
|
|
.line 889
|
|
sget v8, Lcom/google/android/material/R$styleable;->TextInputLayout_hintMaxLines:I
|
|
|
|
.line 890
|
|
.line 891
|
|
invoke-virtual {v3, v8, v4}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 892
|
|
.line 893
|
|
.line 894
|
|
move-result v3
|
|
|
|
.line 895
|
|
invoke-virtual {v0, v3}, Lcom/google/android/material/textfield/TextInputLayout;->setHintMaxLines(I)V
|
|
|
|
.line 896
|
|
.line 897
|
|
.line 898
|
|
invoke-virtual {v6}, Landroidx/appcompat/widget/TintTypedArray;->f()V
|
|
|
|
.line 899
|
|
.line 900
|
|
.line 901
|
|
const/4 v3, 0x2
|
|
|
|
.line 902
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setImportantForAccessibility(I)V
|
|
|
|
.line 903
|
|
.line 904
|
|
.line 905
|
|
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 906
|
|
.line 907
|
|
const/16 v6, 0x1a
|
|
|
|
.line 908
|
|
.line 909
|
|
if-lt v3, v6, :cond_15
|
|
|
|
.line 910
|
|
.line 911
|
|
invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setImportantForAutofill(I)V
|
|
|
|
.line 912
|
|
.line 913
|
|
.line 914
|
|
:cond_15
|
|
invoke-virtual {v10, v11}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 915
|
|
.line 916
|
|
.line 917
|
|
invoke-virtual {v10, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 918
|
|
.line 919
|
|
.line 920
|
|
invoke-virtual {v0, v10}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 921
|
|
.line 922
|
|
.line 923
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setEnabled(Z)V
|
|
|
|
.line 924
|
|
.line 925
|
|
.line 926
|
|
invoke-virtual {v0, v13}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
|
|
|
|
.line 927
|
|
.line 928
|
|
.line 929
|
|
invoke-virtual {v0, v5}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorEnabled(Z)V
|
|
|
|
.line 930
|
|
.line 931
|
|
.line 932
|
|
invoke-virtual {v0, v7}, Lcom/google/android/material/textfield/TextInputLayout;->setCounterEnabled(Z)V
|
|
|
|
.line 933
|
|
.line 934
|
|
.line 935
|
|
move-object/from16 v1, p2
|
|
|
|
.line 936
|
|
.line 937
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 938
|
|
.line 939
|
|
.line 940
|
|
return-void
|
|
.end method
|
|
|
|
.method private getEditTextBoxBackground()Landroid/graphics/drawable/Drawable;
|
|
.locals 10
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
instance-of v1, v0, Landroid/widget/AutoCompleteTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getInputType()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
goto/16 :goto_1
|
|
|
|
.line 14
|
|
.line 15
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 16
|
|
.line 17
|
|
sget v1, Landroidx/appcompat/R$attr;->colorControlHighlight:I
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-static {v0, v1}, Lcom/google/android/material/color/MaterialColors;->c(Landroid/view/View;I)I
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result v0
|
|
|
|
.line 23
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 v2, 0x1
|
|
|
|
.line 26
|
|
const/4 v3, 0x2
|
|
|
|
.line 27
|
|
const v4, 0x3dcccccd # 0.1f
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
sget-object v5, Lcom/google/android/material/textfield/TextInputLayout;->I0:[[I
|
|
|
|
.line 31
|
|
.line 32
|
|
if-ne v1, v3, :cond_2
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object v1
|
|
|
|
.line 38
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 39
|
|
.line 40
|
|
sget v7, Lcom/google/android/material/R$attr;->colorSurface:I
|
|
|
|
.line 41
|
|
.line 42
|
|
const-string v8, "TextInputLayout"
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-static {v1, v7, v8}, Lcom/google/android/material/resources/MaterialAttributes;->c(Landroid/content/Context;ILjava/lang/String;)Landroid/util/TypedValue;
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result-object v7
|
|
|
|
.line 48
|
|
iget v8, v7, Landroid/util/TypedValue;->resourceId:I
|
|
|
|
.line 49
|
|
.line 50
|
|
if-eqz v8, :cond_1
|
|
|
|
.line 51
|
|
.line 52
|
|
invoke-virtual {v1, v8}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result v1
|
|
|
|
.line 56
|
|
goto :goto_0
|
|
|
|
.line 57
|
|
:cond_1
|
|
iget v1, v7, Landroid/util/TypedValue;->data:I
|
|
|
|
.line 58
|
|
.line 59
|
|
:goto_0
|
|
new-instance v7, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 60
|
|
.line 61
|
|
iget-object v8, v6, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 62
|
|
.line 63
|
|
iget-object v8, v8, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->a:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-direct {v7, v8}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
invoke-static {v4, v0, v1}, Lcom/google/android/material/color/MaterialColors;->g(FII)I
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result v0
|
|
|
|
.line 72
|
|
const/4 v4, 0x0
|
|
|
|
.line 73
|
|
filled-new-array {v0, v4}, [I
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result-object v8
|
|
|
|
.line 77
|
|
new-instance v9, Landroid/content/res/ColorStateList;
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-direct {v9, v5, v8}, Landroid/content/res/ColorStateList;-><init>([[I[I)V
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {v7, v9}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {v7, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setTint(I)V
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
filled-new-array {v0, v1}, [I
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object v0
|
|
|
|
.line 92
|
|
new-instance v1, Landroid/content/res/ColorStateList;
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-direct {v1, v5, v0}, Landroid/content/res/ColorStateList;-><init>([[I[I)V
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-object v5, v6, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 100
|
|
.line 101
|
|
iget-object v5, v5, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->a:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-direct {v0, v5}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
const/4 v5, -0x1
|
|
|
|
.line 107
|
|
invoke-virtual {v0, v5}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setTint(I)V
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
new-instance v5, Landroid/graphics/drawable/RippleDrawable;
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-direct {v5, v1, v7, v0}, Landroid/graphics/drawable/RippleDrawable;-><init>(Landroid/content/res/ColorStateList;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
new-array v0, v3, [Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 116
|
|
.line 117
|
|
aput-object v5, v0, v4
|
|
|
|
.line 118
|
|
.line 119
|
|
aput-object v6, v0, v2
|
|
|
|
.line 120
|
|
.line 121
|
|
new-instance v1, Landroid/graphics/drawable/LayerDrawable;
|
|
|
|
.line 122
|
|
.line 123
|
|
invoke-direct {v1, v0}, Landroid/graphics/drawable/LayerDrawable;-><init>([Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
return-object v1
|
|
|
|
.line 127
|
|
:cond_2
|
|
if-ne v1, v2, :cond_3
|
|
|
|
.line 128
|
|
.line 129
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 130
|
|
.line 131
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 132
|
|
.line 133
|
|
invoke-static {v4, v0, v2}, Lcom/google/android/material/color/MaterialColors;->g(FII)I
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
move-result v0
|
|
|
|
.line 137
|
|
filled-new-array {v0, v2}, [I
|
|
|
|
.line 138
|
|
.line 139
|
|
.line 140
|
|
move-result-object v0
|
|
|
|
.line 141
|
|
new-instance v2, Landroid/content/res/ColorStateList;
|
|
|
|
.line 142
|
|
.line 143
|
|
invoke-direct {v2, v5, v0}, Landroid/content/res/ColorStateList;-><init>([[I[I)V
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
new-instance v0, Landroid/graphics/drawable/RippleDrawable;
|
|
|
|
.line 147
|
|
.line 148
|
|
invoke-direct {v0, v2, v1, v1}, Landroid/graphics/drawable/RippleDrawable;-><init>(Landroid/content/res/ColorStateList;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 149
|
|
.line 150
|
|
.line 151
|
|
return-object v0
|
|
|
|
.line 152
|
|
:cond_3
|
|
const/4 v0, 0x0
|
|
|
|
.line 153
|
|
return-object v0
|
|
|
|
.line 154
|
|
:cond_4
|
|
:goto_1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 155
|
|
.line 156
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private getOrCreateFilledDropDownMenuBackground()Landroid/graphics/drawable/Drawable;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->M:Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance v0, Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v0}, Landroid/graphics/drawable/StateListDrawable;-><init>()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->M:Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
const v1, 0x10100aa
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
filled-new-array {v1}, [I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v1
|
|
|
|
.line 19
|
|
invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getOrCreateOutlinedDropDownMenuBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v2
|
|
|
|
.line 23
|
|
invoke-virtual {v0, v1, v2}, Landroid/graphics/drawable/StateListDrawable;->addState([ILandroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->M:Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 27
|
|
.line 28
|
|
const/4 v1, 0x0
|
|
|
|
.line 29
|
|
new-array v2, v1, [I
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->h(Z)Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object v1
|
|
|
|
.line 35
|
|
invoke-virtual {v0, v2, v1}, Landroid/graphics/drawable/StateListDrawable;->addState([ILandroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->M:Landroid/graphics/drawable/StateListDrawable;
|
|
|
|
.line 39
|
|
.line 40
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private getOrCreateOutlinedDropDownMenuBackground()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->L:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v0, 0x1
|
|
|
|
.line 6
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->h(Z)Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->L:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->L:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 13
|
|
.line 14
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static m(Landroid/view/ViewGroup;Z)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v2
|
|
|
|
.line 12
|
|
invoke-virtual {v2, p1}, Landroid/view/View;->setEnabled(Z)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
instance-of v3, v2, Landroid/view/ViewGroup;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
check-cast v2, Landroid/view/ViewGroup;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-static {v2, p1}, Lcom/google/android/material/textfield/TextInputLayout;->m(Landroid/view/ViewGroup;Z)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 25
|
|
.line 26
|
|
goto :goto_0
|
|
|
|
.line 27
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private setEditText(Landroid/widget/EditText;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_10
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconMode()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
const/4 v1, 0x3
|
|
|
|
.line 10
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
instance-of v0, p1, Lcom/google/android/material/textfield/TextInputEditText;
|
|
|
|
.line 13
|
|
.line 14
|
|
if-nez v0, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
const-string v0, "TextInputLayout"
|
|
|
|
.line 17
|
|
.line 18
|
|
const-string v1, "EditText added is not a TextInputEditText. Please switch to using that class instead."
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
:cond_0
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 24
|
|
.line 25
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->k:I
|
|
|
|
.line 26
|
|
.line 27
|
|
const/4 v1, -0x1
|
|
|
|
.line 28
|
|
if-eq v0, v1, :cond_1
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setMinEms(I)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
goto :goto_0
|
|
|
|
.line 34
|
|
:cond_1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->m:I
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setMinWidth(I)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
:goto_0
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->l:I
|
|
|
|
.line 40
|
|
.line 41
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setMaxEms(I)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
goto :goto_1
|
|
|
|
.line 47
|
|
:cond_2
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->n:I
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setMaxWidth(I)V
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
:goto_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 53
|
|
iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->N:Z
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->k()V
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-direct {v1, p0}, Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setTextInputAccessibilityDelegate(Lcom/google/android/material/textfield/TextInputLayout$AccessibilityDelegate;)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getTypeface()Landroid/graphics/Typeface;
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result-object v1
|
|
|
|
.line 72
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 73
|
|
.line 74
|
|
invoke-virtual {v2, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->n(Landroid/graphics/Typeface;)Z
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result v3
|
|
|
|
.line 78
|
|
invoke-virtual {v2, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->o(Landroid/graphics/Typeface;)Z
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result v1
|
|
|
|
.line 82
|
|
if-nez v3, :cond_3
|
|
|
|
.line 83
|
|
.line 84
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 85
|
|
.line 86
|
|
:cond_3
|
|
invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
:cond_4
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getTextSize()F
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result v1
|
|
|
|
.line 95
|
|
iget v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 96
|
|
.line 97
|
|
cmpl-float v3, v3, v1
|
|
|
|
.line 98
|
|
.line 99
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 100
|
|
.line 101
|
|
iput v1, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
:cond_5
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getLetterSpacing()F
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
move-result v1
|
|
|
|
.line 112
|
|
iget v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 113
|
|
.line 114
|
|
cmpl-float v3, v3, v1
|
|
|
|
.line 115
|
|
.line 116
|
|
if-eqz v3, :cond_6
|
|
|
|
.line 117
|
|
.line 118
|
|
iput v1, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
:cond_6
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 124
|
|
.line 125
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getGravity()I
|
|
|
|
.line 126
|
|
.line 127
|
|
.line 128
|
|
move-result v1
|
|
|
|
.line 129
|
|
and-int/lit8 v3, v1, -0x71
|
|
|
|
.line 130
|
|
.line 131
|
|
or-int/lit8 v3, v3, 0x30
|
|
|
|
.line 132
|
|
.line 133
|
|
iget v4, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 134
|
|
.line 135
|
|
if-eq v4, v3, :cond_7
|
|
|
|
.line 136
|
|
.line 137
|
|
iput v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 138
|
|
.line 139
|
|
invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
:cond_7
|
|
iget v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->f:I
|
|
|
|
.line 143
|
|
.line 144
|
|
if-eq v3, v1, :cond_8
|
|
|
|
.line 145
|
|
.line 146
|
|
iput v1, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->f:I
|
|
|
|
.line 147
|
|
.line 148
|
|
invoke-virtual {v2, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 149
|
|
.line 150
|
|
.line 151
|
|
:cond_8
|
|
invoke-virtual {p1}, Landroid/view/View;->getMinimumHeight()I
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
move-result v1
|
|
|
|
.line 155
|
|
iput v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y0:I
|
|
|
|
.line 156
|
|
.line 157
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 158
|
|
.line 159
|
|
new-instance v2, Lcom/google/android/material/textfield/TextInputLayout$1;
|
|
|
|
.line 160
|
|
.line 161
|
|
invoke-direct {v2, p0, p1}, Lcom/google/android/material/textfield/TextInputLayout$1;-><init>(Lcom/google/android/material/textfield/TextInputLayout;Landroid/widget/EditText;)V
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
.line 165
|
|
.line 166
|
|
.line 167
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 168
|
|
.line 169
|
|
if-nez v1, :cond_9
|
|
|
|
.line 170
|
|
.line 171
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 172
|
|
.line 173
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getHintTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result-object v1
|
|
|
|
.line 177
|
|
iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 178
|
|
.line 179
|
|
:cond_9
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 180
|
|
.line 181
|
|
const/4 v2, 0x1
|
|
|
|
.line 182
|
|
if-eqz v1, :cond_b
|
|
|
|
.line 183
|
|
.line 184
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 185
|
|
.line 186
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 187
|
|
.line 188
|
|
.line 189
|
|
move-result v1
|
|
|
|
.line 190
|
|
if-eqz v1, :cond_a
|
|
|
|
.line 191
|
|
.line 192
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 193
|
|
.line 194
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 195
|
|
.line 196
|
|
.line 197
|
|
move-result-object v1
|
|
|
|
.line 198
|
|
iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->j:Ljava/lang/CharSequence;
|
|
|
|
.line 199
|
|
.line 200
|
|
invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 201
|
|
.line 202
|
|
.line 203
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 204
|
|
.line 205
|
|
const/4 v3, 0x0
|
|
|
|
.line 206
|
|
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 207
|
|
.line 208
|
|
.line 209
|
|
:cond_a
|
|
iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 210
|
|
.line 211
|
|
:cond_b
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 212
|
|
.line 213
|
|
const/16 v3, 0x1d
|
|
|
|
.line 214
|
|
.line 215
|
|
if-lt v1, v3, :cond_c
|
|
|
|
.line 216
|
|
.line 217
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->r()V
|
|
|
|
.line 218
|
|
.line 219
|
|
.line 220
|
|
:cond_c
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 221
|
|
.line 222
|
|
if-eqz v1, :cond_d
|
|
|
|
.line 223
|
|
.line 224
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 225
|
|
.line 226
|
|
invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 227
|
|
.line 228
|
|
.line 229
|
|
move-result-object v1
|
|
|
|
.line 230
|
|
invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->p(Landroid/text/Editable;)V
|
|
|
|
.line 231
|
|
.line 232
|
|
.line 233
|
|
:cond_d
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->t()V
|
|
|
|
.line 234
|
|
.line 235
|
|
.line 236
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 237
|
|
.line 238
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/IndicatorViewController;->b()V
|
|
|
|
.line 239
|
|
.line 240
|
|
.line 241
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 242
|
|
.line 243
|
|
invoke-virtual {v1}, Landroid/view/View;->bringToFront()V
|
|
|
|
.line 244
|
|
.line 245
|
|
.line 246
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 247
|
|
.line 248
|
|
invoke-virtual {v1}, Landroid/view/View;->bringToFront()V
|
|
|
|
.line 249
|
|
.line 250
|
|
.line 251
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->j0:Ljava/util/LinkedHashSet;
|
|
|
|
.line 252
|
|
.line 253
|
|
invoke-virtual {v3}, Ljava/util/AbstractCollection;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 254
|
|
.line 255
|
|
.line 256
|
|
move-result-object v3
|
|
|
|
.line 257
|
|
:goto_2
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 258
|
|
.line 259
|
|
.line 260
|
|
move-result v4
|
|
|
|
.line 261
|
|
if-eqz v4, :cond_e
|
|
|
|
.line 262
|
|
.line 263
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 264
|
|
.line 265
|
|
.line 266
|
|
move-result-object v4
|
|
|
|
.line 267
|
|
check-cast v4, Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;
|
|
|
|
.line 268
|
|
.line 269
|
|
invoke-interface {v4, p0}, Lcom/google/android/material/textfield/TextInputLayout$OnEditTextAttachedListener;->a(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 270
|
|
.line 271
|
|
.line 272
|
|
goto :goto_2
|
|
|
|
.line 273
|
|
:cond_e
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/EndCompoundLayout;->m()V
|
|
|
|
.line 274
|
|
.line 275
|
|
.line 276
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 277
|
|
.line 278
|
|
.line 279
|
|
move-result v1
|
|
|
|
.line 280
|
|
if-nez v1, :cond_f
|
|
|
|
.line 281
|
|
.line 282
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setEnabled(Z)V
|
|
|
|
.line 283
|
|
.line 284
|
|
.line 285
|
|
:cond_f
|
|
invoke-virtual {p0, v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 286
|
|
.line 287
|
|
.line 288
|
|
return-void
|
|
|
|
.line 289
|
|
:cond_10
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 290
|
|
.line 291
|
|
const-string v0, "We already have an EditText, can only have one"
|
|
|
|
.line 292
|
|
.line 293
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 294
|
|
.line 295
|
|
.line 296
|
|
throw p1
|
|
.end method
|
|
|
|
.method private setHintInternal(Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
if-nez v0, :cond_2
|
|
|
|
.line 8
|
|
.line 9
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 12
|
|
.line 13
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->B:Ljava/lang/CharSequence;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {v1, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v1
|
|
|
|
.line 21
|
|
if-nez v1, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
:cond_0
|
|
iput-object p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->B:Ljava/lang/CharSequence;
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 p1, 0x0
|
|
|
|
.line 26
|
|
iput-object p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->C:Ljava/lang/CharSequence;
|
|
|
|
.line 27
|
|
.line 28
|
|
const/4 p1, 0x0
|
|
|
|
.line 29
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
:cond_1
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 33
|
|
.line 34
|
|
if-nez p1, :cond_2
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->l()V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method private setPlaceholderTextEnabled(Z)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ne v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v1, 0x0
|
|
|
|
.line 20
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 25
|
|
.line 26
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 27
|
|
.line 28
|
|
const/16 v1, 0x8
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
.line 34
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 35
|
|
.line 36
|
|
:cond_3
|
|
:goto_0
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 37
|
|
.line 38
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
goto/16 :goto_0
|
|
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHintMaxLines()I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v0
|
|
|
|
.line 16
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object v0
|
|
|
|
.line 22
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object v0
|
|
|
|
.line 26
|
|
invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v0
|
|
|
|
.line 30
|
|
iget v0, v0, Landroid/content/res/Configuration;->fontScale:F
|
|
|
|
.line 31
|
|
.line 32
|
|
const/high16 v1, 0x40000000 # 2.0f
|
|
|
|
.line 33
|
|
.line 34
|
|
cmpl-float v0, v0, v1
|
|
|
|
.line 35
|
|
.line 36
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 37
|
|
.line 38
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {v0}, Landroid/view/View;->getPaddingStart()I
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
move-result v1
|
|
|
|
.line 44
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result-object v2
|
|
|
|
.line 48
|
|
sget v3, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_2_0_padding_top:I
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result v2
|
|
|
|
.line 54
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v3}, Landroid/view/View;->getPaddingEnd()I
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result v3
|
|
|
|
.line 60
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result-object v4
|
|
|
|
.line 64
|
|
sget v5, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_2_0_padding_bottom:I
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result v4
|
|
|
|
.line 70
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/view/View;->setPaddingRelative(IIII)V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
return-void
|
|
|
|
.line 74
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result-object v0
|
|
|
|
.line 78
|
|
invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->e(Landroid/content/Context;)Z
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result v0
|
|
|
|
.line 82
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 83
|
|
.line 84
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 85
|
|
.line 86
|
|
invoke-virtual {v0}, Landroid/view/View;->getPaddingStart()I
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result v1
|
|
|
|
.line 90
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result-object v2
|
|
|
|
.line 94
|
|
sget v3, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_1_3_padding_top:I
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result v2
|
|
|
|
.line 100
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-virtual {v3}, Landroid/view/View;->getPaddingEnd()I
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result v3
|
|
|
|
.line 106
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
move-result-object v4
|
|
|
|
.line 110
|
|
sget v5, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_1_3_padding_bottom:I
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
move-result v4
|
|
|
|
.line 116
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/view/View;->setPaddingRelative(IIII)V
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
return-void
|
|
|
|
.line 120
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-virtual {v0}, Landroid/view/View;->getPaddingStart()I
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result v1
|
|
|
|
.line 126
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 127
|
|
.line 128
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
move-result v2
|
|
|
|
.line 132
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->h:I
|
|
|
|
.line 133
|
|
.line 134
|
|
int-to-float v3, v3
|
|
|
|
.line 135
|
|
add-float/2addr v2, v3
|
|
|
|
.line 136
|
|
float-to-int v2, v2
|
|
|
|
.line 137
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 138
|
|
.line 139
|
|
invoke-virtual {v3}, Landroid/view/View;->getPaddingEnd()I
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
move-result v3
|
|
|
|
.line 143
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
move-result-object v4
|
|
|
|
.line 147
|
|
sget v5, Lcom/google/android/material/R$dimen;->material_filled_edittext_font_1_3_padding_bottom:I
|
|
|
|
.line 148
|
|
.line 149
|
|
invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 150
|
|
.line 151
|
|
.line 152
|
|
move-result v4
|
|
|
|
.line 153
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/view/View;->setPaddingRelative(IIII)V
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
:cond_3
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
instance-of v0, p1, Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
new-instance p2, Landroid/widget/FrameLayout$LayoutParams;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {p2, p3}, Landroid/widget/FrameLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget v0, p2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I
|
|
|
|
.line 11
|
|
.line 12
|
|
and-int/lit8 v0, v0, -0x71
|
|
|
|
.line 13
|
|
.line 14
|
|
or-int/lit8 v0, v0, 0x10
|
|
|
|
.line 15
|
|
.line 16
|
|
iput v0, p2, Landroid/widget/FrameLayout$LayoutParams;->gravity:I
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v0, p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v0, p3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->v()V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
check-cast p1, Landroid/widget/EditText;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setEditText(Landroid/widget/EditText;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
return-void
|
|
|
|
.line 35
|
|
:cond_0
|
|
invoke-super {p0, p1, p2, p3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(F)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->b:F
|
|
|
|
.line 4
|
|
.line 5
|
|
cmpl-float v1, v1, p1
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v1, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
new-instance v1, Landroid/animation/ValueAnimator;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-direct {v1}, Landroid/animation/ValueAnimator;-><init>()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
iput-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v2
|
|
|
|
.line 25
|
|
sget v3, Lcom/google/android/material/R$attr;->motionEasingEmphasizedInterpolator:I
|
|
|
|
.line 26
|
|
.line 27
|
|
sget-object v4, Lcom/google/android/material/animation/AnimationUtils;->b:Landroidx/interpolator/view/animation/FastOutSlowInInterpolator;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {v2, v3, v4}, Lcom/google/android/material/motion/MotionUtils;->d(Landroid/content/Context;ILandroid/animation/TimeInterpolator;)Landroid/animation/TimeInterpolator;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v2
|
|
|
|
.line 33
|
|
invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result-object v2
|
|
|
|
.line 42
|
|
sget v3, Lcom/google/android/material/R$attr;->motionDurationMedium4:I
|
|
|
|
.line 43
|
|
.line 44
|
|
const/16 v4, 0xa7
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-static {v2, v3, v4}, Lcom/google/android/material/motion/MotionUtils;->c(Landroid/content/Context;II)I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result v2
|
|
|
|
.line 50
|
|
int-to-long v2, v2
|
|
|
|
.line 51
|
|
invoke-virtual {v1, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 55
|
|
.line 56
|
|
new-instance v2, Lcom/google/android/material/textfield/TextInputLayout$4;
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-direct {v2, p0}, Lcom/google/android/material/textfield/TextInputLayout$4;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
:cond_1
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 65
|
|
.line 66
|
|
iget v0, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->b:F
|
|
|
|
.line 67
|
|
.line 68
|
|
const/4 v2, 0x2
|
|
|
|
.line 69
|
|
new-array v2, v2, [F
|
|
|
|
.line 70
|
|
.line 71
|
|
const/4 v3, 0x0
|
|
|
|
.line 72
|
|
aput v0, v2, v3
|
|
|
|
.line 73
|
|
.line 74
|
|
const/4 v0, 0x1
|
|
|
|
.line 75
|
|
aput p1, v2, v0
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->setFloatValues([F)V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->start()V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c()V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget-object v1, v0, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v1, v1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->a:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eq v1, v2, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
:cond_1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v1, 0x2
|
|
|
|
.line 20
|
|
const/4 v2, -0x1
|
|
|
|
.line 21
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 22
|
|
.line 23
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 24
|
|
.line 25
|
|
if-le v0, v2, :cond_2
|
|
|
|
.line 26
|
|
.line 27
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
int-to-float v0, v0
|
|
|
|
.line 34
|
|
iget-object v4, v3, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 35
|
|
.line 36
|
|
iput v0, v4, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->k:F
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {v3}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
invoke-static {v1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v0
|
|
|
|
.line 45
|
|
iget-object v1, v3, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 46
|
|
.line 47
|
|
iget-object v4, v1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->e:Landroid/content/res/ColorStateList;
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eq v4, v0, :cond_2
|
|
|
|
.line 50
|
|
.line 51
|
|
iput-object v0, v1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->e:Landroid/content/res/ColorStateList;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v3}, Landroid/graphics/drawable/Drawable;->getState()[I
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result-object v0
|
|
|
|
.line 57
|
|
invoke-virtual {v3, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->onStateChange([I)Z
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
:cond_2
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 61
|
|
.line 62
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 63
|
|
.line 64
|
|
const/4 v3, 0x1
|
|
|
|
.line 65
|
|
if-ne v1, v3, :cond_3
|
|
|
|
.line 66
|
|
.line 67
|
|
sget v0, Lcom/google/android/material/R$attr;->colorSurface:I
|
|
|
|
.line 68
|
|
.line 69
|
|
const/4 v1, 0x0
|
|
|
|
.line 70
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
move-result-object v3
|
|
|
|
.line 74
|
|
invoke-static {v3, v0, v1}, Lcom/google/android/material/color/MaterialColors;->b(Landroid/content/Context;II)I
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result v0
|
|
|
|
.line 78
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-static {v1, v0}, Landroidx/core/graphics/ColorUtils;->i(II)I
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
move-result v0
|
|
|
|
.line 84
|
|
:cond_3
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 85
|
|
.line 86
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 87
|
|
.line 88
|
|
invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object v0
|
|
|
|
.line 92
|
|
invoke-virtual {v1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 96
|
|
.line 97
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 100
|
|
.line 101
|
|
if-nez v1, :cond_4
|
|
|
|
.line 102
|
|
.line 103
|
|
goto :goto_1
|
|
|
|
.line 104
|
|
:cond_4
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 105
|
|
.line 106
|
|
if-le v1, v2, :cond_6
|
|
|
|
.line 107
|
|
.line 108
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 109
|
|
.line 110
|
|
if-eqz v1, :cond_6
|
|
|
|
.line 111
|
|
.line 112
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-virtual {v1}, Landroid/view/View;->isFocused()Z
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
move-result v1
|
|
|
|
.line 118
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 119
|
|
.line 120
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->p0:I
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-static {v1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object v1
|
|
|
|
.line 126
|
|
goto :goto_0
|
|
|
|
.line 127
|
|
:cond_5
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 128
|
|
.line 129
|
|
invoke-static {v1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 130
|
|
.line 131
|
|
.line 132
|
|
move-result-object v1
|
|
|
|
.line 133
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 137
|
|
.line 138
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 139
|
|
.line 140
|
|
invoke-static {v1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
move-result-object v1
|
|
|
|
.line 144
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 145
|
|
.line 146
|
|
.line 147
|
|
:cond_6
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 148
|
|
.line 149
|
|
.line 150
|
|
:cond_7
|
|
:goto_1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->u()V
|
|
|
|
.line 151
|
|
.line 152
|
|
.line 153
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
const/4 v1, 0x1
|
|
|
|
.line 10
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
move v0, v1
|
|
|
|
.line 13
|
|
goto :goto_0
|
|
|
|
.line 14
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 15
|
|
:goto_0
|
|
iget v2, p1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->e0:Landroid/graphics/Rect;
|
|
|
|
.line 18
|
|
.line 19
|
|
iput v2, v3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 20
|
|
.line 21
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 22
|
|
.line 23
|
|
if-eq v2, v1, :cond_2
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 v1, 0x2
|
|
|
|
.line 26
|
|
if-eq v2, v1, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
iget v1, p1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p0, v1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->i(IZ)I
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result v1
|
|
|
|
.line 34
|
|
iput v1, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v1
|
|
|
|
.line 40
|
|
iput v1, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 41
|
|
.line 42
|
|
iget p1, p1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {p0, p1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->j(IZ)I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result p1
|
|
|
|
.line 48
|
|
iput p1, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 49
|
|
.line 50
|
|
return-object v3
|
|
|
|
.line 51
|
|
:cond_1
|
|
iget v0, p1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 52
|
|
.line 53
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {v1}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v1
|
|
|
|
.line 59
|
|
add-int/2addr v1, v0
|
|
|
|
.line 60
|
|
iput v1, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 61
|
|
.line 62
|
|
iget v0, p1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->e()I
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result v1
|
|
|
|
.line 68
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 69
|
|
iput v0, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 70
|
|
.line 71
|
|
iget p1, p1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 72
|
|
.line 73
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v0}, Landroid/view/View;->getPaddingRight()I
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
move-result v0
|
|
|
|
.line 79
|
|
sub-int/2addr p1, v0
|
|
|
|
.line 80
|
|
iput p1, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 81
|
|
.line 82
|
|
return-object v3
|
|
|
|
.line 83
|
|
:cond_2
|
|
iget v1, p1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {p0, v1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->i(IZ)I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result v1
|
|
|
|
.line 89
|
|
iput v1, v3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 90
|
|
.line 91
|
|
iget v1, p1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 92
|
|
.line 93
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 94
|
|
.line 95
|
|
add-int/2addr v1, v2
|
|
|
|
.line 96
|
|
iput v1, v3, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 97
|
|
.line 98
|
|
iget p1, p1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 99
|
|
.line 100
|
|
invoke-virtual {p0, p1, v0}, Lcom/google/android/material/textfield/TextInputLayout;->j(IZ)I
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
move-result p1
|
|
|
|
.line 104
|
|
iput p1, v3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 105
|
|
.line 106
|
|
return-object v3
|
|
|
|
.line 107
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
.line 108
|
|
.line 109
|
|
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->j:Ljava/lang/CharSequence;
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v2, 0x0
|
|
|
|
.line 12
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object v0
|
|
|
|
.line 22
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 23
|
|
.line 24
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->j:Ljava/lang/CharSequence;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
: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 30
|
|
.line 31
|
|
.line 32
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 38
|
|
.line 39
|
|
return-void
|
|
|
|
.line 40
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 41
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p2, v0}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 47
|
|
.line 48
|
|
throw p1
|
|
|
|
.line 49
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/widget/LinearLayout;->getAutofillId()Landroid/view/autofill/AutofillId;
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result-object v0
|
|
|
|
.line 53
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewStructure;->setAutofillId(Landroid/view/autofill/AutofillId;)V
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->onProvideAutofillStructure(Landroid/view/ViewStructure;I)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->onProvideAutofillVirtualStructure(Landroid/view/ViewStructure;I)V
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
move-result v1
|
|
|
|
.line 68
|
|
invoke-virtual {p1, v1}, Landroid/view/ViewStructure;->setChildCount(I)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
:goto_0
|
|
invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result v1
|
|
|
|
.line 75
|
|
if-ge v2, v1, :cond_3
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result-object v1
|
|
|
|
.line 81
|
|
invoke-virtual {p1, v2}, Landroid/view/ViewStructure;->newChild(I)Landroid/view/ViewStructure;
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result-object v3
|
|
|
|
.line 85
|
|
invoke-virtual {v1, v3, p2}, Landroid/view/View;->dispatchProvideAutofillStructure(Landroid/view/ViewStructure;I)V
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 89
|
|
.line 90
|
|
if-ne v1, v4, :cond_2
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result-object v1
|
|
|
|
.line 96
|
|
invoke-virtual {v3, v1}, Landroid/view/ViewStructure;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 100
|
|
.line 101
|
|
goto :goto_0
|
|
|
|
.line 102
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public final dispatchRestoreInstanceState(Landroid/util/SparseArray;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->F0:Z
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchRestoreInstanceState(Landroid/util/SparseArray;)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
const/4 p1, 0x0
|
|
|
|
.line 8
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->F0:Z
|
|
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public final draw(Landroid/graphics/Canvas;)V
|
|
.locals 14
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v8, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->O:Landroid/text/TextPaint;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->e:Landroid/graphics/RectF;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v9
|
|
|
|
.line 18
|
|
iget-object v2, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->C:Ljava/lang/CharSequence;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eqz v2, :cond_8
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0}, Landroid/graphics/RectF;->width()F
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v2
|
|
|
|
.line 26
|
|
const/4 v3, 0x0
|
|
|
|
.line 27
|
|
cmpl-float v2, v2, v3
|
|
|
|
.line 28
|
|
.line 29
|
|
if-lez v2, :cond_8
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v0}, Landroid/graphics/RectF;->height()F
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v0
|
|
|
|
.line 35
|
|
cmpl-float v0, v0, v3
|
|
|
|
.line 36
|
|
.line 37
|
|
if-lez v0, :cond_8
|
|
|
|
.line 38
|
|
.line 39
|
|
iget v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->G:F
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v8, v0}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
iget v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->q:F
|
|
|
|
.line 45
|
|
.line 46
|
|
iget v2, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->r:F
|
|
|
|
.line 47
|
|
.line 48
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->F:F
|
|
|
|
.line 49
|
|
.line 50
|
|
const/high16 v4, 0x3f800000 # 1.0f
|
|
|
|
.line 51
|
|
.line 52
|
|
cmpl-float v4, v3, v4
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p1, v3, v3, v0, v2}, Landroid/graphics/Canvas;->scale(FFFF)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
:cond_0
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->e0:I
|
|
|
|
.line 60
|
|
.line 61
|
|
const/4 v10, 0x1
|
|
|
|
.line 62
|
|
if-gt v3, v10, :cond_1
|
|
|
|
.line 63
|
|
.line 64
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->f0:I
|
|
|
|
.line 65
|
|
.line 66
|
|
if-le v3, v10, :cond_7
|
|
|
|
.line 67
|
|
.line 68
|
|
:cond_1
|
|
iget-boolean v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 69
|
|
.line 70
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 71
|
|
.line 72
|
|
goto/16 :goto_0
|
|
|
|
.line 73
|
|
.line 74
|
|
:cond_2
|
|
invoke-virtual {v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->q()Z
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result v3
|
|
|
|
.line 78
|
|
if-eqz v3, :cond_7
|
|
|
|
.line 79
|
|
.line 80
|
|
iget v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->q:F
|
|
|
|
.line 81
|
|
.line 82
|
|
iget-object v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 83
|
|
.line 84
|
|
const/4 v11, 0x0
|
|
|
|
.line 85
|
|
invoke-virtual {v3, v11}, Landroid/text/StaticLayout;->getLineStart(I)I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result v3
|
|
|
|
.line 89
|
|
int-to-float v3, v3
|
|
|
|
.line 90
|
|
sub-float/2addr v0, v3
|
|
|
|
.line 91
|
|
invoke-virtual {v8}, Landroid/graphics/Paint;->getAlpha()I
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result v12
|
|
|
|
.line 95
|
|
invoke-virtual {p1, v0, v2}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
iget v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->c0:F
|
|
|
|
.line 99
|
|
.line 100
|
|
int-to-float v2, v12
|
|
|
|
.line 101
|
|
mul-float/2addr v0, v2
|
|
|
|
.line 102
|
|
float-to-int v0, v0
|
|
|
|
.line 103
|
|
invoke-virtual {v8, v0}, Landroid/graphics/Paint;->setAlpha(I)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 107
|
|
.line 108
|
|
const/16 v13, 0x1f
|
|
|
|
.line 109
|
|
.line 110
|
|
if-lt v0, v13, :cond_3
|
|
|
|
.line 111
|
|
.line 112
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->H:F
|
|
|
|
.line 113
|
|
.line 114
|
|
iget v4, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->I:F
|
|
|
|
.line 115
|
|
.line 116
|
|
iget v5, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->J:F
|
|
|
|
.line 117
|
|
.line 118
|
|
iget v6, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->K:I
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {v8}, Landroid/graphics/Paint;->getAlpha()I
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
move-result v7
|
|
|
|
.line 124
|
|
invoke-static {v6, v7}, Lcom/google/android/material/color/MaterialColors;->a(II)I
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
move-result v6
|
|
|
|
.line 128
|
|
invoke-virtual {v8, v3, v4, v5, v6}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
:cond_3
|
|
iget-object v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 132
|
|
.line 133
|
|
invoke-virtual {v3, p1}, Landroid/text/Layout;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->b0:F
|
|
|
|
.line 137
|
|
.line 138
|
|
mul-float/2addr v3, v2
|
|
|
|
.line 139
|
|
float-to-int v2, v3
|
|
|
|
.line 140
|
|
invoke-virtual {v8, v2}, Landroid/graphics/Paint;->setAlpha(I)V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
if-lt v0, v13, :cond_4
|
|
|
|
.line 144
|
|
.line 145
|
|
iget v2, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->H:F
|
|
|
|
.line 146
|
|
.line 147
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->I:F
|
|
|
|
.line 148
|
|
.line 149
|
|
iget v4, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->J:F
|
|
|
|
.line 150
|
|
.line 151
|
|
iget v5, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->K:I
|
|
|
|
.line 152
|
|
.line 153
|
|
invoke-virtual {v8}, Landroid/graphics/Paint;->getAlpha()I
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
move-result v6
|
|
|
|
.line 157
|
|
invoke-static {v5, v6}, Lcom/google/android/material/color/MaterialColors;->a(II)I
|
|
|
|
.line 158
|
|
.line 159
|
|
.line 160
|
|
move-result v5
|
|
|
|
.line 161
|
|
invoke-virtual {v8, v2, v3, v4, v5}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
:cond_4
|
|
iget-object v2, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 165
|
|
.line 166
|
|
invoke-virtual {v2, v11}, Landroid/text/Layout;->getLineBaseline(I)I
|
|
|
|
.line 167
|
|
.line 168
|
|
.line 169
|
|
move-result v2
|
|
|
|
.line 170
|
|
iget-object v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->d0:Ljava/lang/CharSequence;
|
|
|
|
.line 171
|
|
.line 172
|
|
invoke-interface {v3}, Ljava/lang/CharSequence;->length()I
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
move-result v5
|
|
|
|
.line 176
|
|
int-to-float v7, v2
|
|
|
|
.line 177
|
|
const/4 v4, 0x0
|
|
|
|
.line 178
|
|
const/4 v6, 0x0
|
|
|
|
.line 179
|
|
move-object v2, p1
|
|
|
|
.line 180
|
|
invoke-virtual/range {v2 .. v8}, Landroid/graphics/Canvas;->drawText(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V
|
|
|
|
.line 181
|
|
.line 182
|
|
.line 183
|
|
if-lt v0, v13, :cond_5
|
|
|
|
.line 184
|
|
.line 185
|
|
iget p1, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->H:F
|
|
|
|
.line 186
|
|
.line 187
|
|
iget v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->I:F
|
|
|
|
.line 188
|
|
.line 189
|
|
iget v3, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->J:F
|
|
|
|
.line 190
|
|
.line 191
|
|
iget v4, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->K:I
|
|
|
|
.line 192
|
|
.line 193
|
|
invoke-virtual {v8, p1, v0, v3, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
|
|
|
|
.line 194
|
|
.line 195
|
|
.line 196
|
|
:cond_5
|
|
iget-object p1, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->d0:Ljava/lang/CharSequence;
|
|
|
|
.line 197
|
|
.line 198
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
move-result-object p1
|
|
|
|
.line 202
|
|
invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
.line 203
|
|
.line 204
|
|
.line 205
|
|
move-result-object p1
|
|
|
|
.line 206
|
|
const-string v0, "\u2026"
|
|
|
|
.line 207
|
|
.line 208
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
.line 209
|
|
.line 210
|
|
.line 211
|
|
move-result v0
|
|
|
|
.line 212
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 213
|
|
.line 214
|
|
invoke-static {v10, v11, p1}, Landroid/support/v4/media/a;->d(IILjava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 215
|
|
.line 216
|
|
.line 217
|
|
move-result-object p1
|
|
|
|
.line 218
|
|
:cond_6
|
|
move-object v3, p1
|
|
|
|
.line 219
|
|
invoke-virtual {v8, v12}, Landroid/graphics/Paint;->setAlpha(I)V
|
|
|
|
.line 220
|
|
.line 221
|
|
.line 222
|
|
iget-object p1, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 223
|
|
.line 224
|
|
invoke-virtual {p1, v11}, Landroid/text/Layout;->getLineEnd(I)I
|
|
|
|
.line 225
|
|
.line 226
|
|
.line 227
|
|
move-result p1
|
|
|
|
.line 228
|
|
invoke-virtual {v3}, Ljava/lang/String;->length()I
|
|
|
|
.line 229
|
|
.line 230
|
|
.line 231
|
|
move-result v0
|
|
|
|
.line 232
|
|
invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 233
|
|
.line 234
|
|
.line 235
|
|
move-result v5
|
|
|
|
.line 236
|
|
const/4 v6, 0x0
|
|
|
|
.line 237
|
|
const/4 v4, 0x0
|
|
|
|
.line 238
|
|
invoke-virtual/range {v2 .. v8}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V
|
|
|
|
.line 239
|
|
.line 240
|
|
.line 241
|
|
move-object p1, v2
|
|
|
|
.line 242
|
|
goto :goto_1
|
|
|
|
.line 243
|
|
:cond_7
|
|
:goto_0
|
|
invoke-virtual {p1, v0, v2}, Landroid/graphics/Canvas;->translate(FF)V
|
|
|
|
.line 244
|
|
.line 245
|
|
.line 246
|
|
iget-object v0, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 247
|
|
.line 248
|
|
invoke-virtual {v0, p1}, Landroid/text/Layout;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 249
|
|
.line 250
|
|
.line 251
|
|
:goto_1
|
|
invoke-virtual {p1, v9}, Landroid/graphics/Canvas;->restoreToCount(I)V
|
|
|
|
.line 252
|
|
.line 253
|
|
.line 254
|
|
:cond_8
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 255
|
|
.line 256
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 257
|
|
.line 258
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 259
|
|
.line 260
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 261
|
|
.line 262
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 263
|
|
.line 264
|
|
.line 265
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 266
|
|
.line 267
|
|
invoke-virtual {v0}, Landroid/view/View;->isFocused()Z
|
|
|
|
.line 268
|
|
.line 269
|
|
.line 270
|
|
move-result v0
|
|
|
|
.line 271
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 272
|
|
.line 273
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 274
|
|
.line 275
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
|
|
|
|
.line 276
|
|
.line 277
|
|
.line 278
|
|
move-result-object v0
|
|
|
|
.line 279
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 280
|
|
.line 281
|
|
invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
|
|
|
|
.line 282
|
|
.line 283
|
|
.line 284
|
|
move-result-object v2
|
|
|
|
.line 285
|
|
iget v1, v1, Lcom/google/android/material/internal/CollapsingTextHelper;->b:F
|
|
|
|
.line 286
|
|
.line 287
|
|
invoke-virtual {v2}, Landroid/graphics/Rect;->centerX()I
|
|
|
|
.line 288
|
|
.line 289
|
|
.line 290
|
|
move-result v3
|
|
|
|
.line 291
|
|
iget v4, v2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 292
|
|
.line 293
|
|
invoke-static {v1, v3, v4}, Lcom/google/android/material/animation/AnimationUtils;->c(FII)I
|
|
|
|
.line 294
|
|
.line 295
|
|
.line 296
|
|
move-result v4
|
|
|
|
.line 297
|
|
iput v4, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 298
|
|
.line 299
|
|
iget v2, v2, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 300
|
|
.line 301
|
|
invoke-static {v1, v3, v2}, Lcom/google/android/material/animation/AnimationUtils;->c(FII)I
|
|
|
|
.line 302
|
|
.line 303
|
|
.line 304
|
|
move-result v1
|
|
|
|
.line 305
|
|
iput v1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 306
|
|
.line 307
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 308
|
|
.line 309
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 310
|
|
.line 311
|
|
.line 312
|
|
:cond_9
|
|
return-void
|
|
.end method
|
|
|
|
.method public final drawableStateChanged()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->E0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 7
|
|
iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->E0:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->drawableStateChanged()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Landroid/view/View;->getDrawableState()[I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v1
|
|
|
|
.line 16
|
|
const/4 v2, 0x0
|
|
|
|
.line 17
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 18
|
|
.line 19
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 20
|
|
.line 21
|
|
iput-object v1, v3, Lcom/google/android/material/internal/CollapsingTextHelper;->M:[I
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-object v1, v3, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 24
|
|
.line 25
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {v1}, Landroid/content/res/ColorStateList;->isStateful()Z
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result v1
|
|
|
|
.line 31
|
|
if-nez v1, :cond_2
|
|
|
|
.line 32
|
|
.line 33
|
|
:cond_1
|
|
iget-object v1, v3, Lcom/google/android/material/internal/CollapsingTextHelper;->j:Landroid/content/res/ColorStateList;
|
|
|
|
.line 34
|
|
.line 35
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v1}, Landroid/content/res/ColorStateList;->isStateful()Z
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result v1
|
|
|
|
.line 41
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 42
|
|
.line 43
|
|
:cond_2
|
|
invoke-virtual {v3, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move v1, v0
|
|
|
|
.line 47
|
|
goto :goto_0
|
|
|
|
.line 48
|
|
:cond_3
|
|
move v1, v2
|
|
|
|
.line 49
|
|
:goto_0
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result v3
|
|
|
|
.line 57
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result v3
|
|
|
|
.line 63
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 64
|
|
.line 65
|
|
goto :goto_1
|
|
|
|
.line 66
|
|
:cond_4
|
|
move v0, v2
|
|
|
|
.line 67
|
|
:goto_1
|
|
invoke-virtual {p0, v0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->t()V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
if-eqz v1, :cond_6
|
|
|
|
.line 77
|
|
.line 78
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
:cond_6
|
|
iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->E0:Z
|
|
|
|
.line 82
|
|
.line 83
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e()I
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:cond_0
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v3, 0x2
|
|
|
|
.line 14
|
|
if-eq v0, v3, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
:goto_0
|
|
return v1
|
|
|
|
.line 17
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHintMaxLines()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
const/4 v3, 0x1
|
|
|
|
.line 22
|
|
const/high16 v4, 0x40000000 # 2.0f
|
|
|
|
.line 23
|
|
.line 24
|
|
if-ne v0, v3, :cond_2
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result v0
|
|
|
|
.line 30
|
|
div-float/2addr v0, v4
|
|
|
|
.line 31
|
|
float-to-int v0, v0
|
|
|
|
.line 32
|
|
return v0
|
|
|
|
.line 33
|
|
:cond_2
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v0
|
|
|
|
.line 37
|
|
iget-object v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->P:Landroid/text/TextPaint;
|
|
|
|
.line 38
|
|
.line 39
|
|
iget v5, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->i:F
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v3, v5}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
iget-object v5, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->s:Landroid/graphics/Typeface;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {v3, v5}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
iget v2, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->W:F
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v3, v2}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v3}, Landroid/graphics/Paint;->ascent()F
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result v2
|
|
|
|
.line 58
|
|
neg-float v2, v2
|
|
|
|
.line 59
|
|
div-float/2addr v2, v4
|
|
|
|
.line 60
|
|
sub-float/2addr v0, v2
|
|
|
|
.line 61
|
|
float-to-int v0, v0
|
|
|
|
.line 62
|
|
invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
move-result v0
|
|
|
|
.line 66
|
|
return v0
|
|
|
|
.line 67
|
|
:cond_3
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
move-result v0
|
|
|
|
.line 71
|
|
float-to-int v0, v0
|
|
|
|
.line 72
|
|
return v0
|
|
.end method
|
|
|
|
.method public final f()Landroidx/transition/Fade;
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/transition/Fade;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Landroidx/transition/Visibility;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v1
|
|
|
|
.line 10
|
|
sget v2, Lcom/google/android/material/R$attr;->motionDurationShort2:I
|
|
|
|
.line 11
|
|
.line 12
|
|
const/16 v3, 0x57
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v1, v2, v3}, Lcom/google/android/material/motion/MotionUtils;->c(Landroid/content/Context;II)I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v1
|
|
|
|
.line 18
|
|
int-to-long v1, v1
|
|
|
|
.line 19
|
|
iput-wide v1, v0, Landroidx/transition/Transition;->g:J
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v1
|
|
|
|
.line 25
|
|
sget v2, Lcom/google/android/material/R$attr;->motionEasingLinearInterpolator:I
|
|
|
|
.line 26
|
|
.line 27
|
|
sget-object v3, Lcom/google/android/material/animation/AnimationUtils;->a:Landroid/view/animation/LinearInterpolator;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {v1, v2, v3}, Lcom/google/android/material/motion/MotionUtils;->d(Landroid/content/Context;ILandroid/animation/TimeInterpolator;)Landroid/animation/TimeInterpolator;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v1
|
|
|
|
.line 33
|
|
iput-object v1, v0, Landroidx/transition/Transition;->h:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 34
|
|
.line 35
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final g()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
if-nez v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 14
|
|
.line 15
|
|
instance-of v0, v0, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v0, 0x1
|
|
|
|
.line 20
|
|
return v0
|
|
|
|
.line 21
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBaseline()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getBaseline()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
add-int/2addr v1, v0
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->e()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
add-int/2addr v0, v1
|
|
|
|
.line 19
|
|
return v0
|
|
|
|
.line 20
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->getBaseline()I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v0
|
|
|
|
.line 24
|
|
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;->T:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-eq v0, v1, :cond_1
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x2
|
|
|
|
.line 7
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
throw v0
|
|
|
|
.line 16
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 17
|
|
.line 18
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBoxBackgroundColor()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxBackgroundMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxCollapsedPaddingTop()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxCornerRadiusBottomEnd()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->h:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
return v0
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->g:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxCornerRadiusBottomStart()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->g:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
return v0
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->h:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxCornerRadiusTopEnd()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->e:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
return v0
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->f:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxCornerRadiusTopStart()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->f:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
return v0
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, v0, Lcom/google/android/material/shape/ShapeAppearanceModel;->e:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-interface {v0, v2}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxStrokeColor()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBoxStrokeWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getBoxStrokeWidthFocused()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->a0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCounterMaxLength()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->p:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
return-object v0
|
|
|
|
.line 18
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 19
|
|
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;->E:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->D:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCursorColor()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->F:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCursorErrorColor()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->G:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEndIconMinSize()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->q:I
|
|
|
|
.line 4
|
|
.line 5
|
|
return v0
|
|
.end method
|
|
|
|
.method public getEndIconMode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->m:I
|
|
|
|
.line 4
|
|
.line 5
|
|
return v0
|
|
.end method
|
|
|
|
.method public getEndIconScaleType()Landroid/widget/ImageView$ScaleType;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->r:Landroid/widget/ImageView$ScaleType;
|
|
|
|
.line 4
|
|
.line 5
|
|
return-object 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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getError()Ljava/lang/CharSequence;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-boolean v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->q:Z
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->p:Ljava/lang/CharSequence;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getErrorAccessibilityLiveRegion()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->t:I
|
|
|
|
.line 4
|
|
.line 5
|
|
return 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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->s:Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCurrentTextColor()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
return v0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 v0, -0x1
|
|
|
|
.line 13
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHelperText()Ljava/lang/CharSequence;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-boolean v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->x:Z
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCurrentTextColor()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
return v0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 v0, -0x1
|
|
|
|
.line 13
|
|
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;->H:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
return-object v0
|
|
|
|
.line 8
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 9
|
|
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;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintCurrentCollapsedTextColor()I
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->g(Landroid/content/res/ColorStateList;)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
return v0
|
|
.end method
|
|
|
|
.method public getHintMaxLines()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->e0:I
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLengthCounter()Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMaxEms()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->l:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMaxWidth()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->n:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMinEms()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->k:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMinWidth()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->m:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return 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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->x:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
return-object v0
|
|
|
|
.line 8
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 9
|
|
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;->A:I
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->z:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->g:Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->f:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->f:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getShapeAppearanceModel()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 2
|
|
.line 3
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getStartIconMinSize()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->k:I
|
|
|
|
.line 4
|
|
.line 5
|
|
return v0
|
|
.end method
|
|
|
|
.method public getStartIconScaleType()Landroid/widget/ImageView$ScaleType;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->l:Landroid/widget/ImageView$ScaleType;
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->t:Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
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;->g0:Landroid/graphics/Typeface;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final h(Z)Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
sget v1, Lcom/google/android/material/R$dimen;->mtrl_shape_corner_size_small_component:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
int-to-float v0, v0
|
|
|
|
.line 12
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
move p1, v0
|
|
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 18
|
|
.line 19
|
|
instance-of v2, v1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
check-cast v1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->getPopupElevation()F
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v1
|
|
|
|
.line 29
|
|
goto :goto_1
|
|
|
|
.line 30
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object v1
|
|
|
|
.line 34
|
|
sget v2, Lcom/google/android/material/R$dimen;->m3_comp_outlined_autocomplete_menu_container_elevation:I
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v1
|
|
|
|
.line 40
|
|
int-to-float v1, v1
|
|
|
|
.line 41
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v2
|
|
|
|
.line 45
|
|
sget v3, Lcom/google/android/material/R$dimen;->mtrl_exposed_dropdown_menu_popup_vertical_padding:I
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v2
|
|
|
|
.line 51
|
|
new-instance v3, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-direct {v3}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;-><init>()V
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v3, p1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->d(F)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {v3, p1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->e(F)V
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {v3, v0}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->b(F)V
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {v3, v0}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->c(F)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
invoke-virtual {v3}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result-object p1
|
|
|
|
.line 72
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 73
|
|
.line 74
|
|
instance-of v3, v0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;
|
|
|
|
.line 75
|
|
.line 76
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 77
|
|
.line 78
|
|
check-cast v0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->getDropDownBackgroundTintList()Landroid/content/res/ColorStateList;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
move-result-object v0
|
|
|
|
.line 84
|
|
goto :goto_2
|
|
|
|
.line 85
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
.line 86
|
|
:goto_2
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result-object v3
|
|
|
|
.line 90
|
|
if-nez v0, :cond_4
|
|
|
|
.line 91
|
|
.line 92
|
|
sget-object v0, Lcom/google/android/material/shape/MaterialShapeDrawable;->J:Landroid/graphics/Paint;
|
|
|
|
.line 93
|
|
.line 94
|
|
sget v0, Lcom/google/android/material/R$attr;->colorSurface:I
|
|
|
|
.line 95
|
|
.line 96
|
|
const-string v4, "MaterialShapeDrawable"
|
|
|
|
.line 97
|
|
.line 98
|
|
invoke-static {v3, v0, v4}, Lcom/google/android/material/resources/MaterialAttributes;->c(Landroid/content/Context;ILjava/lang/String;)Landroid/util/TypedValue;
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
move-result-object v0
|
|
|
|
.line 102
|
|
iget v4, v0, Landroid/util/TypedValue;->resourceId:I
|
|
|
|
.line 103
|
|
.line 104
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 105
|
|
.line 106
|
|
invoke-virtual {v3, v4}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
move-result v0
|
|
|
|
.line 110
|
|
goto :goto_3
|
|
|
|
.line 111
|
|
:cond_3
|
|
iget v0, v0, Landroid/util/TypedValue;->data:I
|
|
|
|
.line 112
|
|
.line 113
|
|
:goto_3
|
|
invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
move-result-object v0
|
|
|
|
.line 117
|
|
:cond_4
|
|
new-instance v4, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 118
|
|
.line 119
|
|
invoke-direct {v4}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
|
|
|
|
.line 120
|
|
.line 121
|
|
.line 122
|
|
invoke-virtual {v4, v3}, Lcom/google/android/material/shape/MaterialShapeDrawable;->l(Landroid/content/Context;)V
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
invoke-virtual {v4, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 126
|
|
.line 127
|
|
.line 128
|
|
invoke-virtual {v4, v1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->n(F)V
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
invoke-virtual {v4, p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
iget-object p1, v4, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 135
|
|
.line 136
|
|
iget-object v0, p1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->h:Landroid/graphics/Rect;
|
|
|
|
.line 137
|
|
.line 138
|
|
if-nez v0, :cond_5
|
|
|
|
.line 139
|
|
.line 140
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
.line 141
|
|
.line 142
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
iput-object v0, p1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->h:Landroid/graphics/Rect;
|
|
|
|
.line 146
|
|
.line 147
|
|
:cond_5
|
|
iget-object p1, v4, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 148
|
|
.line 149
|
|
iget-object p1, p1, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->h:Landroid/graphics/Rect;
|
|
|
|
.line 150
|
|
.line 151
|
|
const/4 v0, 0x0
|
|
|
|
.line 152
|
|
invoke-virtual {p1, v0, v2, v0, v2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
invoke-virtual {v4}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
|
|
|
|
.line 156
|
|
.line 157
|
|
.line 158
|
|
return-object v4
|
|
.end method
|
|
|
|
.method public final i(IZ)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-nez p2, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getPrefixText()Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p2}, Lcom/google/android/material/textfield/StartCompoundLayout;->a()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result p2
|
|
|
|
.line 15
|
|
:goto_0
|
|
add-int/2addr p1, p2
|
|
|
|
.line 16
|
|
return p1
|
|
|
|
.line 17
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getSuffixText()Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p2
|
|
|
|
.line 23
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {p2}, Lcom/google/android/material/textfield/EndCompoundLayout;->c()I
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result p2
|
|
|
|
.line 31
|
|
goto :goto_0
|
|
|
|
.line 32
|
|
:cond_1
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p2}, Landroid/widget/TextView;->getCompoundPaddingLeft()I
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result p2
|
|
|
|
.line 38
|
|
add-int/2addr p2, p1
|
|
|
|
.line 39
|
|
return p2
|
|
.end method
|
|
|
|
.method public final j(IZ)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-nez p2, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getSuffixText()Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p2}, Lcom/google/android/material/textfield/EndCompoundLayout;->c()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result p2
|
|
|
|
.line 15
|
|
:goto_0
|
|
sub-int/2addr p1, p2
|
|
|
|
.line 16
|
|
return p1
|
|
|
|
.line 17
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getPrefixText()Ljava/lang/CharSequence;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p2
|
|
|
|
.line 23
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {p2}, Lcom/google/android/material/textfield/StartCompoundLayout;->a()I
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result p2
|
|
|
|
.line 31
|
|
goto :goto_0
|
|
|
|
.line 32
|
|
:cond_1
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p2}, Landroid/widget/TextView;->getCompoundPaddingRight()I
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result p2
|
|
|
|
.line 38
|
|
goto :goto_0
|
|
.end method
|
|
|
|
.method public final k()V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x2
|
|
|
|
.line 4
|
|
const/4 v2, 0x1
|
|
|
|
.line 5
|
|
const/4 v3, 0x0
|
|
|
|
.line 6
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eq v0, v2, :cond_3
|
|
|
|
.line 9
|
|
.line 10
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 13
|
|
.line 14
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 17
|
|
.line 18
|
|
instance-of v0, v0, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-nez v0, :cond_1
|
|
|
|
.line 21
|
|
.line 22
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 23
|
|
.line 24
|
|
sget v4, Lcom/google/android/material/textfield/CutoutDrawable;->M:I
|
|
|
|
.line 25
|
|
.line 26
|
|
new-instance v4, Lcom/google/android/material/textfield/CutoutDrawable$CutoutDrawableState;
|
|
|
|
.line 27
|
|
.line 28
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 29
|
|
.line 30
|
|
goto :goto_0
|
|
|
|
.line 31
|
|
:cond_0
|
|
new-instance v0, Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-direct {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel;-><init>()V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:goto_0
|
|
new-instance v5, Landroid/graphics/RectF;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-direct {v5}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
invoke-direct {v4, v0, v5}, Lcom/google/android/material/textfield/CutoutDrawable$CutoutDrawableState;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;Landroid/graphics/RectF;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
new-instance v0, Lcom/google/android/material/textfield/CutoutDrawable$ImplApi18;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-direct {v0, v4}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;)V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
iput-object v4, v0, Lcom/google/android/material/textfield/CutoutDrawable;->L:Lcom/google/android/material/textfield/CutoutDrawable$CutoutDrawableState;
|
|
|
|
.line 50
|
|
.line 51
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 52
|
|
.line 53
|
|
goto :goto_1
|
|
|
|
.line 54
|
|
:cond_1
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 55
|
|
.line 56
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-direct {v0, v4}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 62
|
|
.line 63
|
|
:goto_1
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 64
|
|
.line 65
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 66
|
|
.line 67
|
|
goto :goto_2
|
|
|
|
.line 68
|
|
:cond_2
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 69
|
|
.line 70
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 76
|
|
.line 77
|
|
const-string v3, " is illegal; only @BoxBackgroundMode constants are supported."
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-static {v2, v3, v1}, Landroid/support/v4/media/a;->g(ILjava/lang/String;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object v1
|
|
|
|
.line 83
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
throw v0
|
|
|
|
.line 87
|
|
:cond_3
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 88
|
|
.line 89
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-direct {v0, v3}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 95
|
|
.line 96
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 97
|
|
.line 98
|
|
invoke-direct {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 102
|
|
.line 103
|
|
new-instance v0, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 104
|
|
.line 105
|
|
invoke-direct {v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;-><init>()V
|
|
|
|
.line 106
|
|
.line 107
|
|
.line 108
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 109
|
|
.line 110
|
|
goto :goto_2
|
|
|
|
.line 111
|
|
:cond_4
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 112
|
|
.line 113
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 114
|
|
.line 115
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 116
|
|
.line 117
|
|
:goto_2
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->u()V
|
|
|
|
.line 118
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 124
|
|
.line 125
|
|
if-ne v0, v2, :cond_6
|
|
|
|
.line 126
|
|
.line 127
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
move-result-object v0
|
|
|
|
.line 131
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
move-result-object v0
|
|
|
|
.line 135
|
|
invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
move-result-object v0
|
|
|
|
.line 139
|
|
iget v0, v0, Landroid/content/res/Configuration;->fontScale:F
|
|
|
|
.line 140
|
|
.line 141
|
|
const/high16 v3, 0x40000000 # 2.0f
|
|
|
|
.line 142
|
|
.line 143
|
|
cmpl-float v0, v0, v3
|
|
|
|
.line 144
|
|
.line 145
|
|
if-ltz v0, :cond_5
|
|
|
|
.line 146
|
|
.line 147
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 148
|
|
.line 149
|
|
.line 150
|
|
move-result-object v0
|
|
|
|
.line 151
|
|
sget v3, Lcom/google/android/material/R$dimen;->material_font_2_0_box_collapsed_padding_top:I
|
|
|
|
.line 152
|
|
.line 153
|
|
invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
move-result v0
|
|
|
|
.line 157
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 158
|
|
.line 159
|
|
goto :goto_3
|
|
|
|
.line 160
|
|
:cond_5
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
move-result-object v0
|
|
|
|
.line 164
|
|
invoke-static {v0}, Lcom/google/android/material/resources/MaterialResources;->e(Landroid/content/Context;)Z
|
|
|
|
.line 165
|
|
.line 166
|
|
.line 167
|
|
move-result v0
|
|
|
|
.line 168
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 169
|
|
.line 170
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 171
|
|
.line 172
|
|
.line 173
|
|
move-result-object v0
|
|
|
|
.line 174
|
|
sget v3, Lcom/google/android/material/R$dimen;->material_font_1_3_box_collapsed_padding_top:I
|
|
|
|
.line 175
|
|
.line 176
|
|
invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 177
|
|
.line 178
|
|
.line 179
|
|
move-result v0
|
|
|
|
.line 180
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 181
|
|
.line 182
|
|
:cond_6
|
|
:goto_3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->a()V
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 186
|
|
.line 187
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 188
|
|
.line 189
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->v()V
|
|
|
|
.line 190
|
|
.line 191
|
|
.line 192
|
|
:cond_7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 193
|
|
.line 194
|
|
instance-of v3, v0, Landroid/widget/AutoCompleteTextView;
|
|
|
|
.line 195
|
|
.line 196
|
|
if-nez v3, :cond_8
|
|
|
|
.line 197
|
|
.line 198
|
|
goto :goto_4
|
|
|
|
.line 199
|
|
:cond_8
|
|
check-cast v0, Landroid/widget/AutoCompleteTextView;
|
|
|
|
.line 200
|
|
.line 201
|
|
invoke-virtual {v0}, Landroid/widget/AutoCompleteTextView;->getDropDownBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
move-result-object v3
|
|
|
|
.line 205
|
|
if-nez v3, :cond_a
|
|
|
|
.line 206
|
|
.line 207
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 208
|
|
.line 209
|
|
if-ne v3, v1, :cond_9
|
|
|
|
.line 210
|
|
.line 211
|
|
invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getOrCreateOutlinedDropDownMenuBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 212
|
|
.line 213
|
|
.line 214
|
|
move-result-object v1
|
|
|
|
.line 215
|
|
invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->setDropDownBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 216
|
|
.line 217
|
|
.line 218
|
|
return-void
|
|
|
|
.line 219
|
|
:cond_9
|
|
if-ne v3, v2, :cond_a
|
|
|
|
.line 220
|
|
.line 221
|
|
invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getOrCreateFilledDropDownMenuBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
move-result-object v1
|
|
|
|
.line 225
|
|
invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->setDropDownBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 226
|
|
.line 227
|
|
.line 228
|
|
:cond_a
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final l()V
|
|
.locals 12
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-nez v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
goto/16 :goto_b
|
|
|
|
.line 8
|
|
.line 9
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v0
|
|
|
|
.line 15
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getGravity()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v1
|
|
|
|
.line 21
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-object v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->B:Ljava/lang/CharSequence;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v2, v3}, Lcom/google/android/material/internal/CollapsingTextHelper;->c(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v3
|
|
|
|
.line 29
|
|
iput-boolean v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v4, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->d:Landroid/graphics/Rect;
|
|
|
|
.line 32
|
|
.line 33
|
|
const/high16 v5, 0x40000000 # 2.0f
|
|
|
|
.line 34
|
|
.line 35
|
|
const/4 v6, 0x1
|
|
|
|
.line 36
|
|
const/4 v7, 0x5
|
|
|
|
.line 37
|
|
const v8, 0x800005
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
const/16 v9, 0x11
|
|
|
|
.line 41
|
|
.line 42
|
|
if-eq v1, v9, :cond_6
|
|
|
|
.line 43
|
|
.line 44
|
|
and-int/lit8 v10, v1, 0x7
|
|
|
|
.line 45
|
|
.line 46
|
|
if-ne v10, v6, :cond_1
|
|
|
|
.line 47
|
|
.line 48
|
|
goto :goto_3
|
|
|
|
.line 49
|
|
:cond_1
|
|
and-int v10, v1, v8
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eq v10, v8, :cond_4
|
|
|
|
.line 52
|
|
.line 53
|
|
and-int/lit8 v10, v1, 0x5
|
|
|
|
.line 54
|
|
.line 55
|
|
if-ne v10, v7, :cond_2
|
|
|
|
.line 56
|
|
.line 57
|
|
goto :goto_2
|
|
|
|
.line 58
|
|
:cond_2
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 59
|
|
.line 60
|
|
iget v3, v4, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 61
|
|
.line 62
|
|
int-to-float v3, v3
|
|
|
|
.line 63
|
|
iget v10, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 64
|
|
.line 65
|
|
:goto_0
|
|
sub-float/2addr v3, v10
|
|
|
|
.line 66
|
|
goto :goto_4
|
|
|
|
.line 67
|
|
:cond_3
|
|
iget v3, v4, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 68
|
|
.line 69
|
|
:goto_1
|
|
int-to-float v3, v3
|
|
|
|
.line 70
|
|
goto :goto_4
|
|
|
|
.line 71
|
|
:cond_4
|
|
:goto_2
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 72
|
|
.line 73
|
|
iget v3, v4, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 74
|
|
.line 75
|
|
goto :goto_1
|
|
|
|
.line 76
|
|
:cond_5
|
|
iget v3, v4, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 77
|
|
.line 78
|
|
int-to-float v3, v3
|
|
|
|
.line 79
|
|
iget v10, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 80
|
|
.line 81
|
|
goto :goto_0
|
|
|
|
.line 82
|
|
:cond_6
|
|
:goto_3
|
|
int-to-float v3, v0
|
|
|
|
.line 83
|
|
div-float/2addr v3, v5
|
|
|
|
.line 84
|
|
iget v10, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 85
|
|
.line 86
|
|
div-float/2addr v10, v5
|
|
|
|
.line 87
|
|
goto :goto_0
|
|
|
|
.line 88
|
|
:goto_4
|
|
iget v10, v4, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 89
|
|
.line 90
|
|
int-to-float v10, v10
|
|
|
|
.line 91
|
|
invoke-static {v3, v10}, Ljava/lang/Math;->max(FF)F
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result v3
|
|
|
|
.line 95
|
|
iget-object v10, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 96
|
|
.line 97
|
|
iput v3, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 98
|
|
.line 99
|
|
iget v11, v4, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 100
|
|
.line 101
|
|
int-to-float v11, v11
|
|
|
|
.line 102
|
|
iput v11, v10, Landroid/graphics/RectF;->top:F
|
|
|
|
.line 103
|
|
.line 104
|
|
if-eq v1, v9, :cond_c
|
|
|
|
.line 105
|
|
.line 106
|
|
and-int/lit8 v9, v1, 0x7
|
|
|
|
.line 107
|
|
.line 108
|
|
if-ne v9, v6, :cond_7
|
|
|
|
.line 109
|
|
.line 110
|
|
goto :goto_8
|
|
|
|
.line 111
|
|
:cond_7
|
|
and-int v0, v1, v8
|
|
|
|
.line 112
|
|
.line 113
|
|
if-eq v0, v8, :cond_a
|
|
|
|
.line 114
|
|
.line 115
|
|
and-int/lit8 v0, v1, 0x5
|
|
|
|
.line 116
|
|
.line 117
|
|
if-ne v0, v7, :cond_8
|
|
|
|
.line 118
|
|
.line 119
|
|
goto :goto_7
|
|
|
|
.line 120
|
|
:cond_8
|
|
iget-boolean v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 121
|
|
.line 122
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 123
|
|
.line 124
|
|
iget v0, v4, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 125
|
|
.line 126
|
|
:goto_5
|
|
int-to-float v0, v0
|
|
|
|
.line 127
|
|
goto :goto_9
|
|
|
|
.line 128
|
|
:cond_9
|
|
iget v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 129
|
|
.line 130
|
|
:goto_6
|
|
add-float/2addr v0, v3
|
|
|
|
.line 131
|
|
goto :goto_9
|
|
|
|
.line 132
|
|
:cond_a
|
|
:goto_7
|
|
iget-boolean v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 133
|
|
.line 134
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 135
|
|
.line 136
|
|
iget v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 137
|
|
.line 138
|
|
goto :goto_6
|
|
|
|
.line 139
|
|
:cond_b
|
|
iget v0, v4, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 140
|
|
.line 141
|
|
goto :goto_5
|
|
|
|
.line 142
|
|
:cond_c
|
|
:goto_8
|
|
int-to-float v0, v0
|
|
|
|
.line 143
|
|
div-float/2addr v0, v5
|
|
|
|
.line 144
|
|
iget v1, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->a0:F
|
|
|
|
.line 145
|
|
.line 146
|
|
div-float/2addr v1, v5
|
|
|
|
.line 147
|
|
add-float/2addr v0, v1
|
|
|
|
.line 148
|
|
:goto_9
|
|
iget v1, v4, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 149
|
|
.line 150
|
|
int-to-float v1, v1
|
|
|
|
.line 151
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
move-result v0
|
|
|
|
.line 155
|
|
iput v0, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 156
|
|
.line 157
|
|
iget v0, v4, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 158
|
|
.line 159
|
|
int-to-float v0, v0
|
|
|
|
.line 160
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
move-result v1
|
|
|
|
.line 164
|
|
add-float/2addr v1, v0
|
|
|
|
.line 165
|
|
iput v1, v10, Landroid/graphics/RectF;->bottom:F
|
|
|
|
.line 166
|
|
.line 167
|
|
iget-object v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 168
|
|
.line 169
|
|
if-eqz v0, :cond_e
|
|
|
|
.line 170
|
|
.line 171
|
|
invoke-virtual {v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->q()Z
|
|
|
|
.line 172
|
|
.line 173
|
|
.line 174
|
|
move-result v0
|
|
|
|
.line 175
|
|
if-nez v0, :cond_e
|
|
|
|
.line 176
|
|
.line 177
|
|
iget-object v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->Z:Landroid/text/StaticLayout;
|
|
|
|
.line 178
|
|
.line 179
|
|
invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I
|
|
|
|
.line 180
|
|
.line 181
|
|
.line 182
|
|
move-result v1
|
|
|
|
.line 183
|
|
sub-int/2addr v1, v6
|
|
|
|
.line 184
|
|
invoke-virtual {v0, v1}, Landroid/text/Layout;->getLineWidth(I)F
|
|
|
|
.line 185
|
|
.line 186
|
|
.line 187
|
|
move-result v0
|
|
|
|
.line 188
|
|
iget v1, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->i:F
|
|
|
|
.line 189
|
|
.line 190
|
|
iget v3, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 191
|
|
.line 192
|
|
div-float/2addr v1, v3
|
|
|
|
.line 193
|
|
mul-float/2addr v1, v0
|
|
|
|
.line 194
|
|
iget-boolean v0, v2, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 195
|
|
.line 196
|
|
if-eqz v0, :cond_d
|
|
|
|
.line 197
|
|
.line 198
|
|
iget v0, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 199
|
|
.line 200
|
|
sub-float/2addr v0, v1
|
|
|
|
.line 201
|
|
iput v0, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 202
|
|
.line 203
|
|
goto :goto_a
|
|
|
|
.line 204
|
|
:cond_d
|
|
iget v0, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 205
|
|
.line 206
|
|
add-float/2addr v0, v1
|
|
|
|
.line 207
|
|
iput v0, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 208
|
|
.line 209
|
|
:cond_e
|
|
:goto_a
|
|
invoke-virtual {v10}, Landroid/graphics/RectF;->width()F
|
|
|
|
.line 210
|
|
.line 211
|
|
.line 212
|
|
move-result v0
|
|
|
|
.line 213
|
|
const/4 v1, 0x0
|
|
|
|
.line 214
|
|
cmpg-float v0, v0, v1
|
|
|
|
.line 215
|
|
.line 216
|
|
if-lez v0, :cond_10
|
|
|
|
.line 217
|
|
.line 218
|
|
invoke-virtual {v10}, Landroid/graphics/RectF;->height()F
|
|
|
|
.line 219
|
|
.line 220
|
|
.line 221
|
|
move-result v0
|
|
|
|
.line 222
|
|
cmpg-float v0, v0, v1
|
|
|
|
.line 223
|
|
.line 224
|
|
if-gtz v0, :cond_f
|
|
|
|
.line 225
|
|
.line 226
|
|
goto :goto_b
|
|
|
|
.line 227
|
|
:cond_f
|
|
iget v0, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 228
|
|
.line 229
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->S:I
|
|
|
|
.line 230
|
|
.line 231
|
|
int-to-float v2, v2
|
|
|
|
.line 232
|
|
sub-float/2addr v0, v2
|
|
|
|
.line 233
|
|
iput v0, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 234
|
|
.line 235
|
|
iget v0, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 236
|
|
.line 237
|
|
add-float/2addr v0, v2
|
|
|
|
.line 238
|
|
iput v0, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 239
|
|
.line 240
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
move-result v0
|
|
|
|
.line 244
|
|
neg-int v0, v0
|
|
|
|
.line 245
|
|
int-to-float v0, v0
|
|
|
|
.line 246
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 247
|
|
.line 248
|
|
.line 249
|
|
move-result v2
|
|
|
|
.line 250
|
|
neg-int v2, v2
|
|
|
|
.line 251
|
|
int-to-float v2, v2
|
|
|
|
.line 252
|
|
invoke-virtual {v10}, Landroid/graphics/RectF;->height()F
|
|
|
|
.line 253
|
|
.line 254
|
|
.line 255
|
|
move-result v3
|
|
|
|
.line 256
|
|
div-float/2addr v3, v5
|
|
|
|
.line 257
|
|
sub-float/2addr v2, v3
|
|
|
|
.line 258
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 259
|
|
.line 260
|
|
int-to-float v3, v3
|
|
|
|
.line 261
|
|
add-float/2addr v2, v3
|
|
|
|
.line 262
|
|
invoke-virtual {v10, v0, v2}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
.line 263
|
|
.line 264
|
|
.line 265
|
|
iput v1, v10, Landroid/graphics/RectF;->top:F
|
|
|
|
.line 266
|
|
.line 267
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 268
|
|
.line 269
|
|
check-cast v0, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 270
|
|
.line 271
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 272
|
|
.line 273
|
|
.line 274
|
|
iget v1, v10, Landroid/graphics/RectF;->left:F
|
|
|
|
.line 275
|
|
.line 276
|
|
iget v2, v10, Landroid/graphics/RectF;->top:F
|
|
|
|
.line 277
|
|
.line 278
|
|
iget v3, v10, Landroid/graphics/RectF;->right:F
|
|
|
|
.line 279
|
|
.line 280
|
|
iget v4, v10, Landroid/graphics/RectF;->bottom:F
|
|
|
|
.line 281
|
|
.line 282
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/google/android/material/textfield/CutoutDrawable;->w(FFFF)V
|
|
|
|
.line 283
|
|
.line 284
|
|
.line 285
|
|
:cond_10
|
|
:goto_b
|
|
return-void
|
|
.end method
|
|
|
|
.method public final n(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p1}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p2
|
|
|
|
.line 8
|
|
invoke-virtual {p2}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p2
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 12
|
|
const v0, -0xff01
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
if-ne p2, v0, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 19
|
|
:catch_0
|
|
:goto_0
|
|
sget p2, Landroidx/appcompat/R$style;->TextAppearance_AppCompat_Caption:I
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object p2
|
|
|
|
.line 28
|
|
sget v0, Lcom/google/android/material/R$color;->design_error:I
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p2, v0}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result p2
|
|
|
|
.line 34
|
|
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
return-void
|
|
.end method
|
|
|
|
.method public final o()Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x1
|
|
|
|
.line 6
|
|
if-ne v1, v2, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->p:Ljava/lang/CharSequence;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v0
|
|
|
|
.line 18
|
|
if-nez v0, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
return v2
|
|
|
|
.line 21
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
return v0
|
|
.end method
|
|
|
|
.method public final onConfigurationChanged(Landroid/content/res/Configuration;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onConfigurationChanged(Landroid/content/res/Configuration;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->i(Landroid/content/res/Configuration;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onGlobalLayout()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
invoke-virtual {v1, p0}, Landroid/view/ViewTreeObserver;->removeOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
const/4 v1, 0x0
|
|
|
|
.line 11
|
|
iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->G0:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-nez v2, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v0
|
|
|
|
.line 22
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v2
|
|
|
|
.line 28
|
|
invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v0
|
|
|
|
.line 32
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result v2
|
|
|
|
.line 38
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 39
|
|
.line 40
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setMinimumHeight(I)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
const/4 v1, 0x1
|
|
|
|
.line 46
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->s()Z
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result v0
|
|
|
|
.line 50
|
|
if-nez v1, :cond_3
|
|
|
|
.line 51
|
|
.line 52
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 53
|
|
.line 54
|
|
goto :goto_1
|
|
|
|
.line 55
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 56
|
|
:cond_3
|
|
:goto_1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 57
|
|
.line 58
|
|
new-instance v1, Lcom/google/android/material/textfield/d;
|
|
|
|
.line 59
|
|
.line 60
|
|
const/4 v2, 0x2
|
|
|
|
.line 61
|
|
invoke-direct {v1, v2, p0}, Lcom/google/android/material/textfield/d;-><init>(ILjava/lang/Object;)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onLayout(ZIIII)V
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/LinearLayout;->onLayout(ZIIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-object p1, p0
|
|
|
|
.line 5
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz p2, :cond_e
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object p3, p1, Lcom/google/android/material/textfield/TextInputLayout;->d0:Landroid/graphics/Rect;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p0, p2, p3}, Lcom/google/android/material/internal/DescendantOffsetUtils;->a(Landroid/view/ViewGroup;Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->O:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 15
|
|
.line 16
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
iget p4, p3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 19
|
|
.line 20
|
|
iget p5, p1, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 21
|
|
.line 22
|
|
sub-int p5, p4, p5
|
|
|
|
.line 23
|
|
.line 24
|
|
iget v0, p3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 25
|
|
.line 26
|
|
iget v1, p3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p2, v0, p5, v1, p4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
:cond_0
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->P:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 32
|
|
.line 33
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 34
|
|
.line 35
|
|
iget p4, p3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 36
|
|
.line 37
|
|
iget p5, p1, Lcom/google/android/material/textfield/TextInputLayout;->a0:I
|
|
|
|
.line 38
|
|
.line 39
|
|
sub-int p5, p4, p5
|
|
|
|
.line 40
|
|
.line 41
|
|
iget v0, p3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 42
|
|
.line 43
|
|
iget v1, p3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p2, v0, p5, v1, p4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
:cond_1
|
|
iget-boolean p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 49
|
|
.line 50
|
|
if-eqz p2, :cond_e
|
|
|
|
.line 51
|
|
.line 52
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {p2}, Landroid/widget/TextView;->getTextSize()F
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result p2
|
|
|
|
.line 58
|
|
iget-object p4, p1, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 59
|
|
.line 60
|
|
iget p5, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 61
|
|
.line 62
|
|
iget-object v0, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->P:Landroid/text/TextPaint;
|
|
|
|
.line 63
|
|
.line 64
|
|
cmpl-float p5, p5, p2
|
|
|
|
.line 65
|
|
.line 66
|
|
const/4 v1, 0x0
|
|
|
|
.line 67
|
|
if-eqz p5, :cond_2
|
|
|
|
.line 68
|
|
.line 69
|
|
iput p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-virtual {p4, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
:cond_2
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {p2}, Landroid/widget/TextView;->getGravity()I
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result p2
|
|
|
|
.line 80
|
|
and-int/lit8 p5, p2, -0x71
|
|
|
|
.line 81
|
|
.line 82
|
|
or-int/lit8 p5, p5, 0x30
|
|
|
|
.line 83
|
|
.line 84
|
|
iget v2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 85
|
|
.line 86
|
|
if-eq v2, p5, :cond_3
|
|
|
|
.line 87
|
|
.line 88
|
|
iput p5, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->g:I
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {p4, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
:cond_3
|
|
iget p5, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->f:I
|
|
|
|
.line 94
|
|
.line 95
|
|
if-eq p5, p2, :cond_4
|
|
|
|
.line 96
|
|
.line 97
|
|
iput p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->f:I
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-virtual {p4, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
:cond_4
|
|
invoke-virtual {p0, p3}, Lcom/google/android/material/textfield/TextInputLayout;->d(Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result-object p2
|
|
|
|
.line 106
|
|
iget p5, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 107
|
|
.line 108
|
|
iget v2, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 109
|
|
.line 110
|
|
iget v3, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 111
|
|
.line 112
|
|
iget p2, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 113
|
|
.line 114
|
|
iget-object v4, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->d:Landroid/graphics/Rect;
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-static {v4, p5, v2, v3, p2}, Lcom/google/android/material/internal/CollapsingTextHelper;->k(Landroid/graphics/Rect;IIII)Z
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
move-result v5
|
|
|
|
.line 120
|
|
const/4 v6, 0x1
|
|
|
|
.line 121
|
|
if-nez v5, :cond_5
|
|
|
|
.line 122
|
|
.line 123
|
|
invoke-virtual {v4, p5, v2, v3, p2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
iput-boolean v6, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->N:Z
|
|
|
|
.line 127
|
|
.line 128
|
|
:cond_5
|
|
iget-object p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 129
|
|
.line 130
|
|
if-eqz p2, :cond_d
|
|
|
|
.line 131
|
|
.line 132
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHintMaxLines()I
|
|
|
|
.line 133
|
|
.line 134
|
|
.line 135
|
|
move-result p2
|
|
|
|
.line 136
|
|
if-ne p2, v6, :cond_6
|
|
|
|
.line 137
|
|
.line 138
|
|
iget p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 139
|
|
.line 140
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
iget-object p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->v:Landroid/graphics/Typeface;
|
|
|
|
.line 144
|
|
.line 145
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
iget p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 149
|
|
.line 150
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 151
|
|
.line 152
|
|
.line 153
|
|
invoke-virtual {v0}, Landroid/graphics/Paint;->ascent()F
|
|
|
|
.line 154
|
|
.line 155
|
|
.line 156
|
|
move-result p2
|
|
|
|
.line 157
|
|
neg-float p2, p2
|
|
|
|
.line 158
|
|
goto :goto_0
|
|
|
|
.line 159
|
|
:cond_6
|
|
iget p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 160
|
|
.line 161
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
iget-object p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->v:Landroid/graphics/Typeface;
|
|
|
|
.line 165
|
|
.line 166
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 167
|
|
.line 168
|
|
.line 169
|
|
iget p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 170
|
|
.line 171
|
|
invoke-virtual {v0, p2}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 172
|
|
.line 173
|
|
.line 174
|
|
invoke-virtual {v0}, Landroid/graphics/Paint;->ascent()F
|
|
|
|
.line 175
|
|
.line 176
|
|
.line 177
|
|
move-result p2
|
|
|
|
.line 178
|
|
neg-float p2, p2
|
|
|
|
.line 179
|
|
invoke-virtual {v0}, Landroid/graphics/Paint;->descent()F
|
|
|
|
.line 180
|
|
.line 181
|
|
.line 182
|
|
move-result p5
|
|
|
|
.line 183
|
|
add-float/2addr p5, p2
|
|
|
|
.line 184
|
|
iget p2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->l:I
|
|
|
|
.line 185
|
|
.line 186
|
|
int-to-float p2, p2
|
|
|
|
.line 187
|
|
mul-float/2addr p2, p5
|
|
|
|
.line 188
|
|
:goto_0
|
|
iget p5, p3, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 189
|
|
.line 190
|
|
iget-object v2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 191
|
|
.line 192
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundPaddingLeft()I
|
|
|
|
.line 193
|
|
.line 194
|
|
.line 195
|
|
move-result v2
|
|
|
|
.line 196
|
|
add-int/2addr v2, p5
|
|
|
|
.line 197
|
|
iget-object p5, p1, Lcom/google/android/material/textfield/TextInputLayout;->e0:Landroid/graphics/Rect;
|
|
|
|
.line 198
|
|
.line 199
|
|
iput v2, p5, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 200
|
|
.line 201
|
|
iget v2, p1, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 202
|
|
.line 203
|
|
const/high16 v3, 0x40000000 # 2.0f
|
|
|
|
.line 204
|
|
.line 205
|
|
if-ne v2, v6, :cond_7
|
|
|
|
.line 206
|
|
.line 207
|
|
iget-object v2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 208
|
|
.line 209
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getMinLines()I
|
|
|
|
.line 210
|
|
.line 211
|
|
.line 212
|
|
move-result v2
|
|
|
|
.line 213
|
|
if-gt v2, v6, :cond_7
|
|
|
|
.line 214
|
|
.line 215
|
|
invoke-virtual {p3}, Landroid/graphics/Rect;->centerY()I
|
|
|
|
.line 216
|
|
.line 217
|
|
.line 218
|
|
move-result v0
|
|
|
|
.line 219
|
|
int-to-float v0, v0
|
|
|
|
.line 220
|
|
div-float v2, p2, v3
|
|
|
|
.line 221
|
|
.line 222
|
|
sub-float/2addr v0, v2
|
|
|
|
.line 223
|
|
float-to-int v0, v0
|
|
|
|
.line 224
|
|
goto :goto_3
|
|
|
|
.line 225
|
|
:cond_7
|
|
iget v2, p1, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 226
|
|
.line 227
|
|
if-nez v2, :cond_9
|
|
|
|
.line 228
|
|
.line 229
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHintMaxLines()I
|
|
|
|
.line 230
|
|
.line 231
|
|
.line 232
|
|
move-result v2
|
|
|
|
.line 233
|
|
if-ne v2, v6, :cond_8
|
|
|
|
.line 234
|
|
.line 235
|
|
goto :goto_1
|
|
|
|
.line 236
|
|
:cond_8
|
|
iget v2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 237
|
|
.line 238
|
|
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 239
|
|
.line 240
|
|
.line 241
|
|
iget-object v2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->v:Landroid/graphics/Typeface;
|
|
|
|
.line 242
|
|
.line 243
|
|
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 244
|
|
.line 245
|
|
.line 246
|
|
iget v2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 247
|
|
.line 248
|
|
invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 249
|
|
.line 250
|
|
.line 251
|
|
invoke-virtual {v0}, Landroid/graphics/Paint;->ascent()F
|
|
|
|
.line 252
|
|
.line 253
|
|
.line 254
|
|
move-result v0
|
|
|
|
.line 255
|
|
neg-float v0, v0
|
|
|
|
.line 256
|
|
div-float/2addr v0, v3
|
|
|
|
.line 257
|
|
float-to-int v0, v0
|
|
|
|
.line 258
|
|
goto :goto_2
|
|
|
|
.line 259
|
|
:cond_9
|
|
:goto_1
|
|
move v0, v1
|
|
|
|
.line 260
|
|
:goto_2
|
|
iget v2, p3, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 261
|
|
.line 262
|
|
iget-object v3, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 263
|
|
.line 264
|
|
invoke-virtual {v3}, Landroid/widget/TextView;->getCompoundPaddingTop()I
|
|
|
|
.line 265
|
|
.line 266
|
|
.line 267
|
|
move-result v3
|
|
|
|
.line 268
|
|
add-int/2addr v3, v2
|
|
|
|
.line 269
|
|
sub-int v0, v3, v0
|
|
|
|
.line 270
|
|
.line 271
|
|
:goto_3
|
|
iput v0, p5, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 272
|
|
.line 273
|
|
iget v0, p3, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 274
|
|
.line 275
|
|
iget-object v2, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 276
|
|
.line 277
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundPaddingRight()I
|
|
|
|
.line 278
|
|
.line 279
|
|
.line 280
|
|
move-result v2
|
|
|
|
.line 281
|
|
sub-int/2addr v0, v2
|
|
|
|
.line 282
|
|
iput v0, p5, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 283
|
|
.line 284
|
|
iget v0, p1, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 285
|
|
.line 286
|
|
if-ne v0, v6, :cond_a
|
|
|
|
.line 287
|
|
.line 288
|
|
iget-object v0, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 289
|
|
.line 290
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getMinLines()I
|
|
|
|
.line 291
|
|
.line 292
|
|
.line 293
|
|
move-result v0
|
|
|
|
.line 294
|
|
if-gt v0, v6, :cond_a
|
|
|
|
.line 295
|
|
.line 296
|
|
iget p3, p5, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 297
|
|
.line 298
|
|
int-to-float p3, p3
|
|
|
|
.line 299
|
|
add-float/2addr p3, p2
|
|
|
|
.line 300
|
|
float-to-int p2, p3
|
|
|
|
.line 301
|
|
goto :goto_4
|
|
|
|
.line 302
|
|
:cond_a
|
|
iget p2, p3, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 303
|
|
.line 304
|
|
iget-object p3, p1, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 305
|
|
.line 306
|
|
invoke-virtual {p3}, Landroid/widget/TextView;->getCompoundPaddingBottom()I
|
|
|
|
.line 307
|
|
.line 308
|
|
.line 309
|
|
move-result p3
|
|
|
|
.line 310
|
|
sub-int/2addr p2, p3
|
|
|
|
.line 311
|
|
:goto_4
|
|
iput p2, p5, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 312
|
|
.line 313
|
|
iget p3, p5, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 314
|
|
.line 315
|
|
iget v0, p5, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 316
|
|
.line 317
|
|
iget p5, p5, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 318
|
|
.line 319
|
|
iget-object v2, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->c:Landroid/graphics/Rect;
|
|
|
|
.line 320
|
|
.line 321
|
|
invoke-static {v2, p3, v0, p5, p2}, Lcom/google/android/material/internal/CollapsingTextHelper;->k(Landroid/graphics/Rect;IIII)Z
|
|
|
|
.line 322
|
|
.line 323
|
|
.line 324
|
|
move-result v3
|
|
|
|
.line 325
|
|
if-eqz v3, :cond_b
|
|
|
|
.line 326
|
|
.line 327
|
|
iget-boolean v3, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->k0:Z
|
|
|
|
.line 328
|
|
.line 329
|
|
if-eq v6, v3, :cond_c
|
|
|
|
.line 330
|
|
.line 331
|
|
:cond_b
|
|
invoke-virtual {v2, p3, v0, p5, p2}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 332
|
|
.line 333
|
|
.line 334
|
|
iput-boolean v6, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->N:Z
|
|
|
|
.line 335
|
|
.line 336
|
|
iput-boolean v6, p4, Lcom/google/android/material/internal/CollapsingTextHelper;->k0:Z
|
|
|
|
.line 337
|
|
.line 338
|
|
:cond_c
|
|
invoke-virtual {p4, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 339
|
|
.line 340
|
|
.line 341
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 342
|
|
.line 343
|
|
.line 344
|
|
move-result p2
|
|
|
|
.line 345
|
|
if-eqz p2, :cond_e
|
|
|
|
.line 346
|
|
.line 347
|
|
iget-boolean p2, p1, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 348
|
|
.line 349
|
|
if-nez p2, :cond_e
|
|
|
|
.line 350
|
|
.line 351
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->l()V
|
|
|
|
.line 352
|
|
.line 353
|
|
.line 354
|
|
return-void
|
|
|
|
.line 355
|
|
:cond_d
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 356
|
|
.line 357
|
|
invoke-direct {p2}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
.line 358
|
|
.line 359
|
|
.line 360
|
|
throw p2
|
|
|
|
.line 361
|
|
:cond_e
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->onMeasure(II)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->G0:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 p2, 0x1
|
|
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p1
|
|
|
|
.line 15
|
|
invoke-virtual {p1, p0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
iput-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->G0:Z
|
|
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 21
|
|
.line 22
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 23
|
|
.line 24
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 25
|
|
.line 26
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p1}, Landroid/widget/TextView;->getGravity()I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result p1
|
|
|
|
.line 32
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setGravity(I)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 38
|
|
.line 39
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getCompoundPaddingLeft()I
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result v1
|
|
|
|
.line 45
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundPaddingTop()I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v2
|
|
|
|
.line 51
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v3}, Landroid/widget/TextView;->getCompoundPaddingRight()I
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result v3
|
|
|
|
.line 57
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {v4}, Landroid/widget/TextView;->getCompoundPaddingBottom()I
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result v4
|
|
|
|
.line 63
|
|
invoke-virtual {p1, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
:cond_1
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/EndCompoundLayout;->m()V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getHintMaxLines()I
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result p1
|
|
|
|
.line 73
|
|
if-ne p1, p2, :cond_2
|
|
|
|
.line 74
|
|
.line 75
|
|
goto/16 :goto_5
|
|
|
|
.line 76
|
|
.line 77
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result p1
|
|
|
|
.line 83
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCompoundPaddingLeft()I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result v0
|
|
|
|
.line 89
|
|
sub-int/2addr p1, v0
|
|
|
|
.line 90
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCompoundPaddingRight()I
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result v0
|
|
|
|
.line 96
|
|
sub-int/2addr p1, v0
|
|
|
|
.line 97
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-object v2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->P:Landroid/text/TextPaint;
|
|
|
|
.line 100
|
|
.line 101
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->i:F
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
iget-object v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->s:Landroid/graphics/Typeface;
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->W:F
|
|
|
|
.line 112
|
|
.line 113
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->f0:I
|
|
|
|
.line 117
|
|
.line 118
|
|
iget-object v3, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->B:Ljava/lang/CharSequence;
|
|
|
|
.line 119
|
|
.line 120
|
|
int-to-float v6, p1
|
|
|
|
.line 121
|
|
iget v4, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->i:F
|
|
|
|
.line 122
|
|
.line 123
|
|
iget v5, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 124
|
|
.line 125
|
|
div-float/2addr v4, v5
|
|
|
|
.line 126
|
|
mul-float/2addr v4, v6
|
|
|
|
.line 127
|
|
iget-boolean v5, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 128
|
|
.line 129
|
|
invoke-virtual/range {v0 .. v5}, Lcom/google/android/material/internal/CollapsingTextHelper;->e(ILandroid/text/TextPaint;Ljava/lang/CharSequence;FZ)Landroid/text/StaticLayout;
|
|
|
|
.line 130
|
|
.line 131
|
|
.line 132
|
|
move-result-object v1
|
|
|
|
.line 133
|
|
invoke-virtual {v1}, Landroid/text/Layout;->getHeight()I
|
|
|
|
.line 134
|
|
.line 135
|
|
.line 136
|
|
move-result v1
|
|
|
|
.line 137
|
|
iput v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->i0:I
|
|
|
|
.line 138
|
|
.line 139
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 140
|
|
.line 141
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 142
|
|
.line 143
|
|
.line 144
|
|
iget-object v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->v:Landroid/graphics/Typeface;
|
|
|
|
.line 145
|
|
.line 146
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 147
|
|
.line 148
|
|
.line 149
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->e0:I
|
|
|
|
.line 155
|
|
.line 156
|
|
iget-object v3, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->B:Ljava/lang/CharSequence;
|
|
|
|
.line 157
|
|
.line 158
|
|
iget-boolean v5, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->D:Z
|
|
|
|
.line 159
|
|
.line 160
|
|
move v4, v6
|
|
|
|
.line 161
|
|
invoke-virtual/range {v0 .. v5}, Lcom/google/android/material/internal/CollapsingTextHelper;->e(ILandroid/text/TextPaint;Ljava/lang/CharSequence;FZ)Landroid/text/StaticLayout;
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
move-result-object v1
|
|
|
|
.line 165
|
|
invoke-virtual {v1}, Landroid/text/Layout;->getHeight()I
|
|
|
|
.line 166
|
|
.line 167
|
|
.line 168
|
|
move-result v1
|
|
|
|
.line 169
|
|
iput v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->j0:I
|
|
|
|
.line 170
|
|
.line 171
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 172
|
|
.line 173
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->d0:Landroid/graphics/Rect;
|
|
|
|
.line 174
|
|
.line 175
|
|
invoke-static {p0, v1, v2}, Lcom/google/android/material/internal/DescendantOffsetUtils;->a(Landroid/view/ViewGroup;Landroid/view/View;Landroid/graphics/Rect;)V
|
|
|
|
.line 176
|
|
.line 177
|
|
.line 178
|
|
invoke-virtual {p0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->d(Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
|
|
.line 179
|
|
.line 180
|
|
.line 181
|
|
move-result-object v1
|
|
|
|
.line 182
|
|
iget v2, v1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 183
|
|
.line 184
|
|
iget v3, v1, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 185
|
|
.line 186
|
|
iget v4, v1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 187
|
|
.line 188
|
|
iget v1, v1, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 189
|
|
.line 190
|
|
iget-object v5, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->d:Landroid/graphics/Rect;
|
|
|
|
.line 191
|
|
.line 192
|
|
invoke-static {v5, v2, v3, v4, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->k(Landroid/graphics/Rect;IIII)Z
|
|
|
|
.line 193
|
|
.line 194
|
|
.line 195
|
|
move-result v6
|
|
|
|
.line 196
|
|
if-nez v6, :cond_3
|
|
|
|
.line 197
|
|
.line 198
|
|
invoke-virtual {v5, v2, v3, v4, v1}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
iput-boolean p2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->N:Z
|
|
|
|
.line 202
|
|
.line 203
|
|
:cond_3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->v()V
|
|
|
|
.line 204
|
|
.line 205
|
|
.line 206
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->a()V
|
|
|
|
.line 207
|
|
.line 208
|
|
.line 209
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 210
|
|
.line 211
|
|
if-nez v1, :cond_4
|
|
|
|
.line 212
|
|
.line 213
|
|
goto/16 :goto_5
|
|
|
|
.line 214
|
|
.line 215
|
|
:cond_4
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->j0:I
|
|
|
|
.line 216
|
|
.line 217
|
|
const/4 v2, -0x1
|
|
|
|
.line 218
|
|
if-eq v1, v2, :cond_5
|
|
|
|
.line 219
|
|
.line 220
|
|
int-to-float v1, v1
|
|
|
|
.line 221
|
|
goto :goto_0
|
|
|
|
.line 222
|
|
:cond_5
|
|
iget-object v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->P:Landroid/text/TextPaint;
|
|
|
|
.line 223
|
|
.line 224
|
|
iget v2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->h:F
|
|
|
|
.line 225
|
|
.line 226
|
|
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 227
|
|
.line 228
|
|
.line 229
|
|
iget-object v2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->v:Landroid/graphics/Typeface;
|
|
|
|
.line 230
|
|
.line 231
|
|
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 232
|
|
.line 233
|
|
.line 234
|
|
iget v2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->X:F
|
|
|
|
.line 235
|
|
.line 236
|
|
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 237
|
|
.line 238
|
|
.line 239
|
|
invoke-virtual {v1}, Landroid/graphics/Paint;->ascent()F
|
|
|
|
.line 240
|
|
.line 241
|
|
.line 242
|
|
move-result v1
|
|
|
|
.line 243
|
|
neg-float v1, v1
|
|
|
|
.line 244
|
|
:goto_0
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 245
|
|
.line 246
|
|
const/4 v3, 0x0
|
|
|
|
.line 247
|
|
if-eqz v2, :cond_8
|
|
|
|
.line 248
|
|
.line 249
|
|
new-instance v2, Landroid/text/TextPaint;
|
|
|
|
.line 250
|
|
.line 251
|
|
const/16 v4, 0x81
|
|
|
|
.line 252
|
|
.line 253
|
|
invoke-direct {v2, v4}, Landroid/text/TextPaint;-><init>(I)V
|
|
|
|
.line 254
|
|
.line 255
|
|
.line 256
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 257
|
|
.line 258
|
|
invoke-virtual {v4}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;
|
|
|
|
.line 259
|
|
.line 260
|
|
.line 261
|
|
move-result-object v4
|
|
|
|
.line 262
|
|
invoke-virtual {v2, v4}, Landroid/text/TextPaint;->set(Landroid/text/TextPaint;)V
|
|
|
|
.line 263
|
|
.line 264
|
|
.line 265
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 266
|
|
.line 267
|
|
invoke-virtual {v4}, Landroid/widget/TextView;->getTextSize()F
|
|
|
|
.line 268
|
|
.line 269
|
|
.line 270
|
|
move-result v4
|
|
|
|
.line 271
|
|
invoke-virtual {v2, v4}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 272
|
|
.line 273
|
|
.line 274
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 275
|
|
.line 276
|
|
invoke-virtual {v4}, Landroid/widget/TextView;->getTypeface()Landroid/graphics/Typeface;
|
|
|
|
.line 277
|
|
.line 278
|
|
.line 279
|
|
move-result-object v4
|
|
|
|
.line 280
|
|
invoke-virtual {v2, v4}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
|
|
|
|
.line 281
|
|
.line 282
|
|
.line 283
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 284
|
|
.line 285
|
|
invoke-virtual {v4}, Landroid/widget/TextView;->getLetterSpacing()F
|
|
|
|
.line 286
|
|
.line 287
|
|
.line 288
|
|
move-result v4
|
|
|
|
.line 289
|
|
invoke-virtual {v2, v4}, Landroid/graphics/Paint;->setLetterSpacing(F)V
|
|
|
|
.line 290
|
|
.line 291
|
|
.line 292
|
|
:try_start_0
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 293
|
|
.line 294
|
|
new-instance v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;
|
|
|
|
.line 295
|
|
.line 296
|
|
invoke-direct {v5, v4, v2, p1}, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;I)V
|
|
|
|
.line 297
|
|
.line 298
|
|
.line 299
|
|
invoke-virtual {p0}, Landroid/view/View;->getLayoutDirection()I
|
|
|
|
.line 300
|
|
.line 301
|
|
.line 302
|
|
move-result p1
|
|
|
|
.line 303
|
|
if-ne p1, p2, :cond_6
|
|
|
|
.line 304
|
|
.line 305
|
|
move p1, p2
|
|
|
|
.line 306
|
|
goto :goto_1
|
|
|
|
.line 307
|
|
:cond_6
|
|
const/4 p1, 0x0
|
|
|
|
.line 308
|
|
:goto_1
|
|
iput-boolean p1, v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->k:Z
|
|
|
|
.line 309
|
|
.line 310
|
|
iput-boolean p2, v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->j:Z
|
|
|
|
.line 311
|
|
.line 312
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 313
|
|
.line 314
|
|
invoke-virtual {p1}, Landroid/widget/TextView;->getLineSpacingExtra()F
|
|
|
|
.line 315
|
|
.line 316
|
|
.line 317
|
|
move-result p1
|
|
|
|
.line 318
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 319
|
|
.line 320
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getLineSpacingMultiplier()F
|
|
|
|
.line 321
|
|
.line 322
|
|
.line 323
|
|
move-result v2
|
|
|
|
.line 324
|
|
iput p1, v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->g:F
|
|
|
|
.line 325
|
|
.line 326
|
|
iput v2, v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->h:F
|
|
|
|
.line 327
|
|
.line 328
|
|
new-instance p1, Lcom/google/android/material/textfield/h;
|
|
|
|
.line 329
|
|
.line 330
|
|
invoke-direct {p1, p0}, Lcom/google/android/material/textfield/h;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 331
|
|
.line 332
|
|
.line 333
|
|
iput-object p1, v5, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->m:Lcom/google/android/material/textfield/h;
|
|
|
|
.line 334
|
|
.line 335
|
|
invoke-virtual {v5}, Lcom/google/android/material/internal/StaticLayoutBuilderCompat;->a()Landroid/text/StaticLayout;
|
|
|
|
.line 336
|
|
.line 337
|
|
.line 338
|
|
move-result-object p1
|
|
|
|
.line 339
|
|
iget v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 340
|
|
.line 341
|
|
if-ne v2, p2, :cond_7
|
|
|
|
.line 342
|
|
.line 343
|
|
invoke-virtual {v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->f()F
|
|
|
|
.line 344
|
|
.line 345
|
|
.line 346
|
|
move-result p2
|
|
|
|
.line 347
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 348
|
|
.line 349
|
|
int-to-float v0, v0
|
|
|
|
.line 350
|
|
add-float/2addr p2, v0
|
|
|
|
.line 351
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->h:I
|
|
|
|
.line 352
|
|
.line 353
|
|
int-to-float v0, v0
|
|
|
|
.line 354
|
|
add-float/2addr p2, v0
|
|
|
|
.line 355
|
|
goto :goto_2
|
|
|
|
.line 356
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 357
|
|
move-object p1, v0
|
|
|
|
.line 358
|
|
goto :goto_3
|
|
|
|
.line 359
|
|
:cond_7
|
|
move p2, v3
|
|
|
|
.line 360
|
|
:goto_2
|
|
invoke-virtual {p1}, Landroid/text/Layout;->getHeight()I
|
|
|
|
.line 361
|
|
.line 362
|
|
.line 363
|
|
move-result p1
|
|
:try_end_0
|
|
.catch Lcom/google/android/material/internal/StaticLayoutBuilderCompat$StaticLayoutBuilderCompatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 364
|
|
int-to-float p1, p1
|
|
|
|
.line 365
|
|
add-float v3, p1, p2
|
|
|
|
.line 366
|
|
.line 367
|
|
goto :goto_4
|
|
|
|
.line 368
|
|
:goto_3
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
.line 369
|
|
.line 370
|
|
.line 371
|
|
move-result-object p2
|
|
|
|
.line 372
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
.line 373
|
|
.line 374
|
|
.line 375
|
|
move-result-object p2
|
|
|
|
.line 376
|
|
const-string v0, "TextInputLayout"
|
|
|
|
.line 377
|
|
.line 378
|
|
invoke-static {v0, p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
.line 379
|
|
.line 380
|
|
.line 381
|
|
:cond_8
|
|
:goto_4
|
|
invoke-static {v1, v3}, Ljava/lang/Math;->max(FF)F
|
|
|
|
.line 382
|
|
.line 383
|
|
.line 384
|
|
move-result p1
|
|
|
|
.line 385
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 386
|
|
.line 387
|
|
invoke-virtual {p2}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 388
|
|
.line 389
|
|
.line 390
|
|
move-result p2
|
|
|
|
.line 391
|
|
int-to-float p2, p2
|
|
|
|
.line 392
|
|
cmpg-float p2, p2, p1
|
|
|
|
.line 393
|
|
.line 394
|
|
if-gez p2, :cond_9
|
|
|
|
.line 395
|
|
.line 396
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 397
|
|
.line 398
|
|
invoke-static {p1}, Ljava/lang/Math;->round(F)I
|
|
|
|
.line 399
|
|
.line 400
|
|
.line 401
|
|
move-result p1
|
|
|
|
.line 402
|
|
invoke-virtual {p2, p1}, Landroid/view/View;->setMinimumHeight(I)V
|
|
|
|
.line 403
|
|
.line 404
|
|
.line 405
|
|
:cond_9
|
|
:goto_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
instance-of v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
check-cast p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p1, Landroidx/customview/view/AbsSavedState;->c:Landroid/os/Parcelable;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-super {p0, v0}, Landroid/widget/LinearLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget-object v0, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->g:Ljava/lang/CharSequence;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setError(Ljava/lang/CharSequence;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
iget-boolean p1, p1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->h:Z
|
|
|
|
.line 22
|
|
.line 23
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
new-instance p1, Lcom/google/android/material/textfield/TextInputLayout$3;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-direct {p1, p0}, Lcom/google/android/material/textfield/TextInputLayout$3;-><init>(Lcom/google/android/material/textfield/TextInputLayout;)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onRtlPropertiesChanged(I)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onRtlPropertiesChanged(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
const/4 v0, 0x1
|
|
|
|
.line 5
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
goto :goto_0
|
|
|
|
.line 8
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 9
|
|
:goto_0
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->R:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eq v0, p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object p1, p1, Lcom/google/android/material/shape/ShapeAppearanceModel;->e:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->f0:Landroid/graphics/RectF;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-interface {p1, v1}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result p1
|
|
|
|
.line 23
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object v2, v2, Lcom/google/android/material/shape/ShapeAppearanceModel;->f:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-interface {v2, v1}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result v2
|
|
|
|
.line 31
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object v3, v3, Lcom/google/android/material/shape/ShapeAppearanceModel;->h:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-interface {v3, v1}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v3
|
|
|
|
.line 39
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 40
|
|
.line 41
|
|
iget-object v4, v4, Lcom/google/android/material/shape/ShapeAppearanceModel;->g:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-interface {v4, v1}, Lcom/google/android/material/shape/CornerSize;->a(Landroid/graphics/RectF;)F
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v1
|
|
|
|
.line 47
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 48
|
|
.line 49
|
|
iget-object v5, v4, Lcom/google/android/material/shape/ShapeAppearanceModel;->a:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 50
|
|
.line 51
|
|
iget-object v6, v4, Lcom/google/android/material/shape/ShapeAppearanceModel;->b:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 52
|
|
.line 53
|
|
iget-object v7, v4, Lcom/google/android/material/shape/ShapeAppearanceModel;->d:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 54
|
|
.line 55
|
|
iget-object v4, v4, Lcom/google/android/material/shape/ShapeAppearanceModel;->c:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 56
|
|
.line 57
|
|
new-instance v8, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-direct {v8}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;-><init>()V
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
iput-object v6, v8, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 63
|
|
.line 64
|
|
iput-object v5, v8, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->b:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 65
|
|
.line 66
|
|
iput-object v4, v8, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->d:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 67
|
|
.line 68
|
|
iput-object v7, v8, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->c:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v8, v2}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->d(F)V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v8, p1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->e(F)V
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {v8, v1}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->b(F)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {v8, v3}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->c(F)V
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {v8}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
move-result-object p1
|
|
|
|
.line 86
|
|
iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->R:Z
|
|
|
|
.line 87
|
|
.line 88
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onSaveInstanceState()Landroid/os/Parcelable;
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/LinearLayout;->onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
new-instance v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-direct {v1, v0}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcelable;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getError()Ljava/lang/CharSequence;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
iput-object v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->g:Ljava/lang/CharSequence;
|
|
|
|
.line 21
|
|
.line 22
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 23
|
|
.line 24
|
|
iget v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->m:I
|
|
|
|
.line 25
|
|
.line 26
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-boolean v0, v0, Lcom/google/android/material/internal/CheckableImageButton;->h:Z
|
|
|
|
.line 31
|
|
.line 32
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 33
|
|
.line 34
|
|
const/4 v0, 0x1
|
|
|
|
.line 35
|
|
goto :goto_0
|
|
|
|
.line 36
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 37
|
|
:goto_0
|
|
iput-boolean v0, v1, Lcom/google/android/material/textfield/TextInputLayout$SavedState;->h:Z
|
|
|
|
.line 38
|
|
.line 39
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final p(Landroid/text/Editable;)V
|
|
.locals 11
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;->b(Landroid/text/Editable;)I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result p1
|
|
|
|
.line 7
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v2, -0x1
|
|
|
|
.line 12
|
|
const/4 v3, 0x0
|
|
|
|
.line 13
|
|
const/4 v4, 0x0
|
|
|
|
.line 14
|
|
if-ne v1, v2, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object p1
|
|
|
|
.line 22
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {p1, v3}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
iput-boolean v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 31
|
|
.line 32
|
|
goto :goto_3
|
|
|
|
.line 33
|
|
:cond_0
|
|
const/4 v2, 0x1
|
|
|
|
.line 34
|
|
if-le p1, v1, :cond_1
|
|
|
|
.line 35
|
|
.line 36
|
|
move v1, v2
|
|
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:cond_1
|
|
move v1, v4
|
|
|
|
.line 39
|
|
:goto_0
|
|
iput-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v1
|
|
|
|
.line 45
|
|
iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 46
|
|
.line 47
|
|
iget v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 48
|
|
.line 49
|
|
iget-boolean v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eqz v7, :cond_2
|
|
|
|
.line 52
|
|
.line 53
|
|
sget v7, Lcom/google/android/material/R$string;->character_counter_overflowed_content_description:I
|
|
|
|
.line 54
|
|
.line 55
|
|
goto :goto_1
|
|
|
|
.line 56
|
|
:cond_2
|
|
sget v7, Lcom/google/android/material/R$string;->character_counter_content_description:I
|
|
|
|
.line 57
|
|
.line 58
|
|
:goto_1
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
move-result-object v8
|
|
|
|
.line 62
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
move-result-object v6
|
|
|
|
.line 66
|
|
const/4 v9, 0x2
|
|
|
|
.line 67
|
|
new-array v10, v9, [Ljava/lang/Object;
|
|
|
|
.line 68
|
|
.line 69
|
|
aput-object v8, v10, v4
|
|
|
|
.line 70
|
|
.line 71
|
|
aput-object v6, v10, v2
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v1, v7, v10}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result-object v1
|
|
|
|
.line 77
|
|
invoke-virtual {v5, v1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 81
|
|
.line 82
|
|
if-eq v0, v1, :cond_3
|
|
|
|
.line 83
|
|
.line 84
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
:cond_3
|
|
invoke-static {}, Landroidx/core/text/BidiFormatter;->c()Landroidx/core/text/BidiFormatter;
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
move-result-object v1
|
|
|
|
.line 91
|
|
iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 92
|
|
.line 93
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
move-result-object v6
|
|
|
|
.line 97
|
|
sget v7, Lcom/google/android/material/R$string;->character_counter_pattern:I
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
move-result-object p1
|
|
|
|
.line 103
|
|
iget v8, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 104
|
|
.line 105
|
|
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 106
|
|
.line 107
|
|
.line 108
|
|
move-result-object v8
|
|
|
|
.line 109
|
|
new-array v9, v9, [Ljava/lang/Object;
|
|
|
|
.line 110
|
|
.line 111
|
|
aput-object p1, v9, v4
|
|
|
|
.line 112
|
|
.line 113
|
|
aput-object v8, v9, v2
|
|
|
|
.line 114
|
|
.line 115
|
|
invoke-virtual {v6, v7, v9}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
move-result-object p1
|
|
|
|
.line 119
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 120
|
|
.line 121
|
|
.line 122
|
|
sget-object v2, Landroidx/core/text/TextDirectionHeuristicsCompat;->a:Landroidx/core/text/TextDirectionHeuristicCompat;
|
|
|
|
.line 123
|
|
.line 124
|
|
if-nez p1, :cond_4
|
|
|
|
.line 125
|
|
.line 126
|
|
goto :goto_2
|
|
|
|
.line 127
|
|
:cond_4
|
|
invoke-virtual {v1, p1}, Landroidx/core/text/BidiFormatter;->d(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
move-result-object p1
|
|
|
|
.line 131
|
|
invoke-virtual {p1}, Landroid/text/SpannableStringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
move-result-object v3
|
|
|
|
.line 135
|
|
:goto_2
|
|
invoke-virtual {v5, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 136
|
|
.line 137
|
|
.line 138
|
|
:goto_3
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 139
|
|
.line 140
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 141
|
|
.line 142
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 143
|
|
.line 144
|
|
if-eq v0, p1, :cond_5
|
|
|
|
.line 145
|
|
.line 146
|
|
invoke-virtual {p0, v4, v4}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 147
|
|
.line 148
|
|
.line 149
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 150
|
|
.line 151
|
|
.line 152
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->t()V
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final q()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->u:I
|
|
|
|
.line 10
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->v:I
|
|
|
|
.line 13
|
|
.line 14
|
|
:goto_0
|
|
invoke-virtual {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->n(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 18
|
|
.line 19
|
|
if-nez v0, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->D:Landroid/content/res/ColorStateList;
|
|
|
|
.line 22
|
|
.line 23
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
:cond_1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 31
|
|
.line 32
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 33
|
|
.line 34
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->E:Landroid/content/res/ColorStateList;
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 37
|
|
.line 38
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final r()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->F:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
sget v1, Landroidx/appcompat/R$attr;->colorControlActivated:I
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-static {v0, v1}, Lcom/google/android/material/color/MaterialColors;->e(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v0
|
|
|
|
.line 16
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 17
|
|
.line 18
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v1}, Landroid/widget/EditText;->getTextCursorDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v1
|
|
|
|
.line 24
|
|
if-nez v1, :cond_1
|
|
|
|
.line 25
|
|
.line 26
|
|
goto :goto_1
|
|
|
|
.line 27
|
|
:cond_1
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v1}, Landroid/widget/EditText;->getTextCursorDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v1
|
|
|
|
.line 33
|
|
invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v1
|
|
|
|
.line 37
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result v2
|
|
|
|
.line 41
|
|
if-nez v2, :cond_2
|
|
|
|
.line 42
|
|
.line 43
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 44
|
|
.line 45
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 46
|
|
.line 47
|
|
iget-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 50
|
|
.line 51
|
|
:cond_2
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->G:Landroid/content/res/ColorStateList;
|
|
|
|
.line 52
|
|
.line 53
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 54
|
|
.line 55
|
|
move-object v0, v2
|
|
|
|
.line 56
|
|
:cond_3
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/Drawable;->setTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
:cond_4
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final s()Z
|
|
.locals 10
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
return v1
|
|
|
|
.line 7
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getStartIconDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
const/4 v2, 0x0
|
|
|
|
.line 12
|
|
const/4 v3, 0x2
|
|
|
|
.line 13
|
|
const/4 v4, 0x3
|
|
|
|
.line 14
|
|
const/4 v5, 0x1
|
|
|
|
.line 15
|
|
if-nez v0, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getPrefixText()Ljava/lang/CharSequence;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v0
|
|
|
|
.line 21
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getPrefixTextView()Landroid/widget/TextView;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v0
|
|
|
|
.line 27
|
|
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result v0
|
|
|
|
.line 31
|
|
if-nez v0, :cond_4
|
|
|
|
.line 32
|
|
.line 33
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v6
|
|
|
|
.line 39
|
|
if-lez v6, :cond_4
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result v0
|
|
|
|
.line 45
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v6}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v6
|
|
|
|
.line 51
|
|
sub-int/2addr v0, v6
|
|
|
|
.line 52
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eqz v6, :cond_2
|
|
|
|
.line 55
|
|
.line 56
|
|
iget v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->i0:I
|
|
|
|
.line 57
|
|
.line 58
|
|
if-eq v6, v0, :cond_3
|
|
|
|
.line 59
|
|
.line 60
|
|
:cond_2
|
|
new-instance v6, Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-direct {v6}, Landroid/graphics/drawable/ColorDrawable;-><init>()V
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
iput-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 66
|
|
.line 67
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i0:I
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {v6, v1, v1, v0, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 73
|
|
.line 74
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCompoundDrawablesRelative()[Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result-object v0
|
|
|
|
.line 78
|
|
aget-object v6, v0, v1
|
|
|
|
.line 79
|
|
.line 80
|
|
iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 81
|
|
.line 82
|
|
if-eq v6, v7, :cond_5
|
|
|
|
.line 83
|
|
.line 84
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 85
|
|
.line 86
|
|
aget-object v8, v0, v5
|
|
|
|
.line 87
|
|
.line 88
|
|
aget-object v9, v0, v3
|
|
|
|
.line 89
|
|
.line 90
|
|
aget-object v0, v0, v4
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {v6, v7, v8, v9, v0}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
goto :goto_0
|
|
|
|
.line 96
|
|
:cond_4
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 97
|
|
.line 98
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 99
|
|
.line 100
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getCompoundDrawablesRelative()[Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
move-result-object v0
|
|
|
|
.line 106
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 107
|
|
.line 108
|
|
aget-object v7, v0, v5
|
|
|
|
.line 109
|
|
.line 110
|
|
aget-object v8, v0, v3
|
|
|
|
.line 111
|
|
.line 112
|
|
aget-object v0, v0, v4
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-virtual {v6, v2, v7, v8, v0}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
iput-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->h0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 118
|
|
.line 119
|
|
:goto_0
|
|
move v0, v5
|
|
|
|
.line 120
|
|
goto :goto_1
|
|
|
|
.line 121
|
|
:cond_5
|
|
move v0, v1
|
|
|
|
.line 122
|
|
:goto_1
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 123
|
|
.line 124
|
|
invoke-virtual {v6}, Lcom/google/android/material/textfield/EndCompoundLayout;->e()Z
|
|
|
|
.line 125
|
|
.line 126
|
|
.line 127
|
|
move-result v7
|
|
|
|
.line 128
|
|
if-nez v7, :cond_7
|
|
|
|
.line 129
|
|
.line 130
|
|
iget v7, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->m:I
|
|
|
|
.line 131
|
|
.line 132
|
|
if-eqz v7, :cond_6
|
|
|
|
.line 133
|
|
.line 134
|
|
invoke-virtual {v6}, Lcom/google/android/material/textfield/EndCompoundLayout;->d()Z
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
move-result v7
|
|
|
|
.line 138
|
|
if-nez v7, :cond_7
|
|
|
|
.line 139
|
|
.line 140
|
|
:cond_6
|
|
iget-object v7, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->t:Ljava/lang/CharSequence;
|
|
|
|
.line 141
|
|
.line 142
|
|
if-eqz v7, :cond_d
|
|
|
|
.line 143
|
|
.line 144
|
|
:cond_7
|
|
invoke-virtual {v6}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 145
|
|
.line 146
|
|
.line 147
|
|
move-result v7
|
|
|
|
.line 148
|
|
if-lez v7, :cond_d
|
|
|
|
.line 149
|
|
.line 150
|
|
iget-object v7, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-virtual {v7}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
move-result v7
|
|
|
|
.line 156
|
|
iget-object v8, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 157
|
|
.line 158
|
|
invoke-virtual {v8}, Landroid/view/View;->getPaddingRight()I
|
|
|
|
.line 159
|
|
.line 160
|
|
.line 161
|
|
move-result v8
|
|
|
|
.line 162
|
|
sub-int/2addr v7, v8
|
|
|
|
.line 163
|
|
invoke-virtual {v6}, Lcom/google/android/material/textfield/EndCompoundLayout;->e()Z
|
|
|
|
.line 164
|
|
.line 165
|
|
.line 166
|
|
move-result v8
|
|
|
|
.line 167
|
|
if-eqz v8, :cond_8
|
|
|
|
.line 168
|
|
.line 169
|
|
iget-object v2, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 170
|
|
.line 171
|
|
goto :goto_2
|
|
|
|
.line 172
|
|
:cond_8
|
|
iget v8, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->m:I
|
|
|
|
.line 173
|
|
.line 174
|
|
if-eqz v8, :cond_9
|
|
|
|
.line 175
|
|
.line 176
|
|
invoke-virtual {v6}, Lcom/google/android/material/textfield/EndCompoundLayout;->d()Z
|
|
|
|
.line 177
|
|
.line 178
|
|
.line 179
|
|
move-result v8
|
|
|
|
.line 180
|
|
if-eqz v8, :cond_9
|
|
|
|
.line 181
|
|
.line 182
|
|
iget-object v2, v6, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 183
|
|
.line 184
|
|
:cond_9
|
|
:goto_2
|
|
if-eqz v2, :cond_a
|
|
|
|
.line 185
|
|
.line 186
|
|
invoke-virtual {v2}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 187
|
|
.line 188
|
|
.line 189
|
|
move-result v6
|
|
|
|
.line 190
|
|
add-int/2addr v6, v7
|
|
|
|
.line 191
|
|
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 192
|
|
.line 193
|
|
.line 194
|
|
move-result-object v2
|
|
|
|
.line 195
|
|
check-cast v2, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 196
|
|
.line 197
|
|
invoke-virtual {v2}, Landroid/view/ViewGroup$MarginLayoutParams;->getMarginStart()I
|
|
|
|
.line 198
|
|
.line 199
|
|
.line 200
|
|
move-result v2
|
|
|
|
.line 201
|
|
add-int v7, v2, v6
|
|
|
|
.line 202
|
|
.line 203
|
|
:cond_a
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 204
|
|
.line 205
|
|
invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundDrawablesRelative()[Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
move-result-object v2
|
|
|
|
.line 209
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 210
|
|
.line 211
|
|
if-eqz v6, :cond_b
|
|
|
|
.line 212
|
|
.line 213
|
|
iget v8, p0, Lcom/google/android/material/textfield/TextInputLayout;->l0:I
|
|
|
|
.line 214
|
|
.line 215
|
|
if-eq v8, v7, :cond_b
|
|
|
|
.line 216
|
|
.line 217
|
|
iput v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->l0:I
|
|
|
|
.line 218
|
|
.line 219
|
|
invoke-virtual {v6, v1, v1, v7, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 220
|
|
.line 221
|
|
.line 222
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 223
|
|
.line 224
|
|
aget-object v1, v2, v1
|
|
|
|
.line 225
|
|
.line 226
|
|
aget-object v3, v2, v5
|
|
|
|
.line 227
|
|
.line 228
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 229
|
|
.line 230
|
|
aget-object v2, v2, v4
|
|
|
|
.line 231
|
|
.line 232
|
|
invoke-virtual {v0, v1, v3, v6, v2}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 233
|
|
.line 234
|
|
.line 235
|
|
return v5
|
|
|
|
.line 236
|
|
:cond_b
|
|
if-nez v6, :cond_c
|
|
|
|
.line 237
|
|
.line 238
|
|
new-instance v6, Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 239
|
|
.line 240
|
|
invoke-direct {v6}, Landroid/graphics/drawable/ColorDrawable;-><init>()V
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
iput-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 244
|
|
.line 245
|
|
iput v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->l0:I
|
|
|
|
.line 246
|
|
.line 247
|
|
invoke-virtual {v6, v1, v1, v7, v5}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
.line 248
|
|
.line 249
|
|
.line 250
|
|
:cond_c
|
|
aget-object v3, v2, v3
|
|
|
|
.line 251
|
|
.line 252
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 253
|
|
.line 254
|
|
if-eq v3, v6, :cond_f
|
|
|
|
.line 255
|
|
.line 256
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->m0:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 257
|
|
.line 258
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 259
|
|
.line 260
|
|
aget-object v1, v2, v1
|
|
|
|
.line 261
|
|
.line 262
|
|
aget-object v3, v2, v5
|
|
|
|
.line 263
|
|
.line 264
|
|
aget-object v2, v2, v4
|
|
|
|
.line 265
|
|
.line 266
|
|
invoke-virtual {v0, v1, v3, v6, v2}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 267
|
|
.line 268
|
|
.line 269
|
|
return v5
|
|
|
|
.line 270
|
|
:cond_d
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 271
|
|
.line 272
|
|
if-eqz v6, :cond_f
|
|
|
|
.line 273
|
|
.line 274
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 275
|
|
.line 276
|
|
invoke-virtual {v6}, Landroid/widget/TextView;->getCompoundDrawablesRelative()[Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 277
|
|
.line 278
|
|
.line 279
|
|
move-result-object v6
|
|
|
|
.line 280
|
|
aget-object v3, v6, v3
|
|
|
|
.line 281
|
|
.line 282
|
|
iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 283
|
|
.line 284
|
|
if-ne v3, v7, :cond_e
|
|
|
|
.line 285
|
|
.line 286
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 287
|
|
.line 288
|
|
aget-object v1, v6, v1
|
|
|
|
.line 289
|
|
.line 290
|
|
aget-object v3, v6, v5
|
|
|
|
.line 291
|
|
.line 292
|
|
iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->m0:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 293
|
|
.line 294
|
|
aget-object v4, v6, v4
|
|
|
|
.line 295
|
|
.line 296
|
|
invoke-virtual {v0, v1, v3, v7, v4}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 297
|
|
.line 298
|
|
.line 299
|
|
goto :goto_3
|
|
|
|
.line 300
|
|
:cond_e
|
|
move v5, v0
|
|
|
|
.line 301
|
|
:goto_3
|
|
iput-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->k0:Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
.line 302
|
|
.line 303
|
|
return v5
|
|
|
|
.line 304
|
|
:cond_f
|
|
return v0
|
|
.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;->c0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 6
|
|
.line 7
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 8
|
|
.line 9
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 10
|
|
.line 11
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->c()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
: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/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/content/Context;->getColor(I)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxBackgroundColor(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
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
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 6
|
|
.line 7
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 8
|
|
.line 9
|
|
const v0, -0x101009e
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
filled-new-array {v0}, [I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v0
|
|
|
|
.line 16
|
|
const/4 v1, -0x1
|
|
|
|
.line 17
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->u0:I
|
|
|
|
.line 22
|
|
.line 23
|
|
const v0, 0x101009c
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
const v2, 0x101009e
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
filled-new-array {v0, v2}, [I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v0
|
|
|
|
.line 33
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v0
|
|
|
|
.line 37
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 38
|
|
.line 39
|
|
const v0, 0x1010367
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
filled-new-array {v0, v2}, [I
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
move-result-object v0
|
|
|
|
.line 46
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result p1
|
|
|
|
.line 50
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 51
|
|
.line 52
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->c()V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBoxBackgroundMode(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_0
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 9
|
|
.line 10
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->k()V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBoxCollapsedPaddingTop(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->U:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBoxCornerFamily(I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel;->g()Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v1, Lcom/google/android/material/shape/ShapeAppearanceModel;->e:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->a(I)Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v2
|
|
|
|
.line 15
|
|
iput-object v2, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 16
|
|
.line 17
|
|
iput-object v1, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->e:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v1, v1, Lcom/google/android/material/shape/ShapeAppearanceModel;->f:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-static {p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->a(I)Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v2
|
|
|
|
.line 27
|
|
iput-object v2, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->b:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 28
|
|
.line 29
|
|
iput-object v1, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->f:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object v1, v1, Lcom/google/android/material/shape/ShapeAppearanceModel;->h:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->a(I)Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object v2
|
|
|
|
.line 39
|
|
iput-object v2, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->d:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 40
|
|
.line 41
|
|
iput-object v1, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->h:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 42
|
|
.line 43
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-object v1, v1, Lcom/google/android/material/shape/ShapeAppearanceModel;->g:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->a(I)Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result-object p1
|
|
|
|
.line 51
|
|
iput-object p1, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->c:Lcom/google/android/material/shape/CornerTreatment;
|
|
|
|
.line 52
|
|
.line 53
|
|
iput-object v1, v0, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->g:Lcom/google/android/material/shape/CornerSize;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {v0}, Lcom/google/android/material/shape/ShapeAppearanceModel$Builder;->a()Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object p1
|
|
|
|
.line 59
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->c()V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
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;->r0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
: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
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->p0:I
|
|
|
|
.line 12
|
|
.line 13
|
|
const v0, -0x101009e
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
filled-new-array {v0}, [I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
const/4 v1, -0x1
|
|
|
|
.line 21
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v0
|
|
|
|
.line 25
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->x0:I
|
|
|
|
.line 26
|
|
.line 27
|
|
const v0, 0x1010367
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
const v2, 0x101009e
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
filled-new-array {v0, v2}, [I
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v0
|
|
|
|
.line 37
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result v0
|
|
|
|
.line 41
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->q0:I
|
|
|
|
.line 42
|
|
.line 43
|
|
const v0, 0x101009c
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
filled-new-array {v0, v2}, [I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result-object v0
|
|
|
|
.line 50
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result p1
|
|
|
|
.line 54
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 55
|
|
.line 56
|
|
goto :goto_0
|
|
|
|
.line 57
|
|
:cond_0
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result v1
|
|
|
|
.line 63
|
|
if-eq v0, v1, :cond_1
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p1}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result p1
|
|
|
|
.line 69
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 70
|
|
.line 71
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
return-void
|
|
.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;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBoxStrokeWidth(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBoxStrokeWidthFocused(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->a0:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
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/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeWidthFocused(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
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/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setBoxStrokeWidth(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCounterEnabled(Z)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->p:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_4
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v0, 0x2
|
|
|
|
.line 6
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 v2, 0x0
|
|
|
|
.line 9
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 10
|
|
.line 11
|
|
new-instance v3, Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v4
|
|
|
|
.line 17
|
|
invoke-direct {v3, v4, v2}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
iput-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 21
|
|
.line 22
|
|
sget v4, Lcom/google/android/material/R$id;->textinput_counter:I
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setId(I)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->g0:Landroid/graphics/Typeface;
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v4, v3}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_0
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 37
|
|
.line 38
|
|
const/4 v4, 0x1
|
|
|
|
.line 39
|
|
invoke-virtual {v3, v4}, Landroid/widget/TextView;->setMaxLines(I)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {v1, v3, v0}, Lcom/google/android/material/textfield/IndicatorViewController;->a(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result-object v0
|
|
|
|
.line 53
|
|
check-cast v0, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v1
|
|
|
|
.line 59
|
|
sget v3, Lcom/google/android/material/R$dimen;->mtrl_textinput_counter_margin_start:I
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result v1
|
|
|
|
.line 65
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup$MarginLayoutParams;->setMarginStart(I)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 72
|
|
.line 73
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 74
|
|
.line 75
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 76
|
|
.line 77
|
|
if-nez v0, :cond_1
|
|
|
|
.line 78
|
|
.line 79
|
|
goto :goto_0
|
|
|
|
.line 80
|
|
:cond_1
|
|
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
move-result-object v2
|
|
|
|
.line 84
|
|
:goto_0
|
|
invoke-virtual {p0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->p(Landroid/text/Editable;)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
goto :goto_1
|
|
|
|
.line 88
|
|
:cond_2
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {v1, v3, v0}, Lcom/google/android/material/textfield/IndicatorViewController;->g(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
iput-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 94
|
|
.line 95
|
|
:cond_3
|
|
:goto_1
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->p:Z
|
|
|
|
.line 96
|
|
.line 97
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCounterMaxLength(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_2
|
|
|
|
.line 4
|
|
.line 5
|
|
if-lez p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 11
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->q:I
|
|
|
|
.line 12
|
|
.line 13
|
|
:goto_0
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->p:Z
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 22
|
|
.line 23
|
|
if-nez p1, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 p1, 0x0
|
|
|
|
.line 26
|
|
goto :goto_1
|
|
|
|
.line 27
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result-object p1
|
|
|
|
.line 31
|
|
:goto_1
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->p(Landroid/text/Editable;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCounterOverflowTextAppearance(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->u:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->u:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
: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;->E:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->E:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCounterTextAppearance(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->v:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->v:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
: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;->D:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->D:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->q()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCursorColor(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->F:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->F:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->r()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCursorErrorColor(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->G:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_2
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->G:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
if-nez p1, :cond_1
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 18
|
|
.line 19
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 23
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->r()V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
:cond_2
|
|
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;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 p1, 0x0
|
|
|
|
.line 10
|
|
invoke-virtual {p0, p1, p1}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
: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;->m(Landroid/view/ViewGroup;Z)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setEnabled(Z)V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconActivated(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setActivated(Z)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconCheckable(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CheckableImageButton;->setCheckable(Z)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconContentDescription(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StringRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3
|
|
invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v1, p1, :cond_1
|
|
|
|
.line 6
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconContentDescription(Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 8
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 9
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconDrawable(I)V
|
|
.locals 4
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3
|
|
invoke-static {v1, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 5
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
invoke-virtual {v2, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 6
|
|
iget-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
invoke-static {v1, v2, p1, v3}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 7
|
|
iget-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
invoke-static {v1, v2, p1}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 4
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 8
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 9
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
invoke-virtual {v2, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 10
|
|
iget-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
invoke-static {v1, v2, p1, v3}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 11
|
|
iget-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
invoke-static {v1, v2, p1}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconMinSize(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ltz p1, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->q:I
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iput p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->q:I
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v1, p1}, Landroid/view/View;->setMinimumWidth(I)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v1, p1}, Landroid/view/View;->setMinimumHeight(I)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setMinimumWidth(I)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setMinimumHeight(I)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 28
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 32
|
|
.line 33
|
|
const-string v0, "endIconSize cannot be less than 0"
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setEndIconMode(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/EndCompoundLayout;->g(I)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->s:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v1, v0}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
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
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->s:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v0, p1}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
.locals 2
|
|
.param p1 # Landroid/widget/ImageView$ScaleType;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->r:Landroid/widget/ImageView$ScaleType;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1, p1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 3
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, p1, v0}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 3
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, v0, p1}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setEndIconVisible(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/EndCompoundLayout;->h(Z)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setError(Ljava/lang/CharSequence;)V
|
|
.locals 4
|
|
.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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-boolean v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->q:Z
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x1
|
|
|
|
.line 6
|
|
if-nez v1, :cond_1
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v1
|
|
|
|
.line 12
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
|
|
.line 15
|
|
:cond_0
|
|
invoke-virtual {p0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setErrorEnabled(Z)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_1
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v1
|
|
|
|
.line 22
|
|
if-nez v1, :cond_3
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->c()V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->p:Ljava/lang/CharSequence;
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
iget v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->n:I
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eq v1, v2, :cond_2
|
|
|
|
.line 37
|
|
.line 38
|
|
iput v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 39
|
|
.line 40
|
|
:cond_2
|
|
iget v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 41
|
|
.line 42
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {v0, v3, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->h(Landroidx/appcompat/widget/AppCompatTextView;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result p1
|
|
|
|
.line 48
|
|
invoke-virtual {v0, v1, v2, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->i(IIZ)V
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
return-void
|
|
|
|
.line 52
|
|
:cond_3
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->f()V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorAccessibilityLiveRegion(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->t:I
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setAccessibilityLiveRegion(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
:cond_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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->s:Ljava/lang/CharSequence;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorEnabled(Z)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->h:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->q:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-ne v2, p1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->c()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
const/4 v2, 0x0
|
|
|
|
.line 14
|
|
const/4 v3, 0x0
|
|
|
|
.line 15
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 16
|
|
.line 17
|
|
new-instance v1, Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->g:Landroid/content/Context;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-direct {v1, v4, v3}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 25
|
|
.line 26
|
|
sget v3, Lcom/google/android/material/R$id;->textinput_error:I
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setId(I)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 32
|
|
.line 33
|
|
const/4 v3, 0x5
|
|
|
|
.line 34
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setTextAlignment(I)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->B:Landroid/graphics/Typeface;
|
|
|
|
.line 38
|
|
.line 39
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 40
|
|
.line 41
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v3, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
:cond_1
|
|
iget v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->u:I
|
|
|
|
.line 47
|
|
.line 48
|
|
iput v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->u:I
|
|
|
|
.line 49
|
|
.line 50
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 51
|
|
.line 52
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 53
|
|
.line 54
|
|
iget-object v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->h:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v4, v3, v1}, Lcom/google/android/material/textfield/TextInputLayout;->n(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
:cond_2
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->v:Landroid/content/res/ColorStateList;
|
|
|
|
.line 60
|
|
.line 61
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->v:Landroid/content/res/ColorStateList;
|
|
|
|
.line 62
|
|
.line 63
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 64
|
|
.line 65
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 66
|
|
.line 67
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {v3, v1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
:cond_3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->s:Ljava/lang/CharSequence;
|
|
|
|
.line 73
|
|
.line 74
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->s:Ljava/lang/CharSequence;
|
|
|
|
.line 75
|
|
.line 76
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 77
|
|
.line 78
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-virtual {v3, v1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
:cond_4
|
|
iget v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->t:I
|
|
|
|
.line 84
|
|
.line 85
|
|
iput v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->t:I
|
|
|
|
.line 86
|
|
.line 87
|
|
iget-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 88
|
|
.line 89
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {v3, v1}, Landroid/view/View;->setAccessibilityLiveRegion(I)V
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
:cond_5
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 95
|
|
.line 96
|
|
const/4 v3, 0x4
|
|
|
|
.line 97
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-virtual {v0, v1, v2}, Lcom/google/android/material/textfield/IndicatorViewController;->a(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
goto :goto_0
|
|
|
|
.line 106
|
|
:cond_6
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->f()V
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
iget-object v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 110
|
|
.line 111
|
|
invoke-virtual {v0, v4, v2}, Lcom/google/android/material/textfield/IndicatorViewController;->g(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 112
|
|
.line 113
|
|
.line 114
|
|
iput-object v3, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/TextInputLayout;->t()V
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 120
|
|
.line 121
|
|
.line 122
|
|
:goto_0
|
|
iput-boolean p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->q:Z
|
|
|
|
.line 123
|
|
.line 124
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorIconDrawable(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3
|
|
invoke-static {v1, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/EndCompoundLayout;->i(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 5
|
|
iget-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->h:Landroid/content/res/ColorStateList;
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)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 6
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/EndCompoundLayout;->i(Landroid/graphics/drawable/Drawable;)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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->j:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v1, v0}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
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
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->j:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v0, p1}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorIconTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 3
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->h:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->h:Landroid/content/res/ColorStateList;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->i:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, p1, v0}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 3
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->i:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->i:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->h:Landroid/content/res/ColorStateList;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, v0, p1}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorTextAppearance(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->u:I
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->h:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0, v1, p1}, Lcom/google/android/material/textfield/TextInputLayout;->n(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
:cond_0
|
|
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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->v:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setExpandedHintEnabled(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->B0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->B0:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p1, 0x0
|
|
|
|
.line 8
|
|
invoke-virtual {p0, p1, p1}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHelperText(Ljava/lang/CharSequence;)V
|
|
.locals 4
|
|
.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
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-boolean p1, v1, Lcom/google/android/material/textfield/IndicatorViewController;->x:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 p1, 0x0
|
|
|
|
.line 14
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 18
|
|
:cond_1
|
|
iget-boolean v0, v1, Lcom/google/android/material/textfield/IndicatorViewController;->x:Z
|
|
|
|
.line 19
|
|
.line 20
|
|
if-nez v0, :cond_2
|
|
|
|
.line 21
|
|
.line 22
|
|
const/4 v0, 0x1
|
|
|
|
.line 23
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHelperTextEnabled(Z)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
:cond_2
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/IndicatorViewController;->c()V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
iput-object p1, v1, Lcom/google/android/material/textfield/IndicatorViewController;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object v0, v1, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
iget v0, v1, Lcom/google/android/material/textfield/IndicatorViewController;->n:I
|
|
|
|
.line 37
|
|
.line 38
|
|
const/4 v2, 0x2
|
|
|
|
.line 39
|
|
if-eq v0, v2, :cond_3
|
|
|
|
.line 40
|
|
.line 41
|
|
iput v2, v1, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 42
|
|
.line 43
|
|
:cond_3
|
|
iget v2, v1, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-object v3, v1, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v1, v3, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->h(Landroidx/appcompat/widget/AppCompatTextView;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result p1
|
|
|
|
.line 51
|
|
invoke-virtual {v1, v0, v2, p1}, Lcom/google/android/material/textfield/IndicatorViewController;->i(IIZ)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->A:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHelperTextEnabled(Z)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->h:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-boolean v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->x:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
if-ne v2, p1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->c()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
const/4 v2, 0x0
|
|
|
|
.line 14
|
|
const/4 v3, 0x1
|
|
|
|
.line 15
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 16
|
|
.line 17
|
|
new-instance v1, Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->g:Landroid/content/Context;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-direct {v1, v4, v2}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 25
|
|
.line 26
|
|
sget v2, Lcom/google/android/material/R$id;->textinput_helper_text:I
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setId(I)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 32
|
|
.line 33
|
|
const/4 v2, 0x5
|
|
|
|
.line 34
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setTextAlignment(I)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->B:Landroid/graphics/Typeface;
|
|
|
|
.line 38
|
|
.line 39
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 40
|
|
.line 41
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v2, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
:cond_1
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 47
|
|
.line 48
|
|
const/4 v2, 0x4
|
|
|
|
.line 49
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setAccessibilityLiveRegion(I)V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
iget v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->z:I
|
|
|
|
.line 58
|
|
.line 59
|
|
iput v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->z:I
|
|
|
|
.line 60
|
|
.line 61
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 62
|
|
.line 63
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {v2, v1}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
:cond_2
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->A:Landroid/content/res/ColorStateList;
|
|
|
|
.line 69
|
|
.line 70
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->A:Landroid/content/res/ColorStateList;
|
|
|
|
.line 71
|
|
.line 72
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 73
|
|
.line 74
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 75
|
|
.line 76
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 77
|
|
.line 78
|
|
invoke-virtual {v2, v1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
:cond_3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 82
|
|
.line 83
|
|
invoke-virtual {v0, v1, v3}, Lcom/google/android/material/textfield/IndicatorViewController;->a(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 87
|
|
.line 88
|
|
new-instance v2, Lcom/google/android/material/textfield/IndicatorViewController$2;
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-direct {v2, v0}, Lcom/google/android/material/textfield/IndicatorViewController$2;-><init>(Lcom/google/android/material/textfield/IndicatorViewController;)V
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setAccessibilityDelegate(Landroid/view/View$AccessibilityDelegate;)V
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
goto :goto_0
|
|
|
|
.line 97
|
|
:cond_4
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/IndicatorViewController;->c()V
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
iget v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->n:I
|
|
|
|
.line 101
|
|
.line 102
|
|
const/4 v5, 0x2
|
|
|
|
.line 103
|
|
if-ne v4, v5, :cond_5
|
|
|
|
.line 104
|
|
.line 105
|
|
const/4 v5, 0x0
|
|
|
|
.line 106
|
|
iput v5, v0, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 107
|
|
.line 108
|
|
:cond_5
|
|
iget v5, v0, Lcom/google/android/material/textfield/IndicatorViewController;->o:I
|
|
|
|
.line 109
|
|
.line 110
|
|
iget-object v6, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 111
|
|
.line 112
|
|
const-string v7, ""
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-virtual {v0, v6, v7}, Lcom/google/android/material/textfield/IndicatorViewController;->h(Landroidx/appcompat/widget/AppCompatTextView;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
move-result v6
|
|
|
|
.line 118
|
|
invoke-virtual {v0, v4, v5, v6}, Lcom/google/android/material/textfield/IndicatorViewController;->i(IIZ)V
|
|
|
|
.line 119
|
|
.line 120
|
|
.line 121
|
|
iget-object v4, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 122
|
|
.line 123
|
|
invoke-virtual {v0, v4, v3}, Lcom/google/android/material/textfield/IndicatorViewController;->g(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
|
|
.line 124
|
|
.line 125
|
|
.line 126
|
|
iput-object v2, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 127
|
|
.line 128
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/TextInputLayout;->t()V
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/TextInputLayout;->z()V
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
:goto_0
|
|
iput-boolean p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->x:Z
|
|
|
|
.line 135
|
|
.line 136
|
|
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;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->z:I
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
:cond_0
|
|
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/view/View;->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;->H: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/view/View;->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;->C0:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHintEnabled(Z)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq p1, v0, :cond_4
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->H:Z
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v0, 0x0
|
|
|
|
.line 8
|
|
if-nez p1, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
const/4 p1, 0x0
|
|
|
|
.line 11
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result p1
|
|
|
|
.line 19
|
|
if-nez p1, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p1}, Landroid/widget/TextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object p1
|
|
|
|
.line 27
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result p1
|
|
|
|
.line 31
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 34
|
|
.line 35
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p1, v1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
:cond_0
|
|
invoke-direct {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setHintInternal(Ljava/lang/CharSequence;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
goto :goto_0
|
|
|
|
.line 44
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p1}, Landroid/widget/TextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result-object p1
|
|
|
|
.line 50
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result v1
|
|
|
|
.line 54
|
|
if-nez v1, :cond_3
|
|
|
|
.line 55
|
|
.line 56
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->I:Ljava/lang/CharSequence;
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
move-result v1
|
|
|
|
.line 62
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
:cond_3
|
|
const/4 p1, 0x1
|
|
|
|
.line 73
|
|
iput-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 74
|
|
.line 75
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 76
|
|
.line 77
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->v()V
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHintMaxLines(I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->f0:I
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
iput p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->f0:I
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
iget v1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->e0:I
|
|
|
|
.line 14
|
|
.line 15
|
|
if-eq p1, v1, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
iput p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->e0:I
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
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;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->m(I)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 7
|
|
.line 8
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 p1, 0x0
|
|
|
|
.line 15
|
|
invoke-virtual {p0, p1, p1}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->v()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHintTextColor(Landroid/content/res/ColorStateList;)V
|
|
.locals 3
|
|
.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;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x0
|
|
|
|
.line 8
|
|
if-nez v0, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 11
|
|
.line 12
|
|
iget-object v2, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 13
|
|
.line 14
|
|
if-eq v2, p1, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-object p1, v0, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
:cond_0
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 24
|
|
.line 25
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {p0, v1, v1}, Lcom/google/android/material/textfield/TextInputLayout;->w(ZZ)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLengthCounter(Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;)V
|
|
.locals 0
|
|
.param p1 # Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMaxEms(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->l:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, -0x1
|
|
|
|
.line 8
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setMaxEms(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMaxWidth(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->n:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, -0x1
|
|
|
|
.line 8
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setMaxWidth(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMaxWidthResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DimenRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result p1
|
|
|
|
.line 13
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setMaxWidth(I)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMinEms(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->k:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, -0x1
|
|
|
|
.line 8
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setMinEms(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMinWidth(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/Px;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->m:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, -0x1
|
|
|
|
.line 8
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setMinWidth(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMinWidthResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DimenRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result p1
|
|
|
|
.line 13
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setMinWidth(I)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPasswordVisibilityToggleContentDescription(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StringRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3
|
|
invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setContentDescription(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 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 6
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPasswordVisibilityToggleDrawable(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3
|
|
invoke-static {v1, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k: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 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 5
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 6
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPasswordVisibilityToggleEnabled(Z)V
|
|
.locals 3
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->m:I
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v2, 0x1
|
|
|
|
.line 8
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, v2}, Lcom/google/android/material/textfield/EndCompoundLayout;->g(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
|
|
.line 14
|
|
:cond_0
|
|
if-nez p1, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
const/4 p1, 0x0
|
|
|
|
.line 17
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/EndCompoundLayout;->g(I)V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
return-void
|
|
|
|
.line 21
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPasswordVisibilityToggleTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 3
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {v1, v2, p1, v0}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPasswordVisibilityToggleTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 3
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {v1, v2, v0, p1}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPlaceholderText(Ljava/lang/CharSequence;)V
|
|
.locals 5
|
|
.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;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
const/4 v2, 0x1
|
|
|
|
.line 5
|
|
if-nez v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v3
|
|
|
|
.line 13
|
|
invoke-direct {v0, v3, v1}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 17
|
|
.line 18
|
|
sget v3, Lcom/google/android/material/R$id;->textinput_placeholder:I
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setId(I)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v0, v2}, Landroid/view/View;->setImportantForAccessibility(I)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v0, v2}, Landroid/view/View;->setAccessibilityLiveRegion(I)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->f()Landroidx/transition/Fade;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v0
|
|
|
|
.line 37
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->B:Landroidx/transition/Fade;
|
|
|
|
.line 38
|
|
.line 39
|
|
const-wide/16 v3, 0x43
|
|
|
|
.line 40
|
|
.line 41
|
|
iput-wide v3, v0, Landroidx/transition/Transition;->f:J
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->f()Landroidx/transition/Fade;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object v0
|
|
|
|
.line 47
|
|
iput-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->C:Landroidx/transition/Fade;
|
|
|
|
.line 48
|
|
.line 49
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A:I
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextAppearance(I)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->z:Landroid/content/res/ColorStateList;
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 60
|
|
.line 61
|
|
new-instance v3, Lcom/google/android/material/textfield/TextInputLayout$2;
|
|
|
|
.line 62
|
|
.line 63
|
|
invoke-direct {v3}, Landroidx/core/view/AccessibilityDelegateCompat;-><init>()V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
invoke-static {v0, v3}, Landroidx/core/view/ViewCompat;->z(Landroid/view/View;Landroidx/core/view/AccessibilityDelegateCompat;)V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
:cond_0
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result v0
|
|
|
|
.line 73
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 74
|
|
.line 75
|
|
const/4 p1, 0x0
|
|
|
|
.line 76
|
|
invoke-direct {p0, p1}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextEnabled(Z)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
goto :goto_0
|
|
|
|
.line 80
|
|
:cond_1
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 81
|
|
.line 82
|
|
if-nez v0, :cond_2
|
|
|
|
.line 83
|
|
.line 84
|
|
invoke-direct {p0, v2}, Lcom/google/android/material/textfield/TextInputLayout;->setPlaceholderTextEnabled(Z)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
:cond_2
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 88
|
|
.line 89
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 90
|
|
.line 91
|
|
if-nez p1, :cond_3
|
|
|
|
.line 92
|
|
.line 93
|
|
goto :goto_1
|
|
|
|
.line 94
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
move-result-object v1
|
|
|
|
.line 98
|
|
:goto_1
|
|
invoke-virtual {p0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->x(Landroid/text/Editable;)V
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
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;->A:I
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
: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;->z:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->z:Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPrefixText(Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
.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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v1
|
|
|
|
.line 10
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
const/4 v1, 0x0
|
|
|
|
.line 13
|
|
goto :goto_0
|
|
|
|
.line 14
|
|
:cond_0
|
|
move-object v1, p1
|
|
|
|
.line 15
|
|
:goto_0
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->g:Ljava/lang/CharSequence;
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->f:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/StartCompoundLayout;->e()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->f:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->f:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShapeAppearanceModel(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
|
|
.locals 1
|
|
.param p1 # Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/shape/MaterialShapeDrawable;->f:Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, v0, Lcom/google/android/material/shape/MaterialShapeDrawable$MaterialShapeDrawableState;->a:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eq v0, p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->Q:Lcom/google/android/material/shape/ShapeAppearanceModel;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->c()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconCheckable(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CheckableImageButton;->setCheckable(Z)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
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/view/View;->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 2
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroid/view/View;->getContentDescription()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->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/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/StartCompoundLayout;->b(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconMinSize(I)V
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-ltz p1, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->k:I
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eq p1, v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iput p1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->k:I
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setMinimumWidth(I)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setMinimumHeight(I)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 20
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 24
|
|
.line 25
|
|
const-string v0, "startIconSize cannot be less than 0"
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
throw p1
|
|
.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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->m:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v1, v0}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
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
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->m:Landroid/view/View$OnLongClickListener;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v0, p1}, Lcom/google/android/material/textfield/IconHelper;->d(Lcom/google/android/material/internal/CheckableImageButton;Landroid/view/View$OnLongClickListener;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
.locals 1
|
|
.param p1 # Landroid/widget/ImageView$ScaleType;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->l:Landroid/widget/ImageView$ScaleType;
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 3
|
|
.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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, p1, v0}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 3
|
|
.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;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eq v1, p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->j:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/StartCompoundLayout;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1, v2, v0, p1}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartIconVisible(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/textfield/StartCompoundLayout;->c(Z)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSuffixText(Ljava/lang/CharSequence;)V
|
|
.locals 2
|
|
.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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v1
|
|
|
|
.line 10
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
const/4 v1, 0x0
|
|
|
|
.line 13
|
|
goto :goto_0
|
|
|
|
.line 14
|
|
:cond_0
|
|
move-object v1, p1
|
|
|
|
.line 15
|
|
:goto_0
|
|
iput-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->t:Ljava/lang/CharSequence;
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/EndCompoundLayout;->n()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextAppearance(I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
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;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->u:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
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;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {v0, p1}, Landroidx/core/view/ViewCompat;->z(Landroid/view/View;Landroidx/core/view/AccessibilityDelegateCompat;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTypeface(Landroid/graphics/Typeface;)V
|
|
.locals 3
|
|
.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;->g0:Landroid/graphics/Typeface;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eq p1, v0, :cond_4
|
|
|
|
.line 4
|
|
.line 5
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->g0:Landroid/graphics/Typeface;
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->n(Landroid/graphics/Typeface;)Z
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/internal/CollapsingTextHelper;->o(Landroid/graphics/Typeface;)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v2
|
|
|
|
.line 17
|
|
if-nez v1, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 22
|
|
invoke-virtual {v0, v1}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 26
|
|
.line 27
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->B:Landroid/graphics/Typeface;
|
|
|
|
.line 28
|
|
.line 29
|
|
if-eq p1, v1, :cond_3
|
|
|
|
.line 30
|
|
.line 31
|
|
iput-object p1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->B:Landroid/graphics/Typeface;
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object v1, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 34
|
|
.line 35
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {v1, p1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
:cond_2
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 41
|
|
.line 42
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final t()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
if-nez v0, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
goto :goto_0
|
|
|
|
.line 17
|
|
:cond_1
|
|
sget-object v1, Landroidx/appcompat/widget/DrawableUtils;->a:[I
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v0
|
|
|
|
.line 23
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v1
|
|
|
|
.line 27
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getErrorCurrentTextColors()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v1
|
|
|
|
.line 33
|
|
sget-object v2, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {v1, v2}, Landroidx/appcompat/widget/AppCompatDrawableManager;->c(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object v1
|
|
|
|
.line 39
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
return-void
|
|
|
|
.line 43
|
|
:cond_2
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 44
|
|
.line 45
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 46
|
|
.line 47
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 48
|
|
.line 49
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v1}, Landroid/widget/TextView;->getCurrentTextColor()I
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result v1
|
|
|
|
.line 55
|
|
sget-object v2, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-static {v1, v2}, Landroidx/appcompat/widget/AppCompatDrawableManager;->c(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result-object v1
|
|
|
|
.line 61
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
return-void
|
|
|
|
.line 65
|
|
:cond_3
|
|
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->clearColorFilter()V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v0}, Landroid/view/View;->refreshDrawableState()V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
:cond_4
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final u()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->N:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
if-nez v1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
if-nez v0, :cond_2
|
|
|
|
.line 18
|
|
.line 19
|
|
:cond_0
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 20
|
|
.line 21
|
|
if-nez v0, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
invoke-direct {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getEditTextBoxBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object v0
|
|
|
|
.line 28
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
const/4 v0, 0x1
|
|
|
|
.line 34
|
|
iput-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->N:Z
|
|
|
|
.line 35
|
|
.line 36
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final v()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x1
|
|
|
|
.line 4
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v1
|
|
|
|
.line 12
|
|
check-cast v1, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->e()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v2
|
|
|
|
.line 18
|
|
iget v3, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eq v2, v3, :cond_0
|
|
|
|
.line 21
|
|
.line 22
|
|
iput v2, v1, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0}, Landroid/view/View;->requestLayout()V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final w(ZZ)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v2, 0x0
|
|
|
|
.line 8
|
|
const/4 v3, 0x1
|
|
|
|
.line 9
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v1
|
|
|
|
.line 15
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v1
|
|
|
|
.line 19
|
|
if-nez v1, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
move v1, v3
|
|
|
|
.line 22
|
|
goto :goto_0
|
|
|
|
.line 23
|
|
:cond_0
|
|
move v1, v2
|
|
|
|
.line 24
|
|
:goto_0
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 25
|
|
.line 26
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v4}, Landroid/view/View;->hasFocus()Z
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v4
|
|
|
|
.line 32
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 33
|
|
.line 34
|
|
move v4, v3
|
|
|
|
.line 35
|
|
goto :goto_1
|
|
|
|
.line 36
|
|
:cond_1
|
|
move v4, v2
|
|
|
|
.line 37
|
|
:goto_1
|
|
iget-object v5, p0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 38
|
|
.line 39
|
|
iget-object v6, p0, Lcom/google/android/material/textfield/TextInputLayout;->A0:Lcom/google/android/material/internal/CollapsingTextHelper;
|
|
|
|
.line 40
|
|
.line 41
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v6, v5}, Lcom/google/android/material/internal/CollapsingTextHelper;->l(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
:cond_2
|
|
const/4 v5, 0x0
|
|
|
|
.line 47
|
|
if-nez v0, :cond_4
|
|
|
|
.line 48
|
|
.line 49
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->n0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 50
|
|
.line 51
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 52
|
|
.line 53
|
|
const v7, -0x101009e
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
filled-new-array {v7}, [I
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-object v7
|
|
|
|
.line 60
|
|
iget v8, p0, Lcom/google/android/material/textfield/TextInputLayout;->x0:I
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {v0, v7, v8}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
move-result v0
|
|
|
|
.line 66
|
|
goto :goto_2
|
|
|
|
.line 67
|
|
:cond_3
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->x0:I
|
|
|
|
.line 68
|
|
.line 69
|
|
:goto_2
|
|
invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result-object v0
|
|
|
|
.line 73
|
|
invoke-virtual {v6, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->l(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
goto :goto_4
|
|
|
|
.line 77
|
|
:cond_4
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result v0
|
|
|
|
.line 81
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 82
|
|
.line 83
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o:Lcom/google/android/material/textfield/IndicatorViewController;
|
|
|
|
.line 84
|
|
.line 85
|
|
iget-object v0, v0, Lcom/google/android/material/textfield/IndicatorViewController;->r:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 86
|
|
.line 87
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 88
|
|
.line 89
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
move-result-object v0
|
|
|
|
.line 93
|
|
goto :goto_3
|
|
|
|
.line 94
|
|
:cond_5
|
|
move-object v0, v5
|
|
|
|
.line 95
|
|
:goto_3
|
|
invoke-virtual {v6, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->l(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
goto :goto_4
|
|
|
|
.line 99
|
|
:cond_6
|
|
iget-boolean v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 100
|
|
.line 101
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 102
|
|
.line 103
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 104
|
|
.line 105
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {v0}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
move-result-object v0
|
|
|
|
.line 111
|
|
invoke-virtual {v6, v0}, Lcom/google/android/material/internal/CollapsingTextHelper;->l(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 112
|
|
.line 113
|
|
.line 114
|
|
goto :goto_4
|
|
|
|
.line 115
|
|
:cond_7
|
|
if-eqz v4, :cond_8
|
|
|
|
.line 116
|
|
.line 117
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->o0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 118
|
|
.line 119
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 120
|
|
.line 121
|
|
iget-object v7, v6, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 122
|
|
.line 123
|
|
if-eq v7, v0, :cond_8
|
|
|
|
.line 124
|
|
.line 125
|
|
iput-object v0, v6, Lcom/google/android/material/internal/CollapsingTextHelper;->k:Landroid/content/res/ColorStateList;
|
|
|
|
.line 126
|
|
.line 127
|
|
invoke-virtual {v6, v2}, Lcom/google/android/material/internal/CollapsingTextHelper;->j(Z)V
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
:cond_8
|
|
:goto_4
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 131
|
|
.line 132
|
|
iget-object v7, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 133
|
|
.line 134
|
|
if-nez v1, :cond_f
|
|
|
|
.line 135
|
|
.line 136
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->B0:Z
|
|
|
|
.line 137
|
|
.line 138
|
|
if-eqz v1, :cond_f
|
|
|
|
.line 139
|
|
.line 140
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
move-result v1
|
|
|
|
.line 144
|
|
if-eqz v1, :cond_9
|
|
|
|
.line 145
|
|
.line 146
|
|
if-eqz v4, :cond_9
|
|
|
|
.line 147
|
|
.line 148
|
|
goto :goto_6
|
|
|
|
.line 149
|
|
:cond_9
|
|
if-nez p2, :cond_a
|
|
|
|
.line 150
|
|
.line 151
|
|
iget-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 152
|
|
.line 153
|
|
if-nez p2, :cond_10
|
|
|
|
.line 154
|
|
.line 155
|
|
:cond_a
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 156
|
|
.line 157
|
|
if-eqz p2, :cond_b
|
|
|
|
.line 158
|
|
.line 159
|
|
invoke-virtual {p2}, Landroid/animation/ValueAnimator;->isRunning()Z
|
|
|
|
.line 160
|
|
.line 161
|
|
.line 162
|
|
move-result p2
|
|
|
|
.line 163
|
|
if-eqz p2, :cond_b
|
|
|
|
.line 164
|
|
.line 165
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 166
|
|
.line 167
|
|
invoke-virtual {p2}, Landroid/animation/ValueAnimator;->cancel()V
|
|
|
|
.line 168
|
|
.line 169
|
|
.line 170
|
|
:cond_b
|
|
const/4 p2, 0x0
|
|
|
|
.line 171
|
|
if-eqz p1, :cond_c
|
|
|
|
.line 172
|
|
.line 173
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->C0:Z
|
|
|
|
.line 174
|
|
.line 175
|
|
if-eqz p1, :cond_c
|
|
|
|
.line 176
|
|
.line 177
|
|
invoke-virtual {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->b(F)V
|
|
|
|
.line 178
|
|
.line 179
|
|
.line 180
|
|
goto :goto_5
|
|
|
|
.line 181
|
|
:cond_c
|
|
invoke-virtual {v6, p2}, Lcom/google/android/material/internal/CollapsingTextHelper;->p(F)V
|
|
|
|
.line 182
|
|
.line 183
|
|
.line 184
|
|
:goto_5
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 185
|
|
.line 186
|
|
.line 187
|
|
move-result p1
|
|
|
|
.line 188
|
|
if-eqz p1, :cond_d
|
|
|
|
.line 189
|
|
.line 190
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 191
|
|
.line 192
|
|
check-cast p1, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 193
|
|
.line 194
|
|
iget-object p1, p1, Lcom/google/android/material/textfield/CutoutDrawable;->L:Lcom/google/android/material/textfield/CutoutDrawable$CutoutDrawableState;
|
|
|
|
.line 195
|
|
.line 196
|
|
iget-object p1, p1, Lcom/google/android/material/textfield/CutoutDrawable$CutoutDrawableState;->s:Landroid/graphics/RectF;
|
|
|
|
.line 197
|
|
.line 198
|
|
invoke-virtual {p1}, Landroid/graphics/RectF;->isEmpty()Z
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
move-result p1
|
|
|
|
.line 202
|
|
if-nez p1, :cond_d
|
|
|
|
.line 203
|
|
.line 204
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 205
|
|
.line 206
|
|
.line 207
|
|
move-result p1
|
|
|
|
.line 208
|
|
if-eqz p1, :cond_d
|
|
|
|
.line 209
|
|
.line 210
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 211
|
|
.line 212
|
|
check-cast p1, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 213
|
|
.line 214
|
|
invoke-virtual {p1, p2, p2, p2, p2}, Lcom/google/android/material/textfield/CutoutDrawable;->w(FFFF)V
|
|
|
|
.line 215
|
|
.line 216
|
|
.line 217
|
|
:cond_d
|
|
iput-boolean v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 218
|
|
.line 219
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 220
|
|
.line 221
|
|
if-eqz p1, :cond_e
|
|
|
|
.line 222
|
|
.line 223
|
|
iget-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 224
|
|
.line 225
|
|
if-eqz p2, :cond_e
|
|
|
|
.line 226
|
|
.line 227
|
|
invoke-virtual {p1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 228
|
|
.line 229
|
|
.line 230
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 231
|
|
.line 232
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->C:Landroidx/transition/Fade;
|
|
|
|
.line 233
|
|
.line 234
|
|
invoke-static {p1, p2}, Landroidx/transition/TransitionManager;->a(Landroid/view/ViewGroup;Landroidx/transition/Transition;)V
|
|
|
|
.line 235
|
|
.line 236
|
|
.line 237
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 238
|
|
.line 239
|
|
const/4 p2, 0x4
|
|
|
|
.line 240
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
:cond_e
|
|
iput-boolean v3, v7, Lcom/google/android/material/textfield/StartCompoundLayout;->n:Z
|
|
|
|
.line 244
|
|
.line 245
|
|
invoke-virtual {v7}, Lcom/google/android/material/textfield/StartCompoundLayout;->e()V
|
|
|
|
.line 246
|
|
.line 247
|
|
.line 248
|
|
iput-boolean v3, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->v:Z
|
|
|
|
.line 249
|
|
.line 250
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/EndCompoundLayout;->n()V
|
|
|
|
.line 251
|
|
.line 252
|
|
.line 253
|
|
return-void
|
|
|
|
.line 254
|
|
:cond_f
|
|
:goto_6
|
|
if-nez p2, :cond_11
|
|
|
|
.line 255
|
|
.line 256
|
|
iget-boolean p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 257
|
|
.line 258
|
|
if-eqz p2, :cond_10
|
|
|
|
.line 259
|
|
.line 260
|
|
goto :goto_7
|
|
|
|
.line 261
|
|
:cond_10
|
|
return-void
|
|
|
|
.line 262
|
|
:cond_11
|
|
:goto_7
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 263
|
|
.line 264
|
|
if-eqz p2, :cond_12
|
|
|
|
.line 265
|
|
.line 266
|
|
invoke-virtual {p2}, Landroid/animation/ValueAnimator;->isRunning()Z
|
|
|
|
.line 267
|
|
.line 268
|
|
.line 269
|
|
move-result p2
|
|
|
|
.line 270
|
|
if-eqz p2, :cond_12
|
|
|
|
.line 271
|
|
.line 272
|
|
iget-object p2, p0, Lcom/google/android/material/textfield/TextInputLayout;->D0:Landroid/animation/ValueAnimator;
|
|
|
|
.line 273
|
|
.line 274
|
|
invoke-virtual {p2}, Landroid/animation/ValueAnimator;->cancel()V
|
|
|
|
.line 275
|
|
.line 276
|
|
.line 277
|
|
:cond_12
|
|
const/high16 p2, 0x3f800000 # 1.0f
|
|
|
|
.line 278
|
|
.line 279
|
|
if-eqz p1, :cond_13
|
|
|
|
.line 280
|
|
.line 281
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->C0:Z
|
|
|
|
.line 282
|
|
.line 283
|
|
if-eqz p1, :cond_13
|
|
|
|
.line 284
|
|
.line 285
|
|
invoke-virtual {p0, p2}, Lcom/google/android/material/textfield/TextInputLayout;->b(F)V
|
|
|
|
.line 286
|
|
.line 287
|
|
.line 288
|
|
goto :goto_8
|
|
|
|
.line 289
|
|
:cond_13
|
|
invoke-virtual {v6, p2}, Lcom/google/android/material/internal/CollapsingTextHelper;->p(F)V
|
|
|
|
.line 290
|
|
.line 291
|
|
.line 292
|
|
:goto_8
|
|
iput-boolean v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 293
|
|
.line 294
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 295
|
|
.line 296
|
|
.line 297
|
|
move-result p1
|
|
|
|
.line 298
|
|
if-eqz p1, :cond_14
|
|
|
|
.line 299
|
|
.line 300
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->l()V
|
|
|
|
.line 301
|
|
.line 302
|
|
.line 303
|
|
:cond_14
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 304
|
|
.line 305
|
|
if-nez p1, :cond_15
|
|
|
|
.line 306
|
|
.line 307
|
|
goto :goto_9
|
|
|
|
.line 308
|
|
:cond_15
|
|
invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
|
|
|
.line 309
|
|
.line 310
|
|
.line 311
|
|
move-result-object v5
|
|
|
|
.line 312
|
|
:goto_9
|
|
invoke-virtual {p0, v5}, Lcom/google/android/material/textfield/TextInputLayout;->x(Landroid/text/Editable;)V
|
|
|
|
.line 313
|
|
.line 314
|
|
.line 315
|
|
iput-boolean v2, v7, Lcom/google/android/material/textfield/StartCompoundLayout;->n:Z
|
|
|
|
.line 316
|
|
.line 317
|
|
invoke-virtual {v7}, Lcom/google/android/material/textfield/StartCompoundLayout;->e()V
|
|
|
|
.line 318
|
|
.line 319
|
|
.line 320
|
|
iput-boolean v2, v0, Lcom/google/android/material/textfield/EndCompoundLayout;->v:Z
|
|
|
|
.line 321
|
|
.line 322
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/EndCompoundLayout;->n()V
|
|
|
|
.line 323
|
|
.line 324
|
|
.line 325
|
|
return-void
|
|
.end method
|
|
|
|
.method public final x(Landroid/text/Editable;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->s:Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0, p1}, Lcom/google/android/material/textfield/TextInputLayout$LengthCounter;->b(Landroid/text/Editable;)I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result p1
|
|
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c:Landroid/widget/FrameLayout;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
if-nez p1, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-boolean p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 20
|
|
.line 21
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result p1
|
|
|
|
.line 29
|
|
if-nez p1, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 32
|
|
.line 33
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->w:Ljava/lang/CharSequence;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p1, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->B:Landroidx/transition/Fade;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-static {v0, p1}, Landroidx/transition/TransitionManager;->a(Landroid/view/ViewGroup;Landroidx/transition/Transition;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 44
|
|
.line 45
|
|
const/4 v0, 0x0
|
|
|
|
.line 46
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {p1}, Landroid/view/View;->bringToFront()V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
return-void
|
|
|
|
.line 55
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 56
|
|
.line 57
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 58
|
|
.line 59
|
|
iget-boolean v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->x:Z
|
|
|
|
.line 60
|
|
.line 61
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 62
|
|
.line 63
|
|
const/4 v1, 0x0
|
|
|
|
.line 64
|
|
invoke-virtual {p1, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->C:Landroidx/transition/Fade;
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-static {v0, p1}, Landroidx/transition/TransitionManager;->a(Landroid/view/ViewGroup;Landroidx/transition/Transition;)V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/TextInputLayout;->y:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 73
|
|
.line 74
|
|
const/4 v0, 0x4
|
|
|
|
.line 75
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final y(ZZ)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/content/res/ColorStateList;->getDefaultColor()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
iget-object v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 8
|
|
.line 9
|
|
const v2, 0x1010367
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
const v3, 0x101009e
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
filled-new-array {v2, v3}, [I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v2
|
|
|
|
.line 19
|
|
invoke-virtual {v1, v2, v0}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result v1
|
|
|
|
.line 23
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 24
|
|
.line 25
|
|
const v4, 0x10102fe
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
filled-new-array {v4, v3}, [I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v3
|
|
|
|
.line 32
|
|
invoke-virtual {v2, v3, v0}, Landroid/content/res/ColorStateList;->getColorForState([II)I
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result v2
|
|
|
|
.line 36
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 37
|
|
.line 38
|
|
iput v2, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 39
|
|
.line 40
|
|
return-void
|
|
|
|
.line 41
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 42
|
|
.line 43
|
|
iput v1, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 44
|
|
.line 45
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_1
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 47
|
|
.line 48
|
|
return-void
|
|
.end method
|
|
|
|
.method public final z()V
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_16
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto/16 :goto_6
|
|
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->isFocused()Z
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v0
|
|
|
|
.line 15
|
|
const/4 v1, 0x0
|
|
|
|
.line 16
|
|
const/4 v2, 0x1
|
|
|
|
.line 17
|
|
if-nez v0, :cond_2
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 20
|
|
.line 21
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v0}, Landroid/view/View;->hasFocus()Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
goto :goto_0
|
|
|
|
.line 30
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
.line 31
|
|
goto :goto_1
|
|
|
|
.line 32
|
|
:cond_2
|
|
:goto_0
|
|
move v0, v2
|
|
|
|
.line 33
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/view/View;->isHovered()Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v3
|
|
|
|
.line 37
|
|
if-nez v3, :cond_3
|
|
|
|
.line 38
|
|
.line 39
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->i:Landroid/widget/EditText;
|
|
|
|
.line 40
|
|
.line 41
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v3}, Landroid/view/View;->isHovered()Z
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v3
|
|
|
|
.line 47
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 48
|
|
.line 49
|
|
:cond_3
|
|
move v1, v2
|
|
|
|
.line 50
|
|
:cond_4
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result v3
|
|
|
|
.line 54
|
|
if-nez v3, :cond_5
|
|
|
|
.line 55
|
|
.line 56
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->x0:I
|
|
|
|
.line 57
|
|
.line 58
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 59
|
|
.line 60
|
|
goto :goto_2
|
|
|
|
.line 61
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result v3
|
|
|
|
.line 65
|
|
if-eqz v3, :cond_7
|
|
|
|
.line 66
|
|
.line 67
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 68
|
|
.line 69
|
|
if-eqz v3, :cond_6
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-virtual {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->y(ZZ)V
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
goto :goto_2
|
|
|
|
.line 75
|
|
:cond_6
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->getErrorCurrentTextColors()I
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
move-result v3
|
|
|
|
.line 79
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 80
|
|
.line 81
|
|
goto :goto_2
|
|
|
|
.line 82
|
|
:cond_7
|
|
iget-boolean v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->r:Z
|
|
|
|
.line 83
|
|
.line 84
|
|
if-eqz v3, :cond_9
|
|
|
|
.line 85
|
|
.line 86
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->t:Landroidx/appcompat/widget/AppCompatTextView;
|
|
|
|
.line 87
|
|
.line 88
|
|
if-eqz v3, :cond_9
|
|
|
|
.line 89
|
|
.line 90
|
|
iget-object v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->s0:Landroid/content/res/ColorStateList;
|
|
|
|
.line 91
|
|
.line 92
|
|
if-eqz v4, :cond_8
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-virtual {p0, v0, v1}, Lcom/google/android/material/textfield/TextInputLayout;->y(ZZ)V
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
goto :goto_2
|
|
|
|
.line 98
|
|
:cond_8
|
|
invoke-virtual {v3}, Landroid/widget/TextView;->getCurrentTextColor()I
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
move-result v3
|
|
|
|
.line 102
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 103
|
|
.line 104
|
|
goto :goto_2
|
|
|
|
.line 105
|
|
:cond_9
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 106
|
|
.line 107
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->r0:I
|
|
|
|
.line 108
|
|
.line 109
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 110
|
|
.line 111
|
|
goto :goto_2
|
|
|
|
.line 112
|
|
:cond_a
|
|
if-eqz v1, :cond_b
|
|
|
|
.line 113
|
|
.line 114
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->q0:I
|
|
|
|
.line 115
|
|
.line 116
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 117
|
|
.line 118
|
|
goto :goto_2
|
|
|
|
.line 119
|
|
:cond_b
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->p0:I
|
|
|
|
.line 120
|
|
.line 121
|
|
iput v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->b0:I
|
|
|
|
.line 122
|
|
.line 123
|
|
:goto_2
|
|
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 124
|
|
.line 125
|
|
const/16 v4, 0x1d
|
|
|
|
.line 126
|
|
.line 127
|
|
if-lt v3, v4, :cond_c
|
|
|
|
.line 128
|
|
.line 129
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->r()V
|
|
|
|
.line 130
|
|
.line 131
|
|
.line 132
|
|
:cond_c
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->g:Lcom/google/android/material/textfield/EndCompoundLayout;
|
|
|
|
.line 133
|
|
.line 134
|
|
iget-object v4, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 135
|
|
.line 136
|
|
iget-object v5, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->k:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 137
|
|
.line 138
|
|
iget-object v6, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 139
|
|
.line 140
|
|
invoke-virtual {v3}, Lcom/google/android/material/textfield/EndCompoundLayout;->l()V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
iget-object v7, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->g:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 144
|
|
.line 145
|
|
iget-object v8, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->h:Landroid/content/res/ColorStateList;
|
|
|
|
.line 146
|
|
.line 147
|
|
invoke-static {v6, v7, v8}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 148
|
|
.line 149
|
|
.line 150
|
|
iget-object v7, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-static {v6, v5, v7}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
invoke-virtual {v3}, Lcom/google/android/material/textfield/EndCompoundLayout;->b()Lcom/google/android/material/textfield/EndIconDelegate;
|
|
|
|
.line 156
|
|
.line 157
|
|
.line 158
|
|
move-result-object v6
|
|
|
|
.line 159
|
|
instance-of v6, v6, Lcom/google/android/material/textfield/DropdownMenuEndIconDelegate;
|
|
|
|
.line 160
|
|
.line 161
|
|
if-eqz v6, :cond_e
|
|
|
|
.line 162
|
|
.line 163
|
|
invoke-virtual {v4}, Lcom/google/android/material/textfield/TextInputLayout;->o()Z
|
|
|
|
.line 164
|
|
.line 165
|
|
.line 166
|
|
move-result v6
|
|
|
|
.line 167
|
|
if-eqz v6, :cond_d
|
|
|
|
.line 168
|
|
.line 169
|
|
invoke-virtual {v5}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 170
|
|
.line 171
|
|
.line 172
|
|
move-result-object v6
|
|
|
|
.line 173
|
|
if-eqz v6, :cond_d
|
|
|
|
.line 174
|
|
.line 175
|
|
invoke-virtual {v5}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 176
|
|
.line 177
|
|
.line 178
|
|
move-result-object v3
|
|
|
|
.line 179
|
|
invoke-virtual {v3}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 180
|
|
.line 181
|
|
.line 182
|
|
move-result-object v3
|
|
|
|
.line 183
|
|
invoke-virtual {v4}, Lcom/google/android/material/textfield/TextInputLayout;->getErrorCurrentTextColors()I
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
move-result v4
|
|
|
|
.line 187
|
|
invoke-virtual {v3, v4}, Landroid/graphics/drawable/Drawable;->setTint(I)V
|
|
|
|
.line 188
|
|
.line 189
|
|
.line 190
|
|
invoke-virtual {v5, v3}, Landroidx/appcompat/widget/AppCompatImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 191
|
|
.line 192
|
|
.line 193
|
|
goto :goto_3
|
|
|
|
.line 194
|
|
:cond_d
|
|
iget-object v6, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->o:Landroid/content/res/ColorStateList;
|
|
|
|
.line 195
|
|
.line 196
|
|
iget-object v3, v3, Lcom/google/android/material/textfield/EndCompoundLayout;->p:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 197
|
|
.line 198
|
|
invoke-static {v4, v5, v6, v3}, Lcom/google/android/material/textfield/IconHelper;->a(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
:cond_e
|
|
:goto_3
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->f:Lcom/google/android/material/textfield/StartCompoundLayout;
|
|
|
|
.line 202
|
|
.line 203
|
|
iget-object v4, v3, Lcom/google/android/material/textfield/StartCompoundLayout;->c:Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 204
|
|
.line 205
|
|
iget-object v5, v3, Lcom/google/android/material/textfield/StartCompoundLayout;->h:Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 206
|
|
.line 207
|
|
iget-object v3, v3, Lcom/google/android/material/textfield/StartCompoundLayout;->i:Landroid/content/res/ColorStateList;
|
|
|
|
.line 208
|
|
.line 209
|
|
invoke-static {v4, v5, v3}, Lcom/google/android/material/textfield/IconHelper;->c(Lcom/google/android/material/textfield/TextInputLayout;Lcom/google/android/material/internal/CheckableImageButton;Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 210
|
|
.line 211
|
|
.line 212
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 213
|
|
.line 214
|
|
const/4 v4, 0x2
|
|
|
|
.line 215
|
|
if-ne v3, v4, :cond_11
|
|
|
|
.line 216
|
|
.line 217
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 218
|
|
.line 219
|
|
if-eqz v0, :cond_f
|
|
|
|
.line 220
|
|
.line 221
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
move-result v4
|
|
|
|
.line 225
|
|
if-eqz v4, :cond_f
|
|
|
|
.line 226
|
|
.line 227
|
|
iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->a0:I
|
|
|
|
.line 228
|
|
.line 229
|
|
iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 230
|
|
.line 231
|
|
goto :goto_4
|
|
|
|
.line 232
|
|
:cond_f
|
|
iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->W:I
|
|
|
|
.line 233
|
|
.line 234
|
|
iput v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 235
|
|
.line 236
|
|
:goto_4
|
|
iget v4, p0, Lcom/google/android/material/textfield/TextInputLayout;->V:I
|
|
|
|
.line 237
|
|
.line 238
|
|
if-eq v4, v3, :cond_11
|
|
|
|
.line 239
|
|
.line 240
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 241
|
|
.line 242
|
|
.line 243
|
|
move-result v3
|
|
|
|
.line 244
|
|
if-eqz v3, :cond_11
|
|
|
|
.line 245
|
|
.line 246
|
|
iget-boolean v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->z0:Z
|
|
|
|
.line 247
|
|
.line 248
|
|
if-nez v3, :cond_11
|
|
|
|
.line 249
|
|
.line 250
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->g()Z
|
|
|
|
.line 251
|
|
.line 252
|
|
.line 253
|
|
move-result v3
|
|
|
|
.line 254
|
|
if-eqz v3, :cond_10
|
|
|
|
.line 255
|
|
.line 256
|
|
iget-object v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->K:Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 257
|
|
.line 258
|
|
check-cast v3, Lcom/google/android/material/textfield/CutoutDrawable;
|
|
|
|
.line 259
|
|
.line 260
|
|
const/4 v4, 0x0
|
|
|
|
.line 261
|
|
invoke-virtual {v3, v4, v4, v4, v4}, Lcom/google/android/material/textfield/CutoutDrawable;->w(FFFF)V
|
|
|
|
.line 262
|
|
.line 263
|
|
.line 264
|
|
:cond_10
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->l()V
|
|
|
|
.line 265
|
|
.line 266
|
|
.line 267
|
|
:cond_11
|
|
iget v3, p0, Lcom/google/android/material/textfield/TextInputLayout;->T:I
|
|
|
|
.line 268
|
|
.line 269
|
|
if-ne v3, v2, :cond_15
|
|
|
|
.line 270
|
|
.line 271
|
|
invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
.line 272
|
|
.line 273
|
|
.line 274
|
|
move-result v2
|
|
|
|
.line 275
|
|
if-nez v2, :cond_12
|
|
|
|
.line 276
|
|
.line 277
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->u0:I
|
|
|
|
.line 278
|
|
.line 279
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 280
|
|
.line 281
|
|
goto :goto_5
|
|
|
|
.line 282
|
|
:cond_12
|
|
if-eqz v1, :cond_13
|
|
|
|
.line 283
|
|
.line 284
|
|
if-nez v0, :cond_13
|
|
|
|
.line 285
|
|
.line 286
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->w0:I
|
|
|
|
.line 287
|
|
.line 288
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 289
|
|
.line 290
|
|
goto :goto_5
|
|
|
|
.line 291
|
|
:cond_13
|
|
if-eqz v0, :cond_14
|
|
|
|
.line 292
|
|
.line 293
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->v0:I
|
|
|
|
.line 294
|
|
.line 295
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 296
|
|
.line 297
|
|
goto :goto_5
|
|
|
|
.line 298
|
|
:cond_14
|
|
iget v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->t0:I
|
|
|
|
.line 299
|
|
.line 300
|
|
iput v0, p0, Lcom/google/android/material/textfield/TextInputLayout;->c0:I
|
|
|
|
.line 301
|
|
.line 302
|
|
:cond_15
|
|
:goto_5
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/TextInputLayout;->c()V
|
|
|
|
.line 303
|
|
.line 304
|
|
.line 305
|
|
:cond_16
|
|
:goto_6
|
|
return-void
|
|
.end method
|