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

1 2 3 4 5

  /development/samples/browseable/ActionBarCompat-ShareActionProvider/
_index.jd 2 page.tags="ActionBarCompat-ShareActionProvider"
8 This sample shows you how a provide a context-sensitive ShareActionProvider with
  /frameworks/support/compat/ics/android/support/v4/app/
ShareCompatICS.java 23 import android.widget.ShareActionProvider;
30 ShareActionProvider provider = null;
31 if (!(itemProvider instanceof ShareActionProvider)) {
32 provider = new ShareActionProvider(callingActivity);
34 provider = (ShareActionProvider) itemProvider;
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/.google/
packaging.yaml 12 github: android-ActionBarCompat-ShareActionProvider
16 - android:android.support.v7.widget.ShareActionProvider
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarShareActionProvider.java 24 import android.support.v7.widget.ShareActionProvider;
29 * This activity demonstrates how to use {@link ShareActionProvider} with the Action Bar.
41 final ShareActionProvider sap = (ShareActionProvider) MenuItemCompat.getActionProvider(
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/
template-params.xml 18 <name>ActionBarCompat-ShareActionProvider</name>
20 <package>com.example.android.actionbarcompat.shareactionprovider</package>
27 This sample shows you how a provide a context-sensitive ShareActionProvider with
48 <android>android.support.v7.widget.ShareActionProvider</android>
53 This sample shows you how a provide a context-sensitive ShareActionProvider with
60 text. When a new item is selected in the ViewPager, the [`ShareActionProvider`][2] is updated with
67 [2]: http://developer.android.com/reference/android/widget/ShareActionProvider.html
packaging.yaml 12 github: googlesamples/android-ActionBarCompat-ShareActionProvider
README.md 2 Android ActionBarCompat-ShareActionProvider Sample
5 This sample shows you how a provide a context-sensitive ShareActionProvider with
12 text. When a new item is selected in the ViewPager, the [`ShareActionProvider`][2] is updated with
19 [2]: http://developer.android.com/reference/android/widget/ShareActionProvider.html
47 https://github.com/googlesamples/android-ActionBarCompat-ShareActionProvider
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarShareActionProviderActivity.java 26 import android.widget.ShareActionProvider;
38 * a menu item with ShareActionProvider as its action provider. The
39 * ShareActionProvider is responsible for managing the UI for sharing actions.
58 ShareActionProvider actionProvider = (ShareActionProvider) actionItem.getActionProvider();
59 actionProvider.setShareHistoryFileName(ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);
66 ShareActionProvider overflowProvider =
67 (ShareActionProvider) overflowItem.getActionProvider();
69 ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);
  /frameworks/base/docs/html/training/sharing/
shareaction.jd 36 android.widget.ShareActionProvider}, you provide a share intent and it does the rest.</p>
38 <p class="note"><strong>Note:&nbsp;</strong> {@link android.widget.ShareActionProvider} is available
45 <strong>Figure 1.</strong> The {@link android.widget.ShareActionProvider} in the Gallery app.
52 To get started with {@link android.widget.ShareActionProvider ShareActionProviders},
64 "android.widget.ShareActionProvider"</b> /&gt;
71 {@link android.widget.ShareActionProvider}. However, you will need to tell the provider what you
79 In order for {@link android.widget.ShareActionProvider} to function, you must provide it a share
88 {@link android.widget.ShareActionProvider}. Use
89 {@link android.widget.ShareActionProvider#setShareIntent(android.content.Intent)
95 private ShareActionProvider mShareActionProvider
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/res/values/
base-strings.xml 19 <string name="app_name">ActionBarCompat-ShareActionProvider</string>
24 This sample shows you how a provide a context-sensitive ShareActionProvider with
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/res/values/
base-strings.xml 19 <string name="app_name">ActionBarCompat-ShareActionProvider</string>
24 This sample shows you how a provide a context-sensitive ShareActionProvider with
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/
packaging.yaml 12 github: googlesamples/android-ActionBarCompat-ShareActionProvider
README.md 2 Android ActionBarCompat-ShareActionProvider Sample
5 This sample shows you how a provide a context-sensitive ShareActionProvider with
12 text. When a new item is selected in the ViewPager, the [`ShareActionProvider`][2] is updated with
19 [2]: http://developer.android.com/reference/android/widget/ShareActionProvider.html
47 https://github.com/googlesamples/android-ActionBarCompat-ShareActionProvider
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/tests/src/com/example/android/actionbarcompat/shareactionprovider/tests/
SampleTests.java 16 package com.example.android.actionbarcompat.shareactionprovider.tests;
18 import com.example.android.actionbarcompat.shareactionprovider.*;
23 * Tests for ShareActionProvider sample.
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/tests/src/com/example/android/actionbarcompat/shareactionprovider/tests/
SampleTests.java 16 package com.example.android.actionbarcompat.shareactionprovider.tests;
18 import com.example.android.actionbarcompat.shareactionprovider.*;
23 * Tests for ShareActionProvider sample.
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 17 package com.example.android.actionbarcompat.shareactionprovider;
25 import android.support.v7.widget.ShareActionProvider;
34 import com.example.android.actionbarcompat.shareactionprovider.content.ContentItem;
39 * This sample shows you how a provide a {@link ShareActionProvider} with ActionBarCompat,
43 * text. When a new item is selected in the ViewPager, the ShareActionProvider is updated with
54 // Keep reference to the ShareActionProvider from the menu
55 private ShareActionProvider mShareActionProvider;
83 // Now get the ShareActionProvider from the item
84 mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(shareItem);
165 // Now update the ShareActionProvider with the new share inten
    [all...]
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 17 package com.example.android.actionbarcompat.shareactionprovider;
25 import android.support.v7.widget.ShareActionProvider;
34 import com.example.android.actionbarcompat.shareactionprovider.content.ContentItem;
39 * This sample shows you how a provide a {@link ShareActionProvider} with ActionBarCompat,
43 * text. When a new item is selected in the ViewPager, the ShareActionProvider is updated with
54 // Keep reference to the ShareActionProvider from the menu
55 private ShareActionProvider mShareActionProvider;
83 // Now get the ShareActionProvider from the item
84 mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(shareItem);
165 // Now update the ShareActionProvider with the new share inten
    [all...]
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
MainActivity.java 17 package com.example.android.actionbarcompat.shareactionprovider;
25 import android.support.v7.widget.ShareActionProvider;
34 import com.example.android.actionbarcompat.shareactionprovider.content.ContentItem;
39 * This sample shows you how a provide a {@link ShareActionProvider} with ActionBarCompat,
43 * text. When a new item is selected in the ViewPager, the ShareActionProvider is updated with
54 // Keep reference to the ShareActionProvider from the menu
55 private ShareActionProvider mShareActionProvider;
83 // Now get the ShareActionProvider from the item
84 mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(shareItem);
165 // Now update the ShareActionProvider with the new share inten
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/res/menu/
main_menu.xml 29 To use ShareActionProvider provided by ActionBarCompat, we reference the class by set the
30 support:actionProviderClass attribute with the full class name of ShareActionProvider.
35 support:actionProviderClass="android.support.v7.widget.ShareActionProvider"
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/tests/
AndroidManifest.xml 19 package="com.example.android.actionbarcompat.shareactionprovider.tests"
37 android:targetPackage="com.example.android.actionbarcompat.shareactionprovider"
38 android:label="Tests for com.example.android.actionbarcompat.shareactionprovider" />
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/res/menu/
main_menu.xml 29 To use ShareActionProvider provided by ActionBarCompat, we reference the class by set the
30 support:actionProviderClass attribute with the full class name of ShareActionProvider.
35 support:actionProviderClass="android.support.v7.widget.ShareActionProvider"
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/tests/
AndroidManifest.xml 19 package="com.example.android.actionbarcompat.shareactionprovider.tests"
37 android:targetPackage="com.example.android.actionbarcompat.shareactionprovider"
38 android:label="Tests for com.example.android.actionbarcompat.shareactionprovider" />
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/res/menu/
main_menu.xml 29 To use ShareActionProvider provided by ActionBarCompat, we reference the class by set the
30 support:actionProviderClass attribute with the full class name of ShareActionProvider.
35 support:actionProviderClass="android.support.v7.widget.ShareActionProvider"
  /development/samples/ApiDemos/res/menu/
action_bar_share_action_provider.xml 21 android:actionProviderClass="android.widget.ShareActionProvider" />
26 android:actionProviderClass="android.widget.ShareActionProvider" />
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java 29 import android.widget.ShareActionProvider;
67 ShareActionProvider actionProvider = (ShareActionProvider) actionItem.getActionProvider();
68 actionProvider.setShareHistoryFileName(ShareActionProvider.DEFAULT_SHARE_HISTORY_FILE_NAME);

Completed in 342 milliseconds

1 2 3 4 5