fv$a.java 1.64 KB
import android.content.Context;
import android.support.v7.view.menu.MenuItemWrapperICS.a;
import android.view.ActionProvider;
import android.view.MenuItem;
import android.view.View;

final class fv$a
  extends MenuItemWrapperICS.a
  implements android.view.ActionProvider.VisibilityListener
{
  android.support.v4.view.ActionProvider.VisibilityListener c;
  
  public fv$a(fv paramfv, Context paramContext, ActionProvider paramActionProvider)
  {
    super(paramfv, paramContext, paramActionProvider);
  }
  
  public final boolean isVisible()
  {
    return this.a.isVisible();
  }
  
  public final void onActionProviderVisibilityChanged(boolean paramBoolean)
  {
    if (this.c != null) {
      this.c.onActionProviderVisibilityChanged(paramBoolean);
    }
  }
  
  public final View onCreateActionView(MenuItem paramMenuItem)
  {
    return this.a.onCreateActionView(paramMenuItem);
  }
  
  public final boolean overridesItemVisibility()
  {
    return this.a.overridesItemVisibility();
  }
  
  public final void refreshVisibility()
  {
    this.a.refreshVisibility();
  }
  
  public final void setVisibilityListener(android.support.v4.view.ActionProvider.VisibilityListener paramVisibilityListener)
  {
    this.c = paramVisibilityListener;
    ActionProvider localActionProvider = this.a;
    if (paramVisibilityListener != null) {}
    for (paramVisibilityListener = this;; paramVisibilityListener = null)
    {
      localActionProvider.setVisibilityListener(paramVisibilityListener);
      return;
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/fv$a.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */