Home
last modified time | relevance | path

Searched refs:clipboard (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java17 package com.android.server.clipboard;
172 PerUserClipboard clipboard = getClipboard(userId); in setPrimaryClip() local
173 revokeUris(clipboard); in setPrimaryClip()
174 setPrimaryClipInternal(clipboard, clip); in setPrimaryClip()
218 void setPrimaryClipInternal(PerUserClipboard clipboard, ClipData clip) { in setPrimaryClipInternal() argument
219 clipboard.activePermissionOwners.clear(); in setPrimaryClipInternal()
220 if (clip == null && clipboard.primaryClip == null) { in setPrimaryClipInternal()
223 clipboard.primaryClip = clip; in setPrimaryClipInternal()
225 final int n = clipboard.primaryClipListeners.beginBroadcast(); in setPrimaryClipInternal()
230 clipboard.primaryClipListeners.getBroadcastCookie(i); in setPrimaryClipInternal()
[all …]
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd9 A clipboard-based framework for copying and pasting data.
16 Copies and pastes simple text directly to and from the clipboard.
45 <a href="#CoerceToText">Coercing the clipboard data to text</a>
124 Android provides a powerful clipboard-based framework for copying and pasting. It
127 directly in the clipboard, while complex data is stored as a reference that the pasting
139 When you use the clipboard framework, you put data into a clip object, and then
140 put the clip object on the system-wide clipboard. The clip object can take one of three forms:
146 the clipboard. To paste the string, you get the clip object from the clipboard and copy
154 the clipboard. To paste the data, you get the clip object, get the
162 clipboard. To paste the data, you get the clip object and then copy the Intent object
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd159 <h3>System clipboard</h3>
162 clipboard. Clipped data can be plain text, a URI, or an intent.</p>
168 <p>To start using the clipboard, get the global {@link android.content.ClipboardManager} object
171 <p>To copy an item to the clipboard, you need to create a new {@link
180 <p>To add the {@link android.content.ClipData} to the clipboard, pass it to {@link
184 <p>You can then read a file from the clipboard (in order to paste it) by calling {@link
187 be complicated and you need to be sure you can actually handle the data type in the clipboard
190 <p>The clipboard holds only one piece of clipped data (a {@link android.content.ClipData}
235 android.content.ClipData} object, this is not related to the system clipboard. A drag and drop
236 operation should never put the dragged data in the system clipboard.</p>
Dandroid-3.0-highlights.jd113 …sers can then select an action from the Action Bar, such as copy to the clipboard, share, paste, w…
208 <p style="margin-top:1.25em;margin-bottom:.75em;"><strong>Multiselect, clipboard, and drag-and-drop…
Dandroid-2.3-highlights.jd101 by press-hold, then copy to the clipboard and paste. Pressing on a word enters a
Dandroid-4.0.jd1691 <li>System clipboard: Applications can copy and paste data (beyond mere text) to and from
1692 the system-wide clipboard. Clipped data can be plain text, a URI, or an intent. See the
Dandroid-4.0-highlights.jd664 <li>Multi-selection, drag-drop, clipboard</li>
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2587 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( in onTextContextMenuItem() local
2589 handlePasteClip(clipboard.getPrimaryClip()); in onTextContextMenuItem()
3080 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( in onClick() local
3082 clipboard.setPrimaryClip(ClipData.newPlainText("", mCopyAddress)); in onClick()
/frameworks/base/services/java/com/android/server/
DSystemServer.java57 import com.android.server.clipboard.ClipboardService;
/frameworks/base/docs/html/guide/practices/
Doptimizing-for-3.0.jd412 application, such as drag and drop APIs, new Bluetooth APIs, a system-wide clipboard framework, a
443 >Clipboard</a>: An example of how to use the clipboard for copy and paste operations.</li>
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd908 Copy selected parameter into clipboard and Delete selection</p>
911 Copy selected parameter into clipboard and keep selection</p>
/frameworks/base/core/java/android/widget/
DTextView.java9459 ClipboardManager clipboard = in paste() local
9461 ClipData clip = clipboard.getPrimaryClip(); in paste()
9502 ClipboardManager clipboard = (ClipboardManager) getContext(). in setPrimaryClip() local
9504 clipboard.setPrimaryClip(clip); in setPrimaryClip()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dmenu_design.jd275 is also on the clipboard, it has "Paste". The system automatically inserts
/frameworks/base/docs/html/
Dsitemap.txt3277 http://developer.android.com/guide/topics/clipboard/copy-paste.html
/frameworks/base/api/
Dcurrent.txt7739 field public static final java.lang.String CLIPBOARD_SERVICE = "clipboard";
Dsystem-current.txt7983 field public static final java.lang.String CLIPBOARD_SERVICE = "clipboard";