89 lines
2.8 KiB
Smali
89 lines
2.8 KiB
Smali
|
.class public Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;
|
||
|
.super Landroidx/appcompat/view/WindowCallbackWrapper;
|
||
|
.source "ToolbarActionBar.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x1
|
||
|
name = "ToolbarCallbackWrapper"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic this$0:Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/appcompat/app/ToolbarActionBar;Landroid/view/Window$Callback;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;->this$0:Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
|
||
|
invoke-direct {p0, p2}, Landroidx/appcompat/view/WindowCallbackWrapper;-><init>(Landroid/view/Window$Callback;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onCreatePanelView(I)Landroid/view/View;
|
||
|
.locals 1
|
||
|
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
new-instance p1, Landroid/view/View;
|
||
|
|
||
|
iget-object v0, p0, Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;->this$0:Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
|
||
|
iget-object v0, v0, Landroidx/appcompat/app/ToolbarActionBar;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
|
||
|
|
||
|
invoke-interface {v0}, Landroidx/appcompat/widget/DecorToolbar;->getContext()Landroid/content/Context;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-direct {p1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V
|
||
|
|
||
|
return-object p1
|
||
|
|
||
|
:cond_0
|
||
|
invoke-super {p0, p1}, Landroidx/appcompat/view/WindowCallbackWrapper;->onCreatePanelView(I)Landroid/view/View;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
|
||
|
.locals 0
|
||
|
|
||
|
invoke-super {p0, p1, p2, p3}, Landroidx/appcompat/view/WindowCallbackWrapper;->onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
iget-object p2, p0, Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;->this$0:Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
|
||
|
iget-boolean p3, p2, Landroidx/appcompat/app/ToolbarActionBar;->mToolbarMenuPrepared:Z
|
||
|
|
||
|
if-nez p3, :cond_0
|
||
|
|
||
|
iget-object p2, p2, Landroidx/appcompat/app/ToolbarActionBar;->mDecorToolbar:Landroidx/appcompat/widget/DecorToolbar;
|
||
|
|
||
|
invoke-interface {p2}, Landroidx/appcompat/widget/DecorToolbar;->setMenuPrepared()V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;->this$0:Landroidx/appcompat/app/ToolbarActionBar;
|
||
|
|
||
|
const/4 p3, 0x1
|
||
|
|
||
|
iput-boolean p3, p2, Landroidx/appcompat/app/ToolbarActionBar;->mToolbarMenuPrepared:Z
|
||
|
|
||
|
:cond_0
|
||
|
return p1
|
||
|
.end method
|