132 lines
4.4 KiB
Smali
132 lines
4.4 KiB
Smali
.class Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;
|
|
.super Landroid/support/v7/view/menu/MenuItemWrapperICS$ActionProviderWrapper;
|
|
.source "MenuItemWrapperJB.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/ActionProvider$VisibilityListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v7/view/menu/MenuItemWrapperJB;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = "ActionProviderWrapperJB"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field mListener:Landroid/support/v4/view/ActionProvider$VisibilityListener;
|
|
|
|
.field final synthetic this$0:Landroid/support/v7/view/menu/MenuItemWrapperJB;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/support/v7/view/menu/MenuItemWrapperJB;Landroid/content/Context;Landroid/view/ActionProvider;)V
|
|
.locals 0
|
|
.param p2, "context" # Landroid/content/Context;
|
|
.param p3, "inner" # Landroid/view/ActionProvider;
|
|
|
|
.prologue
|
|
iput-object p1, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->this$0:Landroid/support/v7/view/menu/MenuItemWrapperJB;
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/support/v7/view/menu/MenuItemWrapperICS$ActionProviderWrapper;-><init>(Landroid/support/v7/view/menu/MenuItemWrapperICS;Landroid/content/Context;Landroid/view/ActionProvider;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public isVisible()Z
|
|
.locals 1
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mInner:Landroid/view/ActionProvider;
|
|
|
|
invoke-virtual {v0}, Landroid/view/ActionProvider;->isVisible()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onActionProviderVisibilityChanged(Z)V
|
|
.locals 1
|
|
.param p1, "isVisible" # Z
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mListener:Landroid/support/v4/view/ActionProvider$VisibilityListener;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mListener:Landroid/support/v4/view/ActionProvider$VisibilityListener;
|
|
|
|
invoke-interface {v0, p1}, Landroid/support/v4/view/ActionProvider$VisibilityListener;->onActionProviderVisibilityChanged(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreateActionView(Landroid/view/MenuItem;)Landroid/view/View;
|
|
.locals 1
|
|
.param p1, "forItem" # Landroid/view/MenuItem;
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mInner:Landroid/view/ActionProvider;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/ActionProvider;->onCreateActionView(Landroid/view/MenuItem;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public overridesItemVisibility()Z
|
|
.locals 1
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mInner:Landroid/view/ActionProvider;
|
|
|
|
invoke-virtual {v0}, Landroid/view/ActionProvider;->overridesItemVisibility()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public refreshVisibility()V
|
|
.locals 1
|
|
|
|
.prologue
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mInner:Landroid/view/ActionProvider;
|
|
|
|
invoke-virtual {v0}, Landroid/view/ActionProvider;->refreshVisibility()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisibilityListener(Landroid/support/v4/view/ActionProvider$VisibilityListener;)V
|
|
.locals 1
|
|
.param p1, "listener" # Landroid/support/v4/view/ActionProvider$VisibilityListener;
|
|
|
|
.prologue
|
|
iput-object p1, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mListener:Landroid/support/v4/view/ActionProvider$VisibilityListener;
|
|
|
|
iget-object v0, p0, Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;->mInner:Landroid/view/ActionProvider;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.end local p0 # "this":Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;
|
|
:goto_0
|
|
invoke-virtual {v0, p0}, Landroid/view/ActionProvider;->setVisibilityListener(Landroid/view/ActionProvider$VisibilityListener;)V
|
|
|
|
return-void
|
|
|
|
.restart local p0 # "this":Landroid/support/v7/view/menu/MenuItemWrapperJB$ActionProviderWrapperJB;
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
.end method
|