HomeSort by relevance Sort by last modified time
    Searched full:actionprovider (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
MenuItemWrapperJB.java 19 import android.support.v4.view.ActionProvider;
30 ActionProviderWrapper createActionProviderWrapper(ActionProvider provider) {
35 implements ActionProvider.VisibilityListener {
36 android.view.ActionProvider.VisibilityListener mListener;
38 public ActionProviderWrapperJB(ActionProvider inner) {
64 android.view.ActionProvider.VisibilityListener listener) {
MenuItemWrapperICS.java 22 import android.support.v4.view.ActionProvider;
171 // If we need to be visible, we need to check whether the ActionProvider overrides it
260 public MenuItem setActionProvider(android.view.ActionProvider provider) {
269 public android.view.ActionProvider getActionProvider() {
303 public SupportMenuItem setSupportActionProvider(ActionProvider actionProvider) {
304 mWrappedObject.setActionProvider(actionProvider != null ?
305 createActionProviderWrapper(actionProvider) : null);
310 public ActionProvider getSupportActionProvider() {
316 ActionProviderWrapper createActionProviderWrapper(ActionProvider provider)
    [all...]
ActionMenuItem.java 22 import android.support.v4.view.ActionProvider;
240 public MenuItem setActionProvider(android.view.ActionProvider actionProvider) {
245 public android.view.ActionProvider getActionProvider() {
255 public ActionProvider getSupportActionProvider() {
260 public SupportMenuItem setSupportActionProvider(ActionProvider actionProvider) {
MenuItemImpl.java 23 import android.support.v4.view.ActionProvider;
91 private ActionProvider mActionProvider;
633 public MenuItem setActionProvider(android.view.ActionProvider actionProvider) {
639 public android.view.ActionProvider getActionProvider() {
645 public ActionProvider getSupportActionProvider() {
650 public SupportMenuItem setSupportActionProvider(ActionProvider actionProvider) {
651 if (mActionProvider == actionProvider) {
659 mActionProvider = actionProvider;
    [all...]
  /frameworks/base/core/java/android/view/
ActionProvider.java 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)
    [all...]
MenuItem.java 490 * set via {@link #setActionProvider(ActionProvider)}.
506 * set via {@link #setActionProvider(ActionProvider)}.
527 * Sets the {@link ActionProvider} responsible for creating an action view if
535 * @param actionProvider The action provider.
538 * @see ActionProvider
540 public MenuItem setActionProvider(ActionProvider actionProvider);
543 * Gets the {@link ActionProvider}.
547 * @see ActionProvider
548 * @see #setActionProvider(ActionProvider)
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
ActionProvider.java 30 * <p>An ActionProvider can be
43 * android.support.v4.view.MenuItemCompat#setActionProvider(android.view.MenuItem, ActionProvider)}.
59 * @see android.support.v4.view.MenuItemCompat#setActionProvider(android.view.MenuItem, ActionProvider)
62 public abstract class ActionProvider {
63 private static final String TAG = "ActionProvider(support)";
74 public ActionProvider(Context context) {
96 * <p>If your ActionProvider implementation overrides the deprecated no-argument overload
110 * by the {@link MenuItem} this ActionProvider is bound to help determine its visibility.
112 * @return true if this ActionProvider overrides the visibility of the MenuItem
122 * will help determine the visibility of the {@link MenuItem} this ActionProvider is bound to
    [all...]
MenuItemCompat.java 294 * set via {@link #setActionProvider(MenuItem, ActionProvider)}.
324 * Sets the {@link ActionProvider} responsible for creating an action view if
336 * @see ActionProvider
338 public static MenuItem setActionProvider(MenuItem item, ActionProvider provider) {
342 // TODO Wrap the support ActionProvider and assign it
348 * Gets the {@link ActionProvider}.
352 * @see ActionProvider
353 * @see #setActionProvider(MenuItem, ActionProvider)
355 public static ActionProvider getActionProvider(MenuItem item) {
360 // TODO Wrap the framework ActionProvider and return i
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/16/changes/
android.view.ActionProvider.html 10 android.view.ActionProvider
74 Class android.view.<A HREF="../../../../reference/android/view/ActionProvider.html" target="_top"><font size="+2"><code>ActionProvider</code></font></A>
86 <A NAME="android.view.ActionProvider.isVisible_added()"></A>
87 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/ActionProvider.html#isVisible()" target="_top"><code>isVisible</code></A>()</nobr>
93 <A NAME="android.view.ActionProvider.onCreateActionView_added(android.view.MenuItem)"></A>
94 <nobr><code>View</code>&nbsp;<A HREF="../../../../reference/android/view/ActionProvider.html#onCreateActionView(android.view.MenuItem)" target="_top"><code>onCreateActionView</code></A>(<code>MenuItem</code>)</nobr>
100 <A NAME="android.view.ActionProvider.overridesItemVisibility_added()"></A>
101 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/ActionProvider.html#overridesItemVisibility()" target="_top"><code>overridesItemVisibility</code></A>()</nobr>
107 <A NAME="android.view.ActionProvider.refreshVisibility_added()"></A
    [all...]
pkg_android.view.html 84 <A NAME="ActionProvider.VisibilityListener"></A>
85 <nobr><A HREF="../../../../reference/android/view/ActionProvider.VisibilityListener.html" target="_top"><code><I>ActionProvider.VisibilityListener</I></code></A></nobr>
127 <A NAME="ActionProvider"></A>
128 <nobr><A HREF="android.view.ActionProvider.html">ActionProvider</A></nobr>
  /frameworks/support/v4/ics/android/support/v4/app/
ShareCompatICS.java 21 import android.view.ActionProvider;
29 ActionProvider itemProvider = item.getActionProvider();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarSettingsActionProviderActivity.java 23 import android.view.ActionProvider;
34 * This activity demonstrates how to implement an {@link android.view.ActionProvider}
36 * ActionProvider for launching the system settings and adds a menu item with that
57 // of the ActionProvider is invoked. Hence, the provider encapsulates the
64 public static class SettingsActionProvider extends ActionProvider {
ActionBarShareActionProviderActivity.java 36 * This activity demonstrates how to use an {@link android.view.ActionProvider}
58 ShareActionProvider actionProvider = (ShareActionProvider) actionItem.getActionProvider();
59 actionProvider.setShareHistoryFileName(ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);
62 actionProvider.setShareIntent(createShareIntent());
  /development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarSettingsActionProviderActivity.java 23 import android.support.v4.view.ActionProvider;
33 * This activity demonstrates how to implement an {@link android.view.ActionProvider}
35 * ActionProvider for launching the system settings and adds a menu item with that
49 // of the ActionProvider is invoked. Hence, the provider encapsulates the
56 public static class SettingsActionProvider extends ActionProvider {
_index.html 28 <dd>Shows how to implement an ActionProvider for launching the system settings that supplies a
  /frameworks/support/v4/java/android/support/v4/internal/view/
SupportMenuItem.java 19 import android.support.v4.view.ActionProvider;
112 * provider set via {@link #setSupportActionProvider(android.support.v4.view.ActionProvider)}. </p>
126 * provider set via {@link #setSupportActionProvider(android.support.v4.view.ActionProvider)}. </p>
144 * Sets the {@link android.support.v4.view.ActionProvider} responsible for creating an action view if
152 * @param actionProvider The action provider.
154 * @see android.support.v4.view.ActionProvider
156 public SupportMenuItem setSupportActionProvider(ActionProvider actionProvider);
159 * Gets the {@link ActionProvider}.
162 * @see ActionProvider
    [all...]
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
SimpleMenuItem.java 21 import android.view.ActionProvider;
127 public MenuItem setActionProvider(ActionProvider actionProvider) {
132 public ActionProvider getActionProvider() {
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java 67 ShareActionProvider actionProvider = (ShareActionProvider) actionItem.getActionProvider();
68 actionProvider.setShareHistoryFileName(ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);
75 actionProvider.setShareIntent(shareIntent);
ContentBrowserActivity.java 192 ShareActionProvider actionProvider = (ShareActionProvider) actionItem.getActionProvider();
193 actionProvider.setShareHistoryFileName(ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);
200 actionProvider.setShareIntent(shareIntent);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestMenuItem.java 227 public MenuItem setActionProvider(ActionProvider actionProvider) {
232 public ActionProvider getActionProvider() {
  /frameworks/base/core/java/android/app/
MediaRouteActionProvider.java 26 import android.view.ActionProvider;
33 public class MediaRouteActionProvider extends ActionProvider {
78 Log.e(TAG, "onCreateActionView: this ActionProvider is already associated " +
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItem.java 22 import android.view.ActionProvider;
242 public ActionProvider getActionProvider() {
247 public MenuItem setActionProvider(ActionProvider actionProvider) {
MenuItemImpl.java 26 import android.view.ActionProvider;
83 private ActionProvider mActionProvider;
590 public ActionProvider getActionProvider() {
594 public MenuItem setActionProvider(ActionProvider actionProvider) {
599 mActionProvider = actionProvider;
602 mActionProvider.setVisibilityListener(new ActionProvider.VisibilityListener() {
  /frameworks/base/docs/html/training/sharing/
index.jd 30 android.view.ActionProvider} object.</p>
shareaction.jd 32 is made even easier with the introduction of {@link android.view.ActionProvider} in Android 4.0
33 (API Level 14). An {@link android.view.ActionProvider}, once attached to a menu item in the action
113 href="{@docRoot}guide/topics/ui/actionbar.html#ActionProvider">Action Bar</a> guide.</p>

Completed in 641 milliseconds

1 2 3 4