HomeSort by relevance Sort by last modified time
    Searched defs:ClipData (Results 1 - 9 of 9) sorted by null

  /frameworks/base/core/java/android/content/
ClipboardManager.java 40 * is expressed as a {@link ClipData} object, which defines the protocol
99 public void setPrimaryClip(ClipData clip) {
109 public ClipData getPrimaryClip() {
171 ClipData clip = getPrimaryClip();
179 * @deprecated Use {@link #setPrimaryClip(ClipData)} instead. This
184 setPrimaryClip(ClipData.newPlainText(null, text));
ClipData.java 40 * <p>A ClipData contains a {@link ClipDescription}, which describes
96 * {@sample frameworks/base/core/java/android/content/ClipData.java coerceToText}
137 public class ClipData implements Parcelable {
326 public ClipData(CharSequence label, String[] mimeTypes, Item item) {
341 public ClipData(ClipDescription description, Item item) {
351 * Create a new ClipData holding data of the type
356 * @return Returns a new ClipData containing the specified data.
358 static public ClipData newPlainText(CharSequence label, CharSequence text) {
360 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item);
364 * Create a new ClipData holding an Intent with MIME typ
    [all...]
  /development/samples/NotePad/src/com/example/android/notepad/
NotesList.java 23 import android.content.ClipData;
406 clipboard.setPrimaryClip(ClipData.newUri( // new clipboard item holding a URI
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorEditText.java 19 import android.content.ClipData;
103 ClipData primaryClip = getPrimaryClip();
110 private void setPrimaryClip(ClipData clip) {
122 clipboard.setPrimaryClip(ClipData.newPlainText(null, text));
131 setPrimaryClip(ClipData.newPlainText(null, text));
136 private ClipData getPrimaryClip() {
143 ClipData clip = getPrimaryClip();
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksPage.java 22 import android.content.ClipData;
541 cm.setPrimaryClip(ClipData.newRawUri(null, Uri.parse(text.toString())));
  /frameworks/base/core/java/android/widget/
TextView.java 20 import android.content.ClipData;
21 import android.content.ClipData.Item;
    [all...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 

Completed in 89 milliseconds