Home
last modified time | relevance | path

Searched refs:share (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/docs/html/training/sharing/
Dshareaction.jd18 <li><a href="#set-share-intent">Set the Share Intent</a></li>
32 <p>Implementing an effective and user friendly share action in your {@link android.app.ActionBar}
36 android.widget.ShareActionProvider}, you provide a share intent and it does the rest.</p>
72 would like to share.
76 <h2 id="set-share-intent">Set the Share Intent</h2>
79 In order for {@link android.widget.ShareActionProvider} to function, you must provide it a share
80 intent. This share intent should be the same as described in the
84 To assign a share intent, first find the corresponding {@link android.view.MenuItem} while
90 setShareIntent()} to update the share intent associated with that action item. Here's an
113 // Call to update the share intent
[all …]
Dsend.jd42 sharing of content. Intents allow users to share information quickly and easily, using their
45 <p><strong>Note:</strong> The best way to add a share action item to an
54 <img src="{@docRoot}images/training/sharing/share-text-screenshot.png" alt="" id="figure1" />
63 app can share the URL of the currently-displayed page as text with any application. This is useful
121 android.content.Intent#EXTRA_STREAM}. This is commonly used to share an image but can be used to
122 share any type of binary content:</p>
164 <p>To share multiple pieces of content, use the {@link android.content.Intent#ACTION_SEND_MULTIPLE}
166 mix of content you're sharing. For example, if you share 3 JPEG images, the type is still {@code
Dindex.jd2 page.tags=intents,share
44 <dd>Learn how to add a "share" action item to your action bar.</dd>
/frameworks/base/docs/html/training/secure-file-sharing/
Dindex.jd2 page.tags=FileProvider,share,ContentProvider
33 share a file is to respond to a request from the receiving app.
45 If you want to share small amounts of text or numeric data between apps, you should send an
51 This class explains how to securely share files from your app to another app using content URIs
59 Learn how to set up your app to share files.
61 <dt><b><a href="share-file.html">Sharing a File</a></b></dt>
Dsetup-sharing.jd45 the name of an XML file that specifies the directories your app can share.
91 share. The <code>android:resource</code> attribute is the path and name of the file, without
97 you need to specify the directories that contain the files you want to share. To specify the
101 <code>res/xml/filepaths.xml</code>. The snippet also demonstrates how to share a subdirectory
117 directory to share. In addition to the <code>&lt;files-path&gt;</code> element, you can
118 use the <code>&lt;external-path&gt;</code> element to share directories in external storage, and
119 the <code>&lt;cache-path&gt;</code> element to share directories in your internal cache
125 share; you can't programmatically add a directory.
Drequest-file.jd33 starts an {@link android.app.Activity} in the server app that displays the files it can share.
53 {@link android.app.Activity} described in <a href="share-file.html#SendURI"
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFragmentTuner.java153 MenuItem share = menu.findItem(R.id.menu_share); in updateActionMenu() local
160 share.setVisible(false); in updateActionMenu()
222 MenuItem share = menu.findItem(R.id.menu_share); in updateActionMenu() local
229 share.setVisible(!selection.containsDirectories() && !selection.containsPartialFiles()); in updateActionMenu()
232 share.setEnabled(!selection.containsDirectories() && !selection.containsPartialFiles()); in updateActionMenu()
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DPreloadDebugeeWrapper.java20 import org.apache.harmony.jpda.tests.jdwp.share.JDWPManualDebuggeeWrapper;
21 import org.apache.harmony.jpda.tests.share.JPDATestOptions;
DJDWPClassDataRetriever.java26 import org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase;
27 import org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper;
28 import org.apache.harmony.jpda.tests.share.JPDALogWriter;
29 import org.apache.harmony.jpda.tests.share.JPDATestOptions;
/frameworks/base/docs/html/training/printing/
Dindex.jd29 showing someone a screen is not an adequate way to share information. Being able to print
31 content from your app or share it with another person who is not using your application.
/frameworks/base/docs/html/training/
Dbuilding-content-sharing.jd8 <p>These classes teach you how to create apps that share data between apps and devices.</p>
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java785 int share = (int) (childExtra * delta / weightSum); in measureVertical() local
787 delta -= share; in measureVertical()
798 int childHeight = child.getMeasuredHeight() + share; in measureVertical()
809 MeasureSpec.makeMeasureSpec(share > 0 ? share : 0, in measureVertical()
1174 int share = (int) (childExtra * delta / weightSum); in measureHorizontal() local
1176 delta -= share; in measureHorizontal()
1188 int childWidth = child.getMeasuredWidth() + share; in measureHorizontal()
1199 share > 0 ? share : 0, MeasureSpec.EXACTLY), in measureHorizontal()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java198 holder.share.setOnClickListener(new View.OnClickListener() { in onBindViewHolder()
269 private final View share; field in NekoLand.CatHolder
277 share = itemView.findViewById(android.R.id.shareText); in CatHolder()
/frameworks/base/docs/html/training/design-navigation/
Dscreen-planning.jd40 …enable users to <strong>view</strong>, <strong>save</strong>, and <strong>share</strong> <em>categ…
46 <li>Story detail view (from which we can save and share)</li>
48 <li>Photo detail view (from which we can save and share)</li>
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DCredential.java40 boolean machineManaged, String stApp, boolean share) { in Credential() argument
58 mShare = share; in Credential()
/frameworks/base/docs/html/distribute/engage/
Deasy-signin.jd45 Wallet, share with Google contacts, save files to Drive, add events to
63 to share rich content to the Google+ stream.</li>
Dcommunity.jd24 Any reason to go back to your app is a great post to share with your
/frameworks/base/core/java/android/widget/
DLinearLayout.java888 final int share = (int) (childWeight * remainingExcess / remainingWeightSum); in measureVertical() local
889 remainingExcess -= share; in measureVertical()
899 childHeight = share; in measureVertical()
903 childHeight = child.getMeasuredHeight() + share; in measureVertical()
1272 final int share = (int) (childWeight * remainingExcess / remainingWeightSum); in measureHorizontal() local
1273 remainingExcess -= share; in measureHorizontal()
1283 childWidth = share; in measureHorizontal()
1287 childWidth = child.getMeasuredWidth() + share; in measureHorizontal()
/frameworks/base/docs/html/about/versions/marshmallow/
Dsamples.jd51 <a href="{@docRoot}about/versions/marshmallow/android-6.0.html#direct-share">Direct Share</a>
52 feature. The app shows some options directly in the list of share intent candidates.
Dandroid-6.0.jd24 <li><a href="#direct-share">Direct Share</a></li>
174 <h2 id="direct-share">Direct Share</h2>
176 <img src="{@docRoot}images/android-6.0/direct-share-screen.png"
177 srcset="{@docRoot}images/android-6.0/direct-share-screen.png 1x, {@docRoot}images/android-6.0/direc…
181 define <em>direct share targets</em> that launch a specific activity in your app. These direct share
182 targets are exposed to users via the <em>Share</em> menu. This feature allows users to share
183 content to targets, such as contacts, within other apps. For example, the direct share target might
184 launch an activity in another social network app, which lets the user share content directly to a
187 <p>To enable direct share targets you must define a class that extends the
251 <p>Your app can elect to not share the current context with the assistant by setting the
[all …]
/frameworks/base/docs/html/samples/new/
Dindex.jd74 <a href="{@docRoot}about/versions/marshmallow/android-6.0.html#direct-share">Direct
75 Share</a> feature. The app shows some options directly in the list of share
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java49 boolean machineManaged, String stApp, boolean share) { in Credential() argument
67 mShare = share; in Credential()
/frameworks/base/docs/html/about/versions/
Dandroid-4.0-highlights.jd320 email, text, and share.</p>
366 <a href="{@docRoot}sdk/images/4.0/gallery-share-lg.png" target="_android">
367 <img src="{@docRoot}sdk/images/4.0/gallery-share.png" alt="" width="240" height="144"
370 edit, and share instantly. </div>
378 with great photos and videos. After capturing images, they can edit and share
400 <p>After taking a picture or video, users can quickly share it by email, text
418 <p>The Gallery app now makes it easier to manage, show, and share photos and
425 videos to share instantly over email, text messaging, bluetooth, social
471 <p>Users can now share what's on their screens more easily by taking
473 store it locally. Afterward, they can view, edit, and share the screen shot in
[all …]
/frameworks/base/docs/html/training/camera/
Dindex.jd45 or simply share their experiences.</p>
/frameworks/base/docs/html/design/patterns/
Dactionbar.jd183 Pre-defined glyphs should be used for certain common actions such as "refresh" and "share." The
238 <p>Whenever your app permits sharing of data, such as images or movie clips, use a <em>share action
239 provider</em> in your action bar. The share action provider is designed to speed up sharing by
245 The Gallery app's share action provider with extended spinner for additional sharing options.

123456