apkfuckery/com.discord/smali/androidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper.smali

89 lines
2.8 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/appcompat/app/ToolbarActionBar$ToolbarCallbackWrapper;
2019-07-24 11:27:29 +00:00
.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;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = "ToolbarCallbackWrapper"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/appcompat/app/ToolbarActionBar;
2019-07-24 11:27:29 +00:00
# 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;
2019-12-06 03:29:40 +00:00
iget-boolean p3, p2, Landroidx/appcompat/app/ToolbarActionBar;->mToolbarMenuPrepared:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez p3, :cond_0
2019-07-24 11:27:29 +00:00
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