Lines Matching refs:ActionProvider

23  * An ActionProvider defines rich menu interaction in a single component.
24 * ActionProvider can generate action views for use in the action bar,
28 * <p>An ActionProvider can be optionally specified for a {@link MenuItem} and will be
31 * does not allow custom action views, (e.g. in an overflow menu,) the ActionProvider
38 * {@link MenuItem#setActionProvider(ActionProvider)}.
55 * @see MenuItem#setActionProvider(ActionProvider)
58 public abstract class ActionProvider {
59 private static final String TAG = "ActionProvider";
64 * Creates a new instance. ActionProvider classes should always implement a
69 public ActionProvider(Context context) {
89 * <p>If your ActionProvider implementation overrides the deprecated no-argument overload
103 * by the {@link MenuItem} this ActionProvider is bound to help determine its visibility.
105 * @return true if this ActionProvider overrides the visibility of the MenuItem
115 * will help determine the visibility of the {@link MenuItem} this ActionProvider is bound to.
120 * @return true if the MenuItem this ActionProvider is bound to is visible, false if
128 * If this ActionProvider is associated with an item in a menu,
179 * Determines if this ActionProvider has a submenu associated with it.
193 * Called to prepare an associated submenu for the menu item backed by this ActionProvider.
225 * Set a listener to be notified when this ActionProvider's overridden visibility changes.
232 Log.w(TAG, "setVisibilityListener: Setting a new ActionProvider.VisibilityListener " +
247 * Listens to changes in visibility as reported by {@link ActionProvider#refreshVisibility()}.
249 * @see ActionProvider#overridesItemVisibility()
250 * @see ActionProvider#isVisible()