Home
last modified time | relevance | path

Searched refs:ClipDescription (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/content/
DClipDescription.java38 public class ClipDescription implements Parcelable { class
101 public ClipDescription(CharSequence label, String[] mimeTypes) { in ClipDescription() method in ClipDescription
112 public ClipDescription(ClipDescription o) { in ClipDescription() method in ClipDescription
300 ClipDescription(Parcel in) { in ClipDescription() method in ClipDescription
306 public static final Parcelable.Creator<ClipDescription> CREATOR =
307 new Parcelable.Creator<ClipDescription>() {
309 public ClipDescription createFromParcel(Parcel source) {
310 return new ClipDescription(source);
313 public ClipDescription[] newArray(int size) {
314 return new ClipDescription[size];
DIClipboard.aidl20 import android.content.ClipDescription;
31 ClipDescription getPrimaryClipDescription(String callingPackage); in getPrimaryClipDescription()
DClipData.java155 ClipDescription.MIMETYPE_TEXT_PLAIN };
157 ClipDescription.MIMETYPE_TEXT_HTML };
159 ClipDescription.MIMETYPE_TEXT_URILIST };
161 ClipDescription.MIMETYPE_TEXT_INTENT };
163 final ClipDescription mClipDescription;
646 mClipDescription = new ClipDescription(label, mimeTypes); in ClipData()
661 public ClipData(ClipDescription description, Item item) { in ClipData()
780 public ClipDescription getDescription() { in getDescription()
992 mClipDescription = new ClipDescription(in); in ClipData()
DClipDescription.aidl19 parcelable ClipDescription;
DClipboardManager.java144 public ClipDescription getPrimaryClipDescription() { in getPrimaryClipDescription()
DContentProvider.java1560 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFile()
/frameworks/base/core/java/android/view/
DDragEvent.java20 import android.content.ClipDescription;
131 ClipDescription mClipDescription;
261 private void init(int action, float x, float y, ClipDescription description, ClipData data, in init()
279 ClipDescription description, ClipData data, in obtain()
365 public ClipDescription getClipDescription() { in getClipDescription()
517 event.mClipDescription = ClipDescription.CREATOR.createFromParcel(in);
DViewRootImpl.java32 import android.content.ClipDescription;
345 ClipDescription mDragDescription;
/frameworks/support/v4/jellybean/android/support/v4/app/
DRemoteInputCompatJellybean.java20 import android.content.ClipDescription;
84 ClipDescription clipDescription = clipData.getDescription(); in getResultsFromIntent()
85 if (!clipDescription.hasMimeType(ClipDescription.MIMETYPE_TEXT_INTENT)) { in getResultsFromIntent()
/frameworks/base/core/java/android/app/
DRemoteInput.java20 import android.content.ClipDescription;
251 ClipDescription clipDescription = clipData.getDescription(); in getResultsFromIntent()
252 if (!clipDescription.hasMimeType(ClipDescription.MIMETYPE_TEXT_INTENT)) { in getResultsFromIntent()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DQuickViewIntentBuilder.java24 import android.content.ClipDescription;
97 "URIs", new String[] { ClipDescription.MIMETYPE_TEXT_URILIST }, in build()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java26 import android.content.ClipDescription;
90 ClipDescription mDataDescription;
267 ClipDescription desc) { in sendDragStartedLw()
534 ClipDescription description, ClipData data, in obtainDragEvent()
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd38 ClipData, ClipDescription, and ClipData.Item
96 {@link android.content.ClipDescription ClipDescription}
195 <h3 id="ClipClasses">ClipData, ClipData.Item, and ClipDescription</h3>
200 {@link android.content.ClipDescription} object and one or more
204 A {@link android.content.ClipDescription} object contains metadata about the clip. In
242 object and a simple {@link android.content.ClipDescription} object:
251 {@link android.content.ClipDescription} object's label is set to <code>label</code>.
252 The single MIME type in {@link android.content.ClipDescription} is
253 {@link android.content.ClipDescription#MIMETYPE_TEXT_PLAIN}.
265 {@link android.content.ClipDescription} object's label is set to <code>label</code>.
[all …]
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java25 import android.content.ClipDescription;
258 public ClipDescription getPrimaryClipDescription(String callingPackage) { in getPrimaryClipDescription()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java24 import android.content.ClipDescription;
2699 final ClipDescription clipDesc = clip.getDescription(); in handlePasteClip()
2700 boolean containsSupportedType = clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN) || in handlePasteClip()
2701 clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_HTML); in handlePasteClip()
2708 final ClipDescription clipDescription = clip.getDescription(); in handlePasteClip()
2711 final boolean supportedType = ClipDescription.MIMETYPE_TEXT_PLAIN.equals(mimeType) || in handlePasteClip()
2712 ClipDescription.MIMETYPE_TEXT_HTML.equals(mimeType); in handlePasteClip()
3152 return event.getClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN); in onDragEvent()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java36 import android.content.ClipDescription;
1018 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFileImpl()
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd87 {@link android.content.ClipDescription ClipDescription}
566 ClipData object, supply metadata that is stored in a {@link android.content.ClipDescription}
605 // the already-created item. This will create a new ClipDescription object within the
702 {@link android.content.ClipDescription}. Use the MIME type methods in
703 {@link android.content.ClipDescription} to see if the listener can accept the data being
891 if (event.getClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN)) {
/frameworks/base/
DAndroid.mk655 frameworks/base/core/java/android/content/ClipDescription.aidl \
Dcompiled-classes-phone767 android.content.ClipDescription
768 android.content.ClipDescription$1
Dpreloaded-classes586 android.content.ClipDescription
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6773 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
6777 method public android.content.ClipDescription getDescription();
6805 public class ClipDescription implements android.os.Parcelable {
6806 ctor public ClipDescription(java.lang.CharSequence, java.lang.String[]);
6807 ctor public ClipDescription(android.content.ClipDescription);
6816 … field public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
6826 method public android.content.ClipDescription getPrimaryClipDescription();
32113 method public android.content.ClipDescription getClipDescription();
/frameworks/base/api/
Dcurrent.txt7663 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
7667 method public android.content.ClipDescription getDescription();
7695 public class ClipDescription implements android.os.Parcelable {
7696 ctor public ClipDescription(java.lang.CharSequence, java.lang.String[]);
7697 ctor public ClipDescription(android.content.ClipDescription);
7708 … field public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
7718 method public android.content.ClipDescription getPrimaryClipDescription();
40834 method public android.content.ClipDescription getClipDescription();
Dtest-current.txt7669 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
7673 method public android.content.ClipDescription getDescription();
7701 public class ClipDescription implements android.os.Parcelable {
7702 ctor public ClipDescription(java.lang.CharSequence, java.lang.String[]);
7703 ctor public ClipDescription(android.content.ClipDescription);
7714 … field public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
7724 method public android.content.ClipDescription getPrimaryClipDescription();
40913 method public android.content.ClipDescription getClipDescription();
Dsystem-current.txt7977 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
7981 method public android.content.ClipDescription getDescription();
8009 public class ClipDescription implements android.os.Parcelable {
8010 ctor public ClipDescription(java.lang.CharSequence, java.lang.String[]);
8011 ctor public ClipDescription(android.content.ClipDescription);
8022 … field public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
8032 method public android.content.ClipDescription getPrimaryClipDescription();
43834 method public android.content.ClipDescription getClipDescription();