* 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>
1851 lines
40 KiB
Smali
1851 lines
40 KiB
Smali
.class public Landroidx/appcompat/widget/AppCompatSpinner;
|
|
.super Landroid/widget/Spinner;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/view/TintableBackgroundView;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/widget/AppCompatSpinner$DialogPopup;,
|
|
Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;,
|
|
Landroidx/appcompat/widget/AppCompatSpinner$DropdownPopup;,
|
|
Landroidx/appcompat/widget/AppCompatSpinner$DropDownAdapter;,
|
|
Landroidx/appcompat/widget/AppCompatSpinner$SavedState;,
|
|
Landroidx/appcompat/widget/AppCompatSpinner$Api23Impl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final m:[I
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.field public final f:Landroid/content/Context;
|
|
|
|
.field public final g:Landroidx/appcompat/widget/ForwardingListener;
|
|
|
|
.field public h:Landroid/widget/SpinnerAdapter;
|
|
|
|
.field public final i:Z
|
|
|
|
.field public final j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.field public k:I
|
|
|
|
.field public final l:Landroid/graphics/Rect;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const v0, 0x10102f1
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
filled-new-array {v0}, [I
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
sput-object v0, Landroidx/appcompat/widget/AppCompatSpinner;->m:[I
|
|
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/Spinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->l:Landroid/graphics/Rect;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v0
|
|
|
|
.line 15
|
|
invoke-static {v0, p0}, Landroidx/appcompat/widget/ThemeUtils;->a(Landroid/content/Context;Landroid/view/View;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
sget-object v0, Landroidx/appcompat/R$styleable;->Spinner:[I
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {p1, p2, v0, p3}, Landroidx/appcompat/widget/TintTypedArray;->e(Landroid/content/Context;Landroid/util/AttributeSet;[II)Landroidx/appcompat/widget/TintTypedArray;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v0
|
|
|
|
.line 24
|
|
iget-object v1, v0, Landroidx/appcompat/widget/TintTypedArray;->b:Landroid/content/res/TypedArray;
|
|
|
|
.line 25
|
|
.line 26
|
|
new-instance v2, Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-direct {v2, p0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;-><init>(Landroid/view/View;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 32
|
|
.line 33
|
|
sget v2, Landroidx/appcompat/R$styleable;->Spinner_popupTheme:I
|
|
|
|
.line 34
|
|
.line 35
|
|
const/4 v3, 0x0
|
|
|
|
.line 36
|
|
invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result v2
|
|
|
|
.line 40
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 41
|
|
.line 42
|
|
new-instance v4, Landroidx/appcompat/view/ContextThemeWrapper;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-direct {v4, p1, v2}, Landroidx/appcompat/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
iput-object v4, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
.line 48
|
|
.line 49
|
|
goto :goto_0
|
|
|
|
.line 50
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
.line 51
|
|
.line 52
|
|
:goto_0
|
|
const/4 v2, -0x1
|
|
|
|
.line 53
|
|
const/4 v4, 0x0
|
|
|
|
.line 54
|
|
:try_start_0
|
|
sget-object v5, Landroidx/appcompat/widget/AppCompatSpinner;->m:[I
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p1, p2, v5, p3, v3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-object v5
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
.line 60
|
|
:try_start_1
|
|
invoke-virtual {v5, v3}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result v6
|
|
|
|
.line 64
|
|
if-eqz v6, :cond_1
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-virtual {v5, v3, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result v2
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 70
|
|
goto :goto_1
|
|
|
|
.line 71
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 72
|
|
move-object v4, v5
|
|
|
|
.line 73
|
|
goto/16 :goto_5
|
|
|
|
.line 74
|
|
.line 75
|
|
:catch_0
|
|
move-exception v3
|
|
|
|
.line 76
|
|
goto :goto_2
|
|
|
|
.line 77
|
|
:cond_1
|
|
:goto_1
|
|
invoke-virtual {v5}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
goto :goto_3
|
|
|
|
.line 81
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
.line 82
|
|
goto/16 :goto_5
|
|
|
|
.line 83
|
|
.line 84
|
|
:catch_1
|
|
move-exception v3
|
|
|
|
.line 85
|
|
move-object v5, v4
|
|
|
|
.line 86
|
|
:goto_2
|
|
:try_start_2
|
|
const-string v6, "AppCompatSpinner"
|
|
|
|
.line 87
|
|
.line 88
|
|
const-string v7, "Could not read android:spinnerMode"
|
|
|
|
.line 89
|
|
.line 90
|
|
invoke-static {v6, v7, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 94
|
|
.line 95
|
|
goto :goto_1
|
|
|
|
.line 96
|
|
:cond_2
|
|
:goto_3
|
|
const/4 v3, 0x1
|
|
|
|
.line 97
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 98
|
|
.line 99
|
|
if-eq v2, v3, :cond_3
|
|
|
|
.line 100
|
|
.line 101
|
|
goto :goto_4
|
|
|
|
.line 102
|
|
:cond_3
|
|
new-instance v2, Landroidx/appcompat/widget/AppCompatSpinner$DropdownPopup;
|
|
|
|
.line 103
|
|
.line 104
|
|
iget-object v5, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
.line 105
|
|
.line 106
|
|
invoke-direct {v2, p0, v5, p2, p3}, Landroidx/appcompat/widget/AppCompatSpinner$DropdownPopup;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
iget-object v5, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
.line 110
|
|
.line 111
|
|
sget-object v6, Landroidx/appcompat/R$styleable;->Spinner:[I
|
|
|
|
.line 112
|
|
.line 113
|
|
invoke-static {v5, p2, v6, p3}, Landroidx/appcompat/widget/TintTypedArray;->e(Landroid/content/Context;Landroid/util/AttributeSet;[II)Landroidx/appcompat/widget/TintTypedArray;
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
move-result-object v5
|
|
|
|
.line 117
|
|
sget v6, Landroidx/appcompat/R$styleable;->Spinner_android_dropDownWidth:I
|
|
|
|
.line 118
|
|
.line 119
|
|
const/4 v7, -0x2
|
|
|
|
.line 120
|
|
iget-object v8, v5, Landroidx/appcompat/widget/TintTypedArray;->b:Landroid/content/res/TypedArray;
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-virtual {v8, v6, v7}, Landroid/content/res/TypedArray;->getLayoutDimension(II)I
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result v6
|
|
|
|
.line 126
|
|
iput v6, p0, Landroidx/appcompat/widget/AppCompatSpinner;->k:I
|
|
|
|
.line 127
|
|
.line 128
|
|
sget v6, Landroidx/appcompat/R$styleable;->Spinner_android_popupBackground:I
|
|
|
|
.line 129
|
|
.line 130
|
|
invoke-virtual {v5, v6}, Landroidx/appcompat/widget/TintTypedArray;->b(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
move-result-object v6
|
|
|
|
.line 134
|
|
invoke-virtual {v2, v6}, Landroidx/appcompat/widget/ListPopupWindow;->k(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
sget v6, Landroidx/appcompat/R$styleable;->Spinner_android_prompt:I
|
|
|
|
.line 138
|
|
.line 139
|
|
invoke-virtual {v1, v6}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
.line 140
|
|
.line 141
|
|
.line 142
|
|
move-result-object v6
|
|
|
|
.line 143
|
|
iput-object v6, v2, Landroidx/appcompat/widget/AppCompatSpinner$DropdownPopup;->H:Ljava/lang/CharSequence;
|
|
|
|
.line 144
|
|
.line 145
|
|
invoke-virtual {v5}, Landroidx/appcompat/widget/TintTypedArray;->f()V
|
|
|
|
.line 146
|
|
.line 147
|
|
.line 148
|
|
iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 149
|
|
.line 150
|
|
new-instance v5, Landroidx/appcompat/widget/AppCompatSpinner$1;
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-direct {v5, p0, p0, v2}, Landroidx/appcompat/widget/AppCompatSpinner$1;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;Landroidx/appcompat/widget/AppCompatSpinner;Landroidx/appcompat/widget/AppCompatSpinner$DropdownPopup;)V
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
iput-object v5, p0, Landroidx/appcompat/widget/AppCompatSpinner;->g:Landroidx/appcompat/widget/ForwardingListener;
|
|
|
|
.line 156
|
|
.line 157
|
|
goto :goto_4
|
|
|
|
.line 158
|
|
:cond_4
|
|
new-instance v2, Landroidx/appcompat/widget/AppCompatSpinner$DialogPopup;
|
|
|
|
.line 159
|
|
.line 160
|
|
invoke-direct {v2, p0}, Landroidx/appcompat/widget/AppCompatSpinner$DialogPopup;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;)V
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 164
|
|
.line 165
|
|
sget v5, Landroidx/appcompat/R$styleable;->Spinner_android_prompt:I
|
|
|
|
.line 166
|
|
.line 167
|
|
invoke-virtual {v1, v5}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
.line 168
|
|
.line 169
|
|
.line 170
|
|
move-result-object v5
|
|
|
|
.line 171
|
|
iput-object v5, v2, Landroidx/appcompat/widget/AppCompatSpinner$DialogPopup;->g:Ljava/lang/CharSequence;
|
|
|
|
.line 172
|
|
.line 173
|
|
:goto_4
|
|
sget v2, Landroidx/appcompat/R$styleable;->Spinner_android_entries:I
|
|
|
|
.line 174
|
|
.line 175
|
|
invoke-virtual {v1, v2}, Landroid/content/res/TypedArray;->getTextArray(I)[Ljava/lang/CharSequence;
|
|
|
|
.line 176
|
|
.line 177
|
|
.line 178
|
|
move-result-object v1
|
|
|
|
.line 179
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 180
|
|
.line 181
|
|
new-instance v2, Landroid/widget/ArrayAdapter;
|
|
|
|
.line 182
|
|
.line 183
|
|
const v5, 0x1090008
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
invoke-direct {v2, p1, v5, v1}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;I[Ljava/lang/Object;)V
|
|
|
|
.line 187
|
|
.line 188
|
|
.line 189
|
|
sget p1, Landroidx/appcompat/R$layout;->support_simple_spinner_dropdown_item:I
|
|
|
|
.line 190
|
|
.line 191
|
|
invoke-virtual {v2, p1}, Landroid/widget/ArrayAdapter;->setDropDownViewResource(I)V
|
|
|
|
.line 192
|
|
.line 193
|
|
.line 194
|
|
invoke-virtual {p0, v2}, Landroidx/appcompat/widget/AppCompatSpinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
|
|
|
|
.line 195
|
|
.line 196
|
|
.line 197
|
|
:cond_5
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/TintTypedArray;->f()V
|
|
|
|
.line 198
|
|
.line 199
|
|
.line 200
|
|
iput-boolean v3, p0, Landroidx/appcompat/widget/AppCompatSpinner;->i:Z
|
|
|
|
.line 201
|
|
.line 202
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/widget/SpinnerAdapter;
|
|
|
|
.line 203
|
|
.line 204
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 205
|
|
.line 206
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatSpinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
|
|
|
|
.line 207
|
|
.line 208
|
|
.line 209
|
|
iput-object v4, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/widget/SpinnerAdapter;
|
|
|
|
.line 210
|
|
.line 211
|
|
:cond_6
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 212
|
|
.line 213
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->d(Landroid/util/AttributeSet;I)V
|
|
|
|
.line 214
|
|
.line 215
|
|
.line 216
|
|
return-void
|
|
|
|
.line 217
|
|
:goto_5
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 218
|
|
.line 219
|
|
invoke-virtual {v4}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 220
|
|
.line 221
|
|
.line 222
|
|
:cond_7
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Landroid/widget/SpinnerAdapter;Landroid/graphics/drawable/Drawable;)I
|
|
.locals 10
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
if-nez p1, :cond_0
|
|
|
|
.line 3
|
|
.line 4
|
|
return v0
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
invoke-static {v1, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v2
|
|
|
|
.line 17
|
|
invoke-static {v2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v2
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/widget/AdapterView;->getSelectedItemPosition()I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v3
|
|
|
|
.line 25
|
|
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result v3
|
|
|
|
.line 29
|
|
invoke-interface {p1}, Landroid/widget/Adapter;->getCount()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result v4
|
|
|
|
.line 33
|
|
add-int/lit8 v5, v3, 0xf
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v4
|
|
|
|
.line 39
|
|
sub-int v5, v4, v3
|
|
|
|
.line 40
|
|
.line 41
|
|
rsub-int/lit8 v5, v5, 0xf
|
|
|
|
.line 42
|
|
.line 43
|
|
sub-int/2addr v3, v5
|
|
|
|
.line 44
|
|
invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result v3
|
|
|
|
.line 48
|
|
const/4 v5, 0x0
|
|
|
|
.line 49
|
|
move v6, v3
|
|
|
|
.line 50
|
|
move-object v7, v5
|
|
|
|
.line 51
|
|
move v3, v0
|
|
|
|
.line 52
|
|
:goto_0
|
|
if-ge v6, v4, :cond_3
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-interface {p1, v6}, Landroid/widget/Adapter;->getItemViewType(I)I
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result v8
|
|
|
|
.line 58
|
|
if-eq v8, v0, :cond_1
|
|
|
|
.line 59
|
|
.line 60
|
|
move-object v7, v5
|
|
|
|
.line 61
|
|
move v0, v8
|
|
|
|
.line 62
|
|
:cond_1
|
|
invoke-interface {p1, v6, v7, p0}, Landroid/widget/Adapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
move-result-object v7
|
|
|
|
.line 66
|
|
invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result-object v8
|
|
|
|
.line 70
|
|
if-nez v8, :cond_2
|
|
|
|
.line 71
|
|
.line 72
|
|
new-instance v8, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
.line 73
|
|
.line 74
|
|
const/4 v9, -0x2
|
|
|
|
.line 75
|
|
invoke-direct {v8, v9, v9}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
invoke-virtual {v7, v8}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
:cond_2
|
|
invoke-virtual {v7, v1, v2}, Landroid/view/View;->measure(II)V
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
invoke-virtual {v7}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
move-result v8
|
|
|
|
.line 88
|
|
invoke-static {v3, v8}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result v3
|
|
|
|
.line 92
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
.line 93
|
|
.line 94
|
|
goto :goto_0
|
|
|
|
.line 95
|
|
:cond_3
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 96
|
|
.line 97
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->l:Landroid/graphics/Rect;
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-virtual {p2, p1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
iget p2, p1, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 103
|
|
.line 104
|
|
iget p1, p1, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 105
|
|
.line 106
|
|
add-int/2addr p2, p1
|
|
|
|
.line 107
|
|
add-int/2addr p2, v3
|
|
|
|
.line 108
|
|
return p2
|
|
|
|
.line 109
|
|
:cond_4
|
|
return v3
|
|
.end method
|
|
|
|
.method public final drawableStateChanged()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/Spinner;->drawableStateChanged()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->a()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDropDownHorizontalOffset()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->c()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
return v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/Spinner;->getDropDownHorizontalOffset()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDropDownVerticalOffset()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->o()I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
return v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/Spinner;->getDropDownVerticalOffset()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDropDownWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iget v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->k:I
|
|
|
|
.line 6
|
|
.line 7
|
|
return v0
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/Spinner;->getDropDownWidth()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v0
|
|
|
|
.line 12
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getInternalPopup()Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPopupBackground()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->h()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/Spinner;->getPopupBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPopupContext()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPrompt()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->f()Ljava/lang/CharSequence;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/Spinner;->getPrompt()Ljava/lang/CharSequence;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object v0
|
|
|
|
.line 14
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportBackgroundTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->b()Landroid/content/res/ColorStateList;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportBackgroundTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->c()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onDetachedFromWindow()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/widget/Spinner;->onDetachedFromWindow()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->a()Z
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result v1
|
|
|
|
.line 12
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->dismiss()V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/Spinner;->onMeasure(II)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p2
|
|
|
|
.line 12
|
|
const/high16 v0, -0x80000000
|
|
|
|
.line 13
|
|
.line 14
|
|
if-ne p2, v0, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result p2
|
|
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/widget/AbsSpinner;->getAdapter()Landroid/widget/SpinnerAdapter;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v0
|
|
|
|
.line 24
|
|
invoke-virtual {p0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object v1
|
|
|
|
.line 28
|
|
invoke-virtual {p0, v0, v1}, Landroidx/appcompat/widget/AppCompatSpinner;->a(Landroid/widget/SpinnerAdapter;Landroid/graphics/drawable/Drawable;)I
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result v0
|
|
|
|
.line 32
|
|
invoke-static {p2, v0}, Ljava/lang/Math;->max(II)I
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result p2
|
|
|
|
.line 36
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result p1
|
|
|
|
.line 40
|
|
invoke-static {p2, p1}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
move-result p1
|
|
|
|
.line 44
|
|
invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result p2
|
|
|
|
.line 48
|
|
invoke-virtual {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
check-cast p1, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p1}, Landroid/view/AbsSavedState;->getSuperState()Landroid/os/Parcelable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-super {p0, v0}, Landroid/widget/Spinner;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget-boolean p1, p1, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;->c:Z
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object p1
|
|
|
|
.line 18
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatSpinner$2;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatSpinner$2;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onSaveInstanceState()Landroid/os/Parcelable;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-super {p0}, Landroid/widget/Spinner;->onSaveInstanceState()Landroid/os/Parcelable;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
invoke-direct {v0, v1}, Landroid/view/View$BaseSavedState;-><init>(Landroid/os/Parcelable;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->a()Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v1
|
|
|
|
.line 18
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v1, 0x1
|
|
|
|
.line 21
|
|
goto :goto_0
|
|
|
|
.line 22
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 23
|
|
:goto_0
|
|
iput-boolean v1, v0, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;->c:Z
|
|
|
|
.line 24
|
|
.line 25
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->g:Landroidx/appcompat/widget/ForwardingListener;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p0, p1}, Landroidx/appcompat/widget/ForwardingListener;->onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 p1, 0x1
|
|
|
|
.line 12
|
|
return p1
|
|
|
|
.line 13
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p1
|
|
|
|
.line 17
|
|
return p1
|
|
.end method
|
|
|
|
.method public final performClick()Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->a()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
if-nez v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Landroid/view/View;->getTextDirection()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v1
|
|
|
|
.line 15
|
|
invoke-virtual {p0}, Landroid/view/View;->getTextAlignment()I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v2
|
|
|
|
.line 19
|
|
invoke-interface {v0, v1, v2}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->n(II)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 23
|
|
return v0
|
|
|
|
.line 24
|
|
:cond_1
|
|
invoke-super {p0}, Landroid/widget/Spinner;->performClick()Z
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v0
|
|
|
|
.line 28
|
|
return v0
|
|
.end method
|
|
|
|
.method public bridge synthetic setAdapter(Landroid/widget/Adapter;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Landroid/widget/SpinnerAdapter;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatSpinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAdapter(Landroid/widget/SpinnerAdapter;)V
|
|
.locals 4
|
|
|
|
.line 2
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->i:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/widget/SpinnerAdapter;
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
|
|
|
|
.line 5
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 6
|
|
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroid/content/Context;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
:cond_1
|
|
new-instance v2, Landroidx/appcompat/widget/AppCompatSpinner$DropDownAdapter;
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
move-result-object v1
|
|
|
|
.line 8
|
|
invoke-direct {v2}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 9
|
|
iput-object p1, v2, Landroidx/appcompat/widget/AppCompatSpinner$DropDownAdapter;->c:Landroid/widget/SpinnerAdapter;
|
|
|
|
.line 10
|
|
instance-of v3, p1, Landroid/widget/ListAdapter;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 11
|
|
move-object v3, p1
|
|
|
|
check-cast v3, Landroid/widget/ListAdapter;
|
|
|
|
iput-object v3, v2, Landroidx/appcompat/widget/AppCompatSpinner$DropDownAdapter;->f:Landroid/widget/ListAdapter;
|
|
|
|
:cond_2
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 12
|
|
instance-of v3, p1, Landroid/widget/ThemedSpinnerAdapter;
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 13
|
|
check-cast p1, Landroid/widget/ThemedSpinnerAdapter;
|
|
|
|
.line 14
|
|
invoke-static {p1, v1}, Landroidx/appcompat/widget/AppCompatSpinner$Api23Impl;->a(Landroid/widget/ThemedSpinnerAdapter;Landroid/content/res/Resources$Theme;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 15
|
|
:cond_3
|
|
instance-of v1, p1, Landroidx/appcompat/widget/ThemedSpinnerAdapter;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 16
|
|
check-cast p1, Landroidx/appcompat/widget/ThemedSpinnerAdapter;
|
|
|
|
.line 17
|
|
invoke-interface {p1}, Landroidx/appcompat/widget/ThemedSpinnerAdapter;->getDropDownViewTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
.line 18
|
|
invoke-interface {p1}, Landroidx/appcompat/widget/ThemedSpinnerAdapter;->b()V
|
|
|
|
.line 19
|
|
:cond_4
|
|
:goto_0
|
|
invoke-interface {v0, v2}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->p(Landroid/widget/ListAdapter;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->e()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackgroundResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setBackgroundResource(I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->f(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownHorizontalOffset(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->m(I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->e(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
|
|
.line 12
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownHorizontalOffset(I)V
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownVerticalOffset(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->l(I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownVerticalOffset(I)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDropDownWidth(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
iput p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->k:I
|
|
|
|
.line 6
|
|
.line 7
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownWidth(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->k(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPopupBackgroundResource(I)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatSpinner;->getPopupContext()Landroid/content/Context;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatSpinner;->setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPrompt(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->j:Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$SpinnerPopup;->j(Ljava/lang/CharSequence;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/widget/Spinner;->setPrompt(Ljava/lang/CharSequence;)V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportBackgroundTintList(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/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->h(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/PorterDuff$Mode;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->i(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:cond_0
|
|
return-void
|
|
.end method
|