330 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			330 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/appcompat/widget/v;
 | |
| .super Ljava/lang/Object;
 | |
| .source "PopupMenu.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/appcompat/widget/v$d;,
 | |
|         Landroidx/appcompat/widget/v$e;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final a:Landroid/content/Context;
 | |
| 
 | |
| .field public final b:Landroidx/appcompat/view/menu/d;
 | |
| 
 | |
| .field public final c:Landroid/view/View;
 | |
| 
 | |
| .field public final d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
| .field public e:Landroidx/appcompat/widget/v$e;
 | |
| 
 | |
| .field public f:Landroidx/appcompat/widget/v$d;
 | |
| 
 | |
| .field public g:Landroid/view/View$OnTouchListener;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/view/View;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/v;-><init>(Landroid/content/Context;Landroid/view/View;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/view/View;I)V
 | |
|     .locals 6
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     sget v4, Landroidx/appcompat/R$attr;->popupMenuStyle:I
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     move-object v0, p0
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move-object v2, p2
 | |
| 
 | |
|     move v3, p3
 | |
| 
 | |
|     invoke-direct/range {v0 .. v5}, Landroidx/appcompat/widget/v;-><init>(Landroid/content/Context;Landroid/view/View;III)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/view/View;III)V
 | |
|     .locals 8
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p4    # I
 | |
|         .annotation build Landroidx/annotation/AttrRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p5    # I
 | |
|         .annotation build Landroidx/annotation/StyleRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 4
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/v;->a:Landroid/content/Context;
 | |
| 
 | |
|     .line 5
 | |
|     iput-object p2, p0, Landroidx/appcompat/widget/v;->c:Landroid/view/View;
 | |
| 
 | |
|     .line 6
 | |
|     new-instance v2, Landroidx/appcompat/view/menu/d;
 | |
| 
 | |
|     invoke-direct {v2, p1}, Landroidx/appcompat/view/menu/d;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     iput-object v2, p0, Landroidx/appcompat/widget/v;->b:Landroidx/appcompat/view/menu/d;
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v0, Landroidx/appcompat/widget/v$a;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Landroidx/appcompat/widget/v$a;-><init>(Landroidx/appcompat/widget/v;)V
 | |
| 
 | |
|     invoke-virtual {v2, v0}, Landroidx/appcompat/view/menu/d;->setCallback(Landroidx/appcompat/view/menu/d$a;)V
 | |
| 
 | |
|     .line 8
 | |
|     new-instance v7, Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     const/4 v4, 0x0
 | |
| 
 | |
|     move-object v0, v7
 | |
| 
 | |
|     move-object v1, p1
 | |
| 
 | |
|     move-object v3, p2
 | |
| 
 | |
|     move v5, p4
 | |
| 
 | |
|     move v6, p5
 | |
| 
 | |
|     invoke-direct/range {v0 .. v6}, Landroidx/appcompat/view/menu/h;-><init>(Landroid/content/Context;Landroidx/appcompat/view/menu/d;Landroid/view/View;ZII)V
 | |
| 
 | |
|     iput-object v7, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v7, p3}, Landroidx/appcompat/view/menu/h;->j(I)V
 | |
| 
 | |
|     .line 10
 | |
|     new-instance p1, Landroidx/appcompat/widget/v$b;
 | |
| 
 | |
|     invoke-direct {p1, p0}, Landroidx/appcompat/widget/v$b;-><init>(Landroidx/appcompat/widget/v;)V
 | |
| 
 | |
|     invoke-virtual {v7, p1}, Landroidx/appcompat/view/menu/h;->k(Landroid/widget/PopupWindow$OnDismissListener;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/view/menu/h;->dismiss()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public b()Landroid/view/View$OnTouchListener;
 | |
|     .locals 2
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->g:Landroid/view/View$OnTouchListener;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroidx/appcompat/widget/v$c;
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/v;->c:Landroid/view/View;
 | |
| 
 | |
|     invoke-direct {v0, p0, v1}, Landroidx/appcompat/widget/v$c;-><init>(Landroidx/appcompat/widget/v;Landroid/view/View;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/appcompat/widget/v;->g:Landroid/view/View$OnTouchListener;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->g:Landroid/view/View$OnTouchListener;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public c()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/view/menu/h;->c()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public d()Landroid/view/Menu;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->b:Landroidx/appcompat/view/menu/d;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public e()Landroid/view/MenuInflater;
 | |
|     .locals 2
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Li/h;
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/v;->a:Landroid/content/Context;
 | |
| 
 | |
|     invoke-direct {v0, v1}, Li/h;-><init>(Landroid/content/Context;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public f()Landroid/widget/ListView;
 | |
|     .locals 1
 | |
|     .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/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/view/menu/h;->f()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/view/menu/h;->d()Landroid/widget/ListView;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public g(I)V
 | |
|     .locals 2
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/MenuRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroidx/appcompat/widget/v;->e()Landroid/view/MenuInflater;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/appcompat/widget/v;->b:Landroidx/appcompat/view/menu/d;
 | |
| 
 | |
|     invoke-virtual {v0, p1, v1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public h(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroidx/appcompat/view/menu/h;->j(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public i(Landroidx/appcompat/widget/v$d;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroidx/appcompat/widget/v$d;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/v;->f:Landroidx/appcompat/widget/v$d;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public j(Landroidx/appcompat/widget/v$e;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroidx/appcompat/widget/v$e;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/appcompat/widget/v;->e:Landroidx/appcompat/widget/v$e;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public k()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/appcompat/widget/v;->d:Landroidx/appcompat/view/menu/h;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/appcompat/view/menu/h;->l()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 |