84 lines
3 KiB
Smali
84 lines
3 KiB
Smali
|
.class Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;
|
||
|
.super Landroidx/appcompat/view/menu/MenuPopupHelper;
|
||
|
.source "ActionMenuPresenter.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = "OverflowPopup"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/appcompat/widget/ActionMenuPresenter;Landroid/content/Context;Landroidx/appcompat/view/menu/MenuBuilder;Landroid/view/View;Z)V
|
||
|
.locals 6
|
||
|
|
||
|
iput-object p1, p0, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->this$0:Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
|
||
|
sget v5, Landroidx/appcompat/R$attr;->actionOverflowMenuStyle:I
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move-object v1, p2
|
||
|
|
||
|
move-object v2, p3
|
||
|
|
||
|
move-object v3, p4
|
||
|
|
||
|
move v4, p5
|
||
|
|
||
|
invoke-direct/range {v0 .. v5}, Landroidx/appcompat/view/menu/MenuPopupHelper;-><init>(Landroid/content/Context;Landroidx/appcompat/view/menu/MenuBuilder;Landroid/view/View;ZI)V
|
||
|
|
||
|
const p2, 0x800005
|
||
|
|
||
|
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->setGravity(I)V
|
||
|
|
||
|
iget-object p1, p1, Landroidx/appcompat/widget/ActionMenuPresenter;->mPopupPresenterCallback:Landroidx/appcompat/widget/ActionMenuPresenter$PopupPresenterCallback;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->setPresenterCallback(Landroidx/appcompat/view/menu/MenuPresenter$Callback;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onDismiss()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->this$0:Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/appcompat/widget/ActionMenuPresenter;->access$000(Landroidx/appcompat/widget/ActionMenuPresenter;)Landroidx/appcompat/view/menu/MenuBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->this$0:Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/appcompat/widget/ActionMenuPresenter;->access$100(Landroidx/appcompat/widget/ActionMenuPresenter;)Landroidx/appcompat/view/menu/MenuBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/appcompat/view/menu/MenuBuilder;->close()V
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;->this$0:Landroidx/appcompat/widget/ActionMenuPresenter;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
iput-object v1, v0, Landroidx/appcompat/widget/ActionMenuPresenter;->mOverflowPopup:Landroidx/appcompat/widget/ActionMenuPresenter$OverflowPopup;
|
||
|
|
||
|
invoke-super {p0}, Landroidx/appcompat/view/menu/MenuPopupHelper;->onDismiss()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|