* 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>
1643 lines
36 KiB
Smali
1643 lines
36 KiB
Smali
.class public Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;
|
|
.super Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.field public final j:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.field public final k:Landroid/graphics/Rect;
|
|
|
|
.field public final l:I
|
|
|
|
.field public final m:F
|
|
|
|
.field public n:Landroid/content/res/ColorStateList;
|
|
|
|
.field public o:I
|
|
|
|
.field public p:Landroid/content/res/ColorStateList;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 7
|
|
|
|
.line 1
|
|
sget v3, Landroidx/appcompat/R$attr;->autoCompleteTextViewStyle:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v6, 0x0
|
|
|
|
.line 4
|
|
invoke-static {p1, p2, v3, v6}, Lcom/google/android/material/theme/overlay/MaterialThemeOverlay;->a(Landroid/content/Context;Landroid/util/AttributeSet;II)Landroid/content/Context;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
invoke-direct {p0, p1, p2, v3}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
new-instance p1, Landroid/graphics/Rect;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->k:Landroid/graphics/Rect;
|
|
|
|
.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
|
|
sget-object v2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView:[I
|
|
|
|
.line 23
|
|
.line 24
|
|
sget v4, Landroidx/appcompat/R$style;->Widget_AppCompat_AutoCompleteTextView:I
|
|
|
|
.line 25
|
|
.line 26
|
|
new-array v5, v6, [I
|
|
|
|
.line 27
|
|
.line 28
|
|
move-object v1, p2
|
|
|
|
.line 29
|
|
invoke-static/range {v0 .. v5}, Lcom/google/android/material/internal/ThemeEnforcement;->d(Landroid/content/Context;Landroid/util/AttributeSet;[III[I)Landroid/content/res/TypedArray;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p1
|
|
|
|
.line 33
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_android_inputType:I
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result p2
|
|
|
|
.line 39
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 40
|
|
.line 41
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_android_inputType:I
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {p1, p2, v6}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result p2
|
|
|
|
.line 47
|
|
if-nez p2, :cond_0
|
|
|
|
.line 48
|
|
.line 49
|
|
const/4 p2, 0x0
|
|
|
|
.line 50
|
|
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/AppCompatAutoCompleteTextView;->setKeyListener(Landroid/text/method/KeyListener;)V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
:cond_0
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_simpleItemLayout:I
|
|
|
|
.line 54
|
|
.line 55
|
|
sget v1, Lcom/google/android/material/R$layout;->mtrl_auto_complete_simple_item:I
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {p1, p2, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result p2
|
|
|
|
.line 61
|
|
iput p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->l:I
|
|
|
|
.line 62
|
|
.line 63
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_android_popupElevation:I
|
|
|
|
.line 64
|
|
.line 65
|
|
sget v1, Lcom/google/android/material/R$dimen;->mtrl_exposed_dropdown_menu_popup_elevation:I
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {p1, p2, v1}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
move-result p2
|
|
|
|
.line 71
|
|
int-to-float p2, p2
|
|
|
|
.line 72
|
|
iput p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->m:F
|
|
|
|
.line 73
|
|
.line 74
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_dropDownBackgroundTint:I
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result p2
|
|
|
|
.line 80
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 81
|
|
.line 82
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_dropDownBackgroundTint:I
|
|
|
|
.line 83
|
|
.line 84
|
|
invoke-virtual {p1, p2, v6}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
move-result p2
|
|
|
|
.line 88
|
|
invoke-static {p2}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object p2
|
|
|
|
.line 92
|
|
iput-object p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->n:Landroid/content/res/ColorStateList;
|
|
|
|
.line 93
|
|
.line 94
|
|
:cond_1
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_simpleItemSelectedColor:I
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {p1, p2, v6}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result p2
|
|
|
|
.line 100
|
|
iput p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->o:I
|
|
|
|
.line 101
|
|
.line 102
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_simpleItemSelectedRippleColor:I
|
|
|
|
.line 103
|
|
.line 104
|
|
invoke-static {v0, p1, p2}, Lcom/google/android/material/resources/MaterialResources;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
move-result-object p2
|
|
|
|
.line 108
|
|
iput-object p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->p:Landroid/content/res/ColorStateList;
|
|
|
|
.line 109
|
|
.line 110
|
|
const-string p2, "accessibility"
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-virtual {v0, p2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
move-result-object p2
|
|
|
|
.line 116
|
|
check-cast p2, Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.line 117
|
|
.line 118
|
|
iput-object p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->j:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.line 119
|
|
.line 120
|
|
new-instance p2, Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-direct {p2, v0}, Landroidx/appcompat/widget/ListPopupWindow;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
iput-object p2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 126
|
|
.line 127
|
|
const/4 v0, 0x1
|
|
|
|
.line 128
|
|
iput-boolean v0, p2, Landroidx/appcompat/widget/ListPopupWindow;->C:Z
|
|
|
|
.line 129
|
|
.line 130
|
|
iget-object v1, p2, Landroidx/appcompat/widget/ListPopupWindow;->D:Landroid/widget/PopupWindow;
|
|
|
|
.line 131
|
|
.line 132
|
|
invoke-virtual {v1, v0}, Landroid/widget/PopupWindow;->setFocusable(Z)V
|
|
|
|
.line 133
|
|
.line 134
|
|
.line 135
|
|
iput-object p0, p2, Landroidx/appcompat/widget/ListPopupWindow;->s:Landroid/view/View;
|
|
|
|
.line 136
|
|
.line 137
|
|
const/4 v0, 0x2
|
|
|
|
.line 138
|
|
iget-object v1, p2, Landroidx/appcompat/widget/ListPopupWindow;->D:Landroid/widget/PopupWindow;
|
|
|
|
.line 139
|
|
.line 140
|
|
invoke-virtual {v1, v0}, Landroid/widget/PopupWindow;->setInputMethodMode(I)V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
move-result-object v0
|
|
|
|
.line 147
|
|
invoke-virtual {p2, v0}, Landroidx/appcompat/widget/ListPopupWindow;->p(Landroid/widget/ListAdapter;)V
|
|
|
|
.line 148
|
|
.line 149
|
|
.line 150
|
|
new-instance v0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$1;
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-direct {v0, p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$1;-><init>(Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;)V
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
iput-object v0, p2, Landroidx/appcompat/widget/ListPopupWindow;->t:Landroid/widget/AdapterView$OnItemClickListener;
|
|
|
|
.line 156
|
|
.line 157
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_simpleItems:I
|
|
|
|
.line 158
|
|
.line 159
|
|
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 160
|
|
.line 161
|
|
.line 162
|
|
move-result p2
|
|
|
|
.line 163
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 164
|
|
.line 165
|
|
sget p2, Lcom/google/android/material/R$styleable;->MaterialAutoCompleteTextView_simpleItems:I
|
|
|
|
.line 166
|
|
.line 167
|
|
invoke-virtual {p1, p2, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 168
|
|
.line 169
|
|
.line 170
|
|
move-result p2
|
|
|
|
.line 171
|
|
invoke-virtual {p0, p2}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->setSimpleItems(I)V
|
|
|
|
.line 172
|
|
.line 173
|
|
.line 174
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 175
|
|
.line 176
|
|
.line 177
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;Ljava/lang/Object;)Ljava/lang/CharSequence;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroid/widget/AutoCompleteTextView;->convertSelectionToString(Ljava/lang/Object;)Ljava/lang/CharSequence;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
|
|
.line 5
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final b()Lcom/google/android/material/textfield/TextInputLayout;
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
instance-of v1, v0, Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
check-cast v0, Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 12
|
|
.line 13
|
|
return-object v0
|
|
|
|
.line 14
|
|
:cond_0
|
|
invoke-interface {v0}, Landroid/view/ViewParent;->getParent()Landroid/view/ViewParent;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v0
|
|
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 20
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final c()Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->j:Landroid/view/accessibility/AccessibilityManager;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityManager;->isTouchExplorationEnabled()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityManager;->isEnabled()Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v1
|
|
|
|
.line 18
|
|
if-nez v1, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
goto :goto_1
|
|
|
|
.line 21
|
|
:cond_1
|
|
const/16 v1, 0x10
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v0, v1}, Landroid/view/accessibility/AccessibilityManager;->getEnabledAccessibilityServiceList(I)Ljava/util/List;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v0
|
|
|
|
.line 27
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v0
|
|
|
|
.line 33
|
|
:cond_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v1
|
|
|
|
.line 37
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object v1
|
|
|
|
.line 43
|
|
check-cast v1, Landroid/accessibilityservice/AccessibilityServiceInfo;
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v1}, Landroid/accessibilityservice/AccessibilityServiceInfo;->getSettingsActivityName()Ljava/lang/String;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v2
|
|
|
|
.line 49
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v1}, Landroid/accessibilityservice/AccessibilityServiceInfo;->getSettingsActivityName()Ljava/lang/String;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object v1
|
|
|
|
.line 55
|
|
const-string v2, "SwitchAccess"
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result v1
|
|
|
|
.line 61
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 62
|
|
.line 63
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 64
|
|
return v0
|
|
|
|
.line 65
|
|
:cond_3
|
|
:goto_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 66
|
|
return v0
|
|
.end method
|
|
|
|
.method public final dismissDropDown()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->c()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/ListPopupWindow;->dismiss()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
|
|
.line 13
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->dismissDropDown()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDropDownBackgroundTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->n:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHint()Ljava/lang/CharSequence;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->b()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-boolean v1, v0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/TextInputLayout;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v0
|
|
|
|
.line 15
|
|
return-object v0
|
|
|
|
.line 16
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPopupElevation()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->m:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSimpleItemSelectedColor()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->o:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSimpleItemSelectedRippleColor()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->p:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onAttachedToWindow()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->onAttachedToWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->b()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
iget-boolean v0, v0, Lcom/google/android/material/textfield/TextInputLayout;->J:Z
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->getHint()Ljava/lang/CharSequence;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v0
|
|
|
|
.line 18
|
|
if-nez v0, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
sget-object v0, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
|
|
|
|
.line 21
|
|
.line 22
|
|
const-string v1, ""
|
|
|
|
.line 23
|
|
.line 24
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
sget-object v2, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object v0
|
|
|
|
.line 32
|
|
goto :goto_0
|
|
|
|
.line 33
|
|
:cond_0
|
|
move-object v0, v1
|
|
|
|
.line 34
|
|
:goto_0
|
|
const-string v2, "meizu"
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v0
|
|
|
|
.line 40
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p0, v1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onDetachedFromWindow()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->onDetachedFromWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/ListPopupWindow;->dismiss()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 13
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/AutoCompleteTextView;->onMeasure(II)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result p2
|
|
|
|
.line 8
|
|
const/high16 v0, -0x80000000
|
|
|
|
.line 9
|
|
.line 10
|
|
if-ne p2, v0, :cond_7
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result p2
|
|
|
|
.line 16
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->b()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v1
|
|
|
|
.line 24
|
|
const/4 v2, 0x0
|
|
|
|
.line 25
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 26
|
|
.line 27
|
|
if-nez v1, :cond_0
|
|
|
|
.line 28
|
|
.line 29
|
|
goto/16 :goto_2
|
|
|
|
.line 30
|
|
.line 31
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v3
|
|
|
|
.line 35
|
|
invoke-static {v3, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v3
|
|
|
|
.line 39
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result v4
|
|
|
|
.line 43
|
|
invoke-static {v4, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v4
|
|
|
|
.line 47
|
|
iget-object v5, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 48
|
|
.line 49
|
|
iget-object v6, v5, Landroidx/appcompat/widget/ListPopupWindow;->D:Landroid/widget/PopupWindow;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v6}, Landroid/widget/PopupWindow;->isShowing()Z
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result v6
|
|
|
|
.line 55
|
|
if-nez v6, :cond_1
|
|
|
|
.line 56
|
|
.line 57
|
|
const/4 v6, -0x1
|
|
|
|
.line 58
|
|
goto :goto_0
|
|
|
|
.line 59
|
|
:cond_1
|
|
iget-object v6, v5, Landroidx/appcompat/widget/ListPopupWindow;->g:Landroidx/appcompat/widget/DropDownListView;
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {v6}, Landroid/widget/AdapterView;->getSelectedItemPosition()I
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result v6
|
|
|
|
.line 65
|
|
:goto_0
|
|
invoke-static {v2, v6}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result v6
|
|
|
|
.line 69
|
|
invoke-interface {v0}, Landroid/widget/Adapter;->getCount()I
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result v7
|
|
|
|
.line 73
|
|
add-int/lit8 v6, v6, 0xf
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-static {v7, v6}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
move-result v6
|
|
|
|
.line 79
|
|
add-int/lit8 v7, v6, -0xf
|
|
|
|
.line 80
|
|
.line 81
|
|
invoke-static {v2, v7}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result v7
|
|
|
|
.line 85
|
|
const/4 v8, 0x0
|
|
|
|
.line 86
|
|
move v9, v7
|
|
|
|
.line 87
|
|
move-object v10, v8
|
|
|
|
.line 88
|
|
move v7, v2
|
|
|
|
.line 89
|
|
:goto_1
|
|
if-ge v9, v6, :cond_4
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-interface {v0, v9}, Landroid/widget/Adapter;->getItemViewType(I)I
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result v11
|
|
|
|
.line 95
|
|
if-eq v11, v2, :cond_2
|
|
|
|
.line 96
|
|
.line 97
|
|
move-object v10, v8
|
|
|
|
.line 98
|
|
move v2, v11
|
|
|
|
.line 99
|
|
:cond_2
|
|
invoke-interface {v0, v9, v10, v1}, Landroid/widget/Adapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
move-result-object v10
|
|
|
|
.line 103
|
|
invoke-virtual {v10}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
move-result-object v11
|
|
|
|
.line 107
|
|
if-nez v11, :cond_3
|
|
|
|
.line 108
|
|
.line 109
|
|
new-instance v11, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 110
|
|
.line 111
|
|
const/4 v12, -0x2
|
|
|
|
.line 112
|
|
invoke-direct {v11, v12, v12}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
invoke-virtual {v10, v11}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
:cond_3
|
|
invoke-virtual {v10, v3, v4}, Landroid/view/View;->measure(II)V
|
|
|
|
.line 119
|
|
.line 120
|
|
.line 121
|
|
invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 122
|
|
.line 123
|
|
.line 124
|
|
move-result v11
|
|
|
|
.line 125
|
|
invoke-static {v7, v11}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 126
|
|
.line 127
|
|
.line 128
|
|
move-result v7
|
|
|
|
.line 129
|
|
add-int/lit8 v9, v9, 0x1
|
|
|
|
.line 130
|
|
.line 131
|
|
goto :goto_1
|
|
|
|
.line 132
|
|
:cond_4
|
|
iget-object v0, v5, Landroidx/appcompat/widget/ListPopupWindow;->D:Landroid/widget/PopupWindow;
|
|
|
|
.line 133
|
|
.line 134
|
|
invoke-virtual {v0}, Landroid/widget/PopupWindow;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
move-result-object v0
|
|
|
|
.line 138
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 139
|
|
.line 140
|
|
iget-object v2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->k:Landroid/graphics/Rect;
|
|
|
|
.line 141
|
|
.line 142
|
|
invoke-virtual {v0, v2}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
iget v0, v2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 146
|
|
.line 147
|
|
iget v2, v2, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 148
|
|
.line 149
|
|
add-int/2addr v0, v2
|
|
|
|
.line 150
|
|
add-int/2addr v7, v0
|
|
|
|
.line 151
|
|
:cond_5
|
|
invoke-virtual {v1}, Lcom/google/android/material/textfield/TextInputLayout;->getEndIconView()Lcom/google/android/material/internal/CheckableImageButton;
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
move-result-object v0
|
|
|
|
.line 155
|
|
invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 156
|
|
.line 157
|
|
.line 158
|
|
move-result v0
|
|
|
|
.line 159
|
|
add-int v2, v0, v7
|
|
|
|
.line 160
|
|
.line 161
|
|
:cond_6
|
|
:goto_2
|
|
invoke-static {p2, v2}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
move-result p2
|
|
|
|
.line 165
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
.line 166
|
|
.line 167
|
|
.line 168
|
|
move-result p1
|
|
|
|
.line 169
|
|
invoke-static {p2, p1}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 170
|
|
.line 171
|
|
.line 172
|
|
move-result p1
|
|
|
|
.line 173
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 174
|
|
.line 175
|
|
.line 176
|
|
move-result p2
|
|
|
|
.line 177
|
|
invoke-virtual {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V
|
|
|
|
.line 178
|
|
.line 179
|
|
.line 180
|
|
:cond_7
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onWindowFocusChanged(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->c()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/AutoCompleteTextView;->onWindowFocusChanged(Z)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAdapter(Landroid/widget/ListAdapter;)V
|
|
.locals 1
|
|
.param p1 # Landroid/widget/ListAdapter;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/widget/ListAdapter;",
|
|
":",
|
|
"Landroid/widget/Filterable;",
|
|
">(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/AutoCompleteTextView;->setAdapter(Landroid/widget/ListAdapter;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {p1, v0}, Landroidx/appcompat/widget/ListPopupWindow;->p(Landroid/widget/ListAdapter;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/AutoCompleteTextView;->setDropDownBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/ListPopupWindow;->k(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownBackgroundTint(I)V
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->setDropDownBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/res/ColorStateList;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->n:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getDropDownBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
instance-of v0, p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
check-cast p1, Lcom/google/android/material/shape/MaterialShapeDrawable;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->n:Landroid/content/res/ColorStateList;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1, v0}, Lcom/google/android/material/shape/MaterialShapeDrawable;->o(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnItemSelectedListener(Landroid/widget/AdapterView$OnItemSelectedListener;)V
|
|
.locals 1
|
|
.param p1 # Landroid/widget/AdapterView$OnItemSelectedListener;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/AutoCompleteTextView;->setOnItemSelectedListener(Landroid/widget/AdapterView$OnItemSelectedListener;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getOnItemSelectedListener()Landroid/widget/AdapterView$OnItemSelectedListener;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
iput-object v0, p1, Landroidx/appcompat/widget/ListPopupWindow;->u:Landroid/widget/AdapterView$OnItemSelectedListener;
|
|
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRawInputType(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/AutoCompleteTextView;->setRawInputType(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->b()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1}, Lcom/google/android/material/textfield/TextInputLayout;->u()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSimpleItemSelectedColor(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->o:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
instance-of p1, p1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p1
|
|
|
|
.line 15
|
|
check-cast p1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;->a()V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSimpleItemSelectedRippleColor(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/MaterialAutoCompleteTextView;->p:Landroid/content/res/ColorStateList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
instance-of p1, p1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/widget/AutoCompleteTextView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p1
|
|
|
|
.line 15
|
|
check-cast p1, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;->a()V
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSimpleItems(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ArrayRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.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;->getStringArray(I)[Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->setSimpleItems([Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSimpleItems([Ljava/lang/String;)V
|
|
.locals 3
|
|
.param p1 # [Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
iget v2, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->l:I
|
|
|
|
invoke-direct {v0, p0, v1, v2, p1}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView$MaterialArrayAdapter;-><init>(Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;Landroid/content/Context;I[Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->setAdapter(Landroid/widget/ListAdapter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final showDropDown()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->c()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v0, p0, Lcom/google/android/material/textfield/MaterialAutoCompleteTextView;->i:Landroidx/appcompat/widget/ListPopupWindow;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/ListPopupWindow;->b()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
|
|
.line 13
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/AutoCompleteTextView;->showDropDown()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|