173 lines
5.5 KiB
Smali
173 lines
5.5 KiB
Smali
.class Landroid/support/v7/view/menu/SubMenuWrapperICS;
|
|
.super Landroid/support/v7/view/menu/MenuWrapperICS;
|
|
.source "SubMenuWrapperICS.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/SubMenu;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/content/Context;Landroid/support/v4/internal/view/SupportSubMenu;)V
|
|
.locals 0
|
|
.param p1, "context" # Landroid/content/Context;
|
|
.param p2, "subMenu" # Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
.prologue
|
|
invoke-direct {p0, p1, p2}, Landroid/support/v7/view/menu/MenuWrapperICS;-><init>(Landroid/content/Context;Landroid/support/v4/internal/view/SupportMenu;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clearHeader()V
|
|
.locals 1
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroid/support/v4/internal/view/SupportSubMenu;->clearHeader()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getItem()Landroid/view/MenuItem;
|
|
.locals 1
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroid/support/v4/internal/view/SupportSubMenu;->getItem()Landroid/view/MenuItem;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getMenuItemWrapper(Landroid/view/MenuItem;)Landroid/view/MenuItem;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
.locals 1
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/SubMenuWrapperICS;->mWrappedObject:Ljava/lang/Object;
|
|
|
|
check-cast v0, Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic getWrappedObject()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setHeaderIcon(I)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "iconRes" # I
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setHeaderIcon(I)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHeaderIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "icon" # Landroid/graphics/drawable/Drawable;
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setHeaderIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHeaderTitle(I)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "titleRes" # I
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setHeaderTitle(I)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHeaderTitle(Ljava/lang/CharSequence;)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "title" # Ljava/lang/CharSequence;
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setHeaderTitle(Ljava/lang/CharSequence;)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHeaderView(Landroid/view/View;)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "view" # Landroid/view/View;
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setHeaderView(Landroid/view/View;)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIcon(I)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "iconRes" # I
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setIcon(I)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/SubMenu;
|
|
.locals 1
|
|
.param p1, "icon" # Landroid/graphics/drawable/Drawable;
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Landroid/support/v7/view/menu/SubMenuWrapperICS;->getWrappedObject()Landroid/support/v4/internal/view/SupportSubMenu;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/internal/view/SupportSubMenu;->setIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/SubMenu;
|
|
|
|
return-object p0
|
|
.end method
|