1358 lines
		
	
	
		
			34 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			1358 lines
		
	
	
		
			34 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/appcompat/widget/AppCompatSpinner;
 | |
| .super Landroid/widget/Spinner;
 | |
| .source "AppCompatSpinner.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Ls1/l0;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/appcompat/widget/AppCompatSpinner$e;,
 | |
|         Landroidx/appcompat/widget/AppCompatSpinner$c;,
 | |
|         Landroidx/appcompat/widget/AppCompatSpinner$f;,
 | |
|         Landroidx/appcompat/widget/AppCompatSpinner$d;,
 | |
|         Landroidx/appcompat/widget/AppCompatSpinner$SavedState;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final i:[I
 | |
| 
 | |
| .field public static final j:I = 0xf
 | |
| 
 | |
| .field public static final k:Ljava/lang/String; = "AppCompatSpinner"
 | |
| 
 | |
| .field public static final l:I = 0x0
 | |
| 
 | |
| .field public static final p:I = 0x1
 | |
| 
 | |
| .field public static final u:I = -0x1
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
| .field public final b:Landroid/content/Context;
 | |
| 
 | |
| .field public c:Landroidx/appcompat/widget/s;
 | |
| 
 | |
| .field public d:Landroid/widget/SpinnerAdapter;
 | |
| 
 | |
| .field public final e:Z
 | |
| 
 | |
| .field public f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
| .field public g:I
 | |
| 
 | |
| .field public final h:Landroid/graphics/Rect;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 3
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const v2, 0x10102f1
 | |
| 
 | |
|     aput v2, v0, v1
 | |
| 
 | |
|     .line 1
 | |
|     sput-object v0, Landroidx/appcompat/widget/AppCompatSpinner;->i:[I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;I)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     sget v0, Landroidx/appcompat/R$attr;->spinnerStyle:I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-direct {p0, p1, v1, v0, p2}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 3
 | |
|     sget v0, Landroidx/appcompat/R$attr;->spinnerStyle:I
 | |
| 
 | |
|     invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0, p1, p2, p3, v0}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
 | |
|     .locals 6
 | |
|     .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
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move-object v2, p2
 | |
| 
 | |
|     move v3, p3
 | |
| 
 | |
|     move v4, p4
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct/range {v0 .. v5}, Landroidx/appcompat/widget/AppCompatSpinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILandroid/content/res/Resources$Theme;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILandroid/content/res/Resources$Theme;)V
 | |
|     .locals 6
 | |
|     .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 6
 | |
|     invoke-direct {p0, p1, p2, p3}, Landroid/widget/Spinner;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v0, Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/graphics/Rect;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {p0, v0}, Landroidx/appcompat/widget/e0;->a(Landroid/view/View;Landroid/content/Context;)V
 | |
| 
 | |
|     .line 9
 | |
|     sget-object v0, Landroidx/appcompat/R$styleable;->Spinner:[I
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-static {p1, p2, v0, p3, v1}, Landroidx/appcompat/widget/j0;->G(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/j0;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 10
 | |
|     new-instance v2, Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     invoke-direct {v2, p0}, Landroidx/appcompat/widget/d;-><init>(Landroid/view/View;)V
 | |
| 
 | |
|     iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz p5, :cond_0
 | |
| 
 | |
|     .line 11
 | |
|     new-instance v2, Li/d;
 | |
| 
 | |
|     invoke-direct {v2, p1, p5}, Li/d;-><init>(Landroid/content/Context;Landroid/content/res/Resources$Theme;)V
 | |
| 
 | |
|     iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 12
 | |
|     :cond_0
 | |
|     sget p5, Landroidx/appcompat/R$styleable;->Spinner_popupTheme:I
 | |
| 
 | |
|     invoke-virtual {v0, p5, v1}, Landroidx/appcompat/widget/j0;->u(II)I
 | |
| 
 | |
|     move-result p5
 | |
| 
 | |
|     if-eqz p5, :cond_1
 | |
| 
 | |
|     .line 13
 | |
|     new-instance v2, Li/d;
 | |
| 
 | |
|     invoke-direct {v2, p1, p5}, Li/d;-><init>(Landroid/content/Context;I)V
 | |
| 
 | |
|     iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 14
 | |
|     :cond_1
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     :goto_0
 | |
|     const/4 p5, -0x1
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     if-ne p4, p5, :cond_4
 | |
| 
 | |
|     .line 15
 | |
|     :try_start_0
 | |
|     sget-object p5, Landroidx/appcompat/widget/AppCompatSpinner;->i:[I
 | |
| 
 | |
|     invoke-virtual {p1, p2, p5, p3, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object p5
 | |
|     :try_end_0
 | |
|     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 16
 | |
|     :try_start_1
 | |
|     invoke-virtual {p5, v1}, Landroid/content/res/TypedArray;->hasValue(I)Z
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     if-eqz v3, :cond_2
 | |
| 
 | |
|     .line 17
 | |
|     invoke-virtual {p5, v1, v1}, Landroid/content/res/TypedArray;->getInt(II)I
 | |
| 
 | |
|     move-result p4
 | |
|     :try_end_1
 | |
|     .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
 | |
|     .catchall {:try_start_1 .. :try_end_1} :catchall_1
 | |
| 
 | |
|     .line 18
 | |
|     :cond_2
 | |
|     :goto_1
 | |
|     invoke-virtual {p5}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception v3
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p1
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :catch_1
 | |
|     move-exception v3
 | |
| 
 | |
|     move-object p5, v2
 | |
| 
 | |
|     :goto_2
 | |
|     :try_start_2
 | |
|     const-string v4, "AppCompatSpinner"
 | |
| 
 | |
|     const-string v5, "Could not read android:spinnerMode"
 | |
| 
 | |
|     .line 19
 | |
|     invoke-static {v4, v5, 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_1
 | |
| 
 | |
|     if-eqz p5, :cond_4
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :catchall_1
 | |
|     move-exception p1
 | |
| 
 | |
|     move-object v2, p5
 | |
| 
 | |
|     :goto_3
 | |
|     if-eqz v2, :cond_3
 | |
| 
 | |
|     .line 20
 | |
|     invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     .line 21
 | |
|     :cond_3
 | |
|     throw p1
 | |
| 
 | |
|     :cond_4
 | |
|     :goto_4
 | |
|     const/4 p5, 0x1
 | |
| 
 | |
|     if-eqz p4, :cond_6
 | |
| 
 | |
|     if-eq p4, p5, :cond_5
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     .line 22
 | |
|     :cond_5
 | |
|     new-instance p4, Landroidx/appcompat/widget/AppCompatSpinner$e;
 | |
| 
 | |
|     iget-object v3, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     invoke-direct {p4, p0, v3, p2, p3}, Landroidx/appcompat/widget/AppCompatSpinner$e;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;Landroid/content/Context;Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     .line 23
 | |
|     iget-object v3, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     sget-object v4, Landroidx/appcompat/R$styleable;->Spinner:[I
 | |
| 
 | |
|     invoke-static {v3, p2, v4, p3, v1}, Landroidx/appcompat/widget/j0;->G(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/j0;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 24
 | |
|     sget v3, Landroidx/appcompat/R$styleable;->Spinner_android_dropDownWidth:I
 | |
| 
 | |
|     const/4 v4, -0x2
 | |
| 
 | |
|     invoke-virtual {v1, v3, v4}, Landroidx/appcompat/widget/j0;->q(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     iput v3, p0, Landroidx/appcompat/widget/AppCompatSpinner;->g:I
 | |
| 
 | |
|     .line 25
 | |
|     sget v3, Landroidx/appcompat/R$styleable;->Spinner_android_popupBackground:I
 | |
| 
 | |
|     .line 26
 | |
|     invoke-virtual {v1, v3}, Landroidx/appcompat/widget/j0;->h(I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 27
 | |
|     invoke-virtual {p4, v3}, Landroidx/appcompat/widget/ListPopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 28
 | |
|     sget v3, Landroidx/appcompat/R$styleable;->Spinner_android_prompt:I
 | |
| 
 | |
|     invoke-virtual {v0, v3}, Landroidx/appcompat/widget/j0;->w(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     invoke-virtual {p4, v3}, Landroidx/appcompat/widget/AppCompatSpinner$e;->h(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 29
 | |
|     invoke-virtual {v1}, Landroidx/appcompat/widget/j0;->I()V
 | |
| 
 | |
|     .line 30
 | |
|     iput-object p4, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     .line 31
 | |
|     new-instance v1, Landroidx/appcompat/widget/AppCompatSpinner$a;
 | |
| 
 | |
|     invoke-direct {v1, p0, p0, p4}, Landroidx/appcompat/widget/AppCompatSpinner$a;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;Landroid/view/View;Landroidx/appcompat/widget/AppCompatSpinner$e;)V
 | |
| 
 | |
|     iput-object v1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/s;
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     .line 32
 | |
|     :cond_6
 | |
|     new-instance p4, Landroidx/appcompat/widget/AppCompatSpinner$c;
 | |
| 
 | |
|     invoke-direct {p4, p0}, Landroidx/appcompat/widget/AppCompatSpinner$c;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;)V
 | |
| 
 | |
|     iput-object p4, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     .line 33
 | |
|     sget v1, Landroidx/appcompat/R$styleable;->Spinner_android_prompt:I
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroidx/appcompat/widget/j0;->w(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-interface {p4, v1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->h(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     .line 34
 | |
|     :goto_5
 | |
|     sget p4, Landroidx/appcompat/R$styleable;->Spinner_android_entries:I
 | |
| 
 | |
|     invoke-virtual {v0, p4}, Landroidx/appcompat/widget/j0;->y(I)[Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p4
 | |
| 
 | |
|     if-eqz p4, :cond_7
 | |
| 
 | |
|     .line 35
 | |
|     new-instance v1, Landroid/widget/ArrayAdapter;
 | |
| 
 | |
|     const v3, 0x1090008
 | |
| 
 | |
|     invoke-direct {v1, p1, v3, p4}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;I[Ljava/lang/Object;)V
 | |
| 
 | |
|     .line 36
 | |
|     sget p1, Landroidx/appcompat/R$layout;->support_simple_spinner_dropdown_item:I
 | |
| 
 | |
|     invoke-virtual {v1, p1}, Landroid/widget/ArrayAdapter;->setDropDownViewResource(I)V
 | |
| 
 | |
|     .line 37
 | |
|     invoke-virtual {p0, v1}, Landroidx/appcompat/widget/AppCompatSpinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
 | |
| 
 | |
|     .line 38
 | |
|     :cond_7
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/widget/j0;->I()V
 | |
| 
 | |
|     .line 39
 | |
|     iput-boolean p5, p0, Landroidx/appcompat/widget/AppCompatSpinner;->e:Z
 | |
| 
 | |
|     .line 40
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->d:Landroid/widget/SpinnerAdapter;
 | |
| 
 | |
|     if-eqz p1, :cond_8
 | |
| 
 | |
|     .line 41
 | |
|     invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatSpinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V
 | |
| 
 | |
|     .line 42
 | |
|     iput-object v2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->d:Landroid/widget/SpinnerAdapter;
 | |
| 
 | |
|     .line 43
 | |
|     :cond_8
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/d;->e(Landroid/util/AttributeSet;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a(Landroid/widget/SpinnerAdapter;Landroid/graphics/drawable/Drawable;)I
 | |
|     .locals 10
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-static {v1, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-static {v2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getSelectedItemPosition()I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     .line 4
 | |
|     invoke-interface {p1}, Landroid/widget/SpinnerAdapter;->getCount()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     add-int/lit8 v5, v3, 0xf
 | |
| 
 | |
|     invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     sub-int v5, v4, v3
 | |
| 
 | |
|     rsub-int/lit8 v5, v5, 0xf
 | |
| 
 | |
|     sub-int/2addr v3, v5
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     move v6, v3
 | |
| 
 | |
|     move-object v7, v5
 | |
| 
 | |
|     move v3, v0
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v6, v4, :cond_3
 | |
| 
 | |
|     .line 6
 | |
|     invoke-interface {p1, v6}, Landroid/widget/SpinnerAdapter;->getItemViewType(I)I
 | |
| 
 | |
|     move-result v8
 | |
| 
 | |
|     if-eq v8, v0, :cond_1
 | |
| 
 | |
|     move-object v7, v5
 | |
| 
 | |
|     move v0, v8
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     invoke-interface {p1, v6, v7, p0}, Landroid/widget/SpinnerAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
| 
 | |
|     move-result-object v7
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     move-result-object v8
 | |
| 
 | |
|     if-nez v8, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     new-instance v8, Landroid/view/ViewGroup$LayoutParams;
 | |
| 
 | |
|     const/4 v9, -0x2
 | |
| 
 | |
|     invoke-direct {v8, v9, v9}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
 | |
| 
 | |
|     invoke-virtual {v7, v8}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
 | |
| 
 | |
|     .line 10
 | |
|     :cond_2
 | |
|     invoke-virtual {v7, v1, v2}, Landroid/view/View;->measure(II)V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {v7}, Landroid/view/View;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result v8
 | |
| 
 | |
|     invoke-static {v3, v8}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result v3
 | |
| 
 | |
|     add-int/lit8 v6, v6, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     if-eqz p2, :cond_4
 | |
| 
 | |
|     .line 12
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/graphics/Rect;
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
 | |
| 
 | |
|     .line 13
 | |
|     iget-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->h:Landroid/graphics/Rect;
 | |
| 
 | |
|     iget p2, p1, Landroid/graphics/Rect;->left:I
 | |
| 
 | |
|     iget p1, p1, Landroid/graphics/Rect;->right:I
 | |
| 
 | |
|     add-int/2addr p2, p1
 | |
| 
 | |
|     add-int/2addr v3, p2
 | |
| 
 | |
|     :cond_4
 | |
|     return v3
 | |
| .end method
 | |
| 
 | |
| .method public b()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getTextDirection()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getTextAlignment()I
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     invoke-interface {v0, v1, v2}, Landroidx/appcompat/widget/AppCompatSpinner$f;->k(II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public drawableStateChanged()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->drawableStateChanged()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/widget/d;->b()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getDropDownHorizontalOffset()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->b()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->getDropDownHorizontalOffset()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getDropDownVerticalOffset()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->l()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->getDropDownVerticalOffset()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getDropDownWidth()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->g:I
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->getDropDownWidth()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public final getInternalPopup()Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPopupBackground()Landroid/graphics/drawable/Drawable;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->g()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->getPopupBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPopupContext()Landroid/content/Context;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getPrompt()Ljava/lang/CharSequence;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->f()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->getPrompt()Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     :goto_0
 | |
|     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;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/widget/d;->c()Landroid/content/res/ColorStateList;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     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;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/widget/d;->d()Landroid/graphics/PorterDuff$Mode;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public onDetachedFromWindow()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->onDetachedFromWindow()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->a()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->dismiss()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onMeasure(II)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2}, Landroid/widget/Spinner;->onMeasure(II)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p2, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz p2, :cond_0
 | |
| 
 | |
|     invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     const/high16 v0, -0x80000000
 | |
| 
 | |
|     if-ne p2, v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getMeasuredWidth()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getAdapter()Landroid/widget/SpinnerAdapter;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getBackground()Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p0, v0, v1}, Landroidx/appcompat/widget/AppCompatSpinner;->a(Landroid/widget/SpinnerAdapter;Landroid/graphics/drawable/Drawable;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {p2, v0}, Ljava/lang/Math;->max(II)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 6
 | |
|     invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 7
 | |
|     invoke-static {p2, p1}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getMeasuredHeight()I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0, p1, p2}, Landroid/widget/Spinner;->setMeasuredDimension(II)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     check-cast p1, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/view/View$BaseSavedState;->getSuperState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-super {p0, v0}, Landroid/widget/Spinner;->onRestoreInstanceState(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-boolean p1, p1, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;->a:Z
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Landroidx/appcompat/widget/AppCompatSpinner$b;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatSpinner$b;-><init>(Landroidx/appcompat/widget/AppCompatSpinner;)V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1, v0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onSaveInstanceState()Landroid/os/Parcelable;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->onSaveInstanceState()Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-direct {v0, v1}, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;-><init>(Landroid/os/Parcelable;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-interface {v1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->a()Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     iput-boolean v1, v0, Landroidx/appcompat/widget/AppCompatSpinner$SavedState;->a:Z
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->c:Landroidx/appcompat/widget/s;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-virtual {v0, p0, p1}, Landroidx/appcompat/widget/s;->onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->onTouchEvent(Landroid/view/MotionEvent;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public performClick()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatSpinner$f;->a()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatSpinner;->b()V
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     invoke-super {p0}, Landroid/widget/Spinner;->performClick()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     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 3
 | |
| 
 | |
|     .line 2
 | |
|     iget-boolean v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->e:Z
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->d: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;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->b:Landroid/content/Context;
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     invoke-virtual {p0}, Landroid/widget/Spinner;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     new-instance v2, Landroidx/appcompat/widget/AppCompatSpinner$d;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-direct {v2, p1, v0}, Landroidx/appcompat/widget/AppCompatSpinner$d;-><init>(Landroid/widget/SpinnerAdapter;Landroid/content/res/Resources$Theme;)V
 | |
| 
 | |
|     invoke-interface {v1, v2}, Landroidx/appcompat/widget/AppCompatSpinner$f;->n(Landroid/widget/ListAdapter;)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/d;->f(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :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
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/d;->g(I)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setDropDownHorizontalOffset(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->j(I)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->e(I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownHorizontalOffset(I)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setDropDownVerticalOffset(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->i(I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownVerticalOffset(I)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setDropDownWidth(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Landroidx/appcompat/widget/AppCompatSpinner;->g:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setDropDownWidth(I)V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     :goto_0
 | |
|     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;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatSpinner;->setPopupBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setPrompt(Ljava/lang/CharSequence;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->f:Landroidx/appcompat/widget/AppCompatSpinner$f;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatSpinner$f;->h(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-super {p0, p1}, Landroid/widget/Spinner;->setPrompt(Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :goto_0
 | |
|     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;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/d;->i(Landroid/content/res/ColorStateList;)V
 | |
| 
 | |
|     :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;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSpinner;->a:Landroidx/appcompat/widget/d;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/widget/d;->j(Landroid/graphics/PorterDuff$Mode;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 |