Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DClipDescription.java41 public class ClipDescription implements Parcelable { class
105 public ClipDescription(CharSequence label, String[] mimeTypes) { in ClipDescription() method in ClipDescription
116 public ClipDescription(ClipDescription o) { in ClipDescription() method in ClipDescription
376 ClipDescription(Parcel in) { in ClipDescription() method in ClipDescription
383 public static final @android.annotation.NonNull Parcelable.Creator<ClipDescription> CREATOR =
384 new Parcelable.Creator<ClipDescription>() {
386 public ClipDescription createFromParcel(Parcel source) {
387 return new ClipDescription(source);
390 public ClipDescription[] newArray(int size) {
391 return new ClipDescription[size];
DIClipboard.aidl20 import android.content.ClipDescription;
32 ClipDescription getPrimaryClipDescription(String callingPackage, int userId); in getPrimaryClipDescription()
DClipData.java166 ClipDescription.MIMETYPE_TEXT_PLAIN };
168 ClipDescription.MIMETYPE_TEXT_HTML };
170 ClipDescription.MIMETYPE_TEXT_URILIST };
172 ClipDescription.MIMETYPE_TEXT_INTENT };
179 final ClipDescription mClipDescription;
712 mClipDescription = new ClipDescription(label, mimeTypes); in ClipData()
727 public ClipData(ClipDescription description, Item item) { in ClipData()
746 public ClipData(ClipDescription description, ArrayList<Item> items) { in ClipData()
876 public ClipDescription getDescription() { in getDescription()
1162 mClipDescription = new ClipDescription(in); in ClipData()
DClipDescription.aidl19 parcelable ClipDescription;
DClipboardManager.java150 public @Nullable ClipDescription getPrimaryClipDescription() { in getPrimaryClipDescription()
DContentProvider.java1896 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFile()
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java22 import android.content.ClipDescription;
58 private final ClipDescription mDescription;
74 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description) { in InputContentInfo()
91 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description, in InputContentInfo()
125 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) { in validateInternal()
178 public ClipDescription getDescription() { return mDescription; } in getDescription()
256 mDescription = ClipDescription.CREATOR.createFromParcel(source); in InputContentInfo()
/frameworks/base/core/java/android/view/
DDragEvent.java21 import android.content.ClipDescription;
134 ClipDescription mClipDescription;
277 private void init(int action, float x, float y, ClipDescription description, ClipData data, in init()
295 ClipDescription description, ClipData data, in obtain()
385 public ClipDescription getClipDescription() { in getClipDescription()
543 event.mClipDescription = ClipDescription.CREATOR.createFromParcel(in);
DViewRootImpl.java40 import android.content.ClipDescription;
541 ClipDescription mDragDescription;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java20 import android.content.ClipDescription;
162 ClipData clipdata = new ClipData(new ClipDescription("content", in createShareIntent()
163 new String[]{ClipDescription.MIMETYPE_TEXT_PLAIN}), in createShareIntent()
/frameworks/base/core/java/android/app/
DRemoteInput.java23 import android.content.ClipDescription;
581 ClipDescription clipDescription = clipData.getDescription(); in getClipDataIntentFromIntent()
582 if (!clipDescription.hasMimeType(ClipDescription.MIMETYPE_TEXT_INTENT)) { in getClipDataIntentFromIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java33 import android.content.ClipDescription;
98 ClipDescription mDataDescription;
397 ClipDescription desc) { in sendDragStartedLocked()
628 ClipDescription description, ClipData data, in obtainDragEvent()
/frameworks/base/core/proto/android/content/
Dclipdescription.proto25 // An android.content.ClipDescription object.
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java31 import android.content.ClipDescription;
397 public ClipDescription getPrimaryClipDescription(String callingPackage, in getPrimaryClipDescription()
577 final ClipDescription description = clip.getDescription(); in setPrimaryClipInternal()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java25 import android.content.ClipDescription;
2925 final ClipDescription clipDesc = clip.getDescription(); in handlePasteClip()
2926 boolean containsSupportedType = clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN) in handlePasteClip()
2927 || clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_HTML); in handlePasteClip()
2934 final ClipDescription clipDescription = clip.getDescription(); in handlePasteClip()
2937 final boolean supportedType = ClipDescription.MIMETYPE_TEXT_PLAIN.equals(mimeType) in handlePasteClip()
2938 || ClipDescription.MIMETYPE_TEXT_HTML.equals(mimeType); in handlePasteClip()
3378 return event.getClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN); in onDragEvent()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java43 import android.content.ClipDescription;
1429 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFileImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java43 import android.content.ClipDescription;
405 ClipData clipdata = new ClipData(new ClipDescription("content", in populateNotificationActions()
406 new String[]{ClipDescription.MIMETYPE_TEXT_PLAIN}), in populateNotificationActions()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java48 import android.content.ClipDescription;
479 ClipDescription clipDescription = clipData.getDescription(); in copyTextToClipboard()
/frameworks/base/core/java/android/widget/
DTextView.java45 import android.content.ClipDescription;
12613 final ClipDescription description = clipData.getDescription(); in canPasteAsPlainText()
12614 final boolean isPlainType = description.hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN); in canPasteAsPlainText()
12622 return description.hasMimeType(ClipDescription.MIMETYPE_TEXT_HTML); in canPasteAsPlainText()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt12874 Landroid/content/ClipData;-><init>(Landroid/content/ClipDescription;Ljava/util/ArrayList;)V
12880 Landroid/content/ClipData;->mClipDescription:Landroid/content/ClipDescription;
12905 Landroid/content/ClipDescription;-><init>(Landroid/os/Parcel;)V
12906 Landroid/content/ClipDescription;->addMimeTypes([Ljava/lang/String;)V
12907 Landroid/content/ClipDescription;->EXTRA_TARGET_COMPONENT_NAME:Ljava/lang/String;
12908 Landroid/content/ClipDescription;->EXTRA_USER_SERIAL_NUMBER:Ljava/lang/String;
12909 Landroid/content/ClipDescription;->mExtras:Landroid/os/PersistableBundle;
12910 Landroid/content/ClipDescription;->mLabel:Ljava/lang/CharSequence;
12911 Landroid/content/ClipDescription;->mMimeTypes:Ljava/util/ArrayList;
12912 Landroid/content/ClipDescription;->mTimeStamp:J
[all …]
Dboot-image-profile.txt3346 HSPLandroid/content/ClipData;->getDescription()Landroid/content/ClipDescription;
3352 HSPLandroid/content/ClipDescription$1;-><init>()V
3353 HSPLandroid/content/ClipDescription;->writeToParcel(Landroid/os/Parcel;I)V
/frameworks/base/non-updatable-api/
Dcurrent.txt9271 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
9276 method public android.content.ClipDescription getDescription();
9304 public class ClipDescription implements android.os.Parcelable {
9305 ctor public ClipDescription(CharSequence, String[]);
9306 ctor public ClipDescription(android.content.ClipDescription);
9318 …NonNull public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
9329 method @Nullable public android.content.ClipDescription getPrimaryClipDescription();
50036 method public android.content.ClipDescription getClipDescription();
54504 … ctor public InputContentInfo(@NonNull android.net.Uri, @NonNull android.content.ClipDescription);
54505 …ctor public InputContentInfo(@NonNull android.net.Uri, @NonNull android.content.ClipDescription, @…
[all …]
/frameworks/base/api/
Dcurrent.txt9271 ctor public ClipData(android.content.ClipDescription, android.content.ClipData.Item);
9276 method public android.content.ClipDescription getDescription();
9304 public class ClipDescription implements android.os.Parcelable {
9305 ctor public ClipDescription(CharSequence, String[]);
9306 ctor public ClipDescription(android.content.ClipDescription);
9318 …NonNull public static final android.os.Parcelable.Creator<android.content.ClipDescription> CREATOR;
9329 method @Nullable public android.content.ClipDescription getPrimaryClipDescription();
50180 method public android.content.ClipDescription getClipDescription();
54648 … ctor public InputContentInfo(@NonNull android.net.Uri, @NonNull android.content.ClipDescription);
54649 …ctor public InputContentInfo(@NonNull android.net.Uri, @NonNull android.content.ClipDescription, @…
[all …]
/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/services/
Dart-profile5304 …vice$ClipboardImpl;->getPrimaryClipDescription(Ljava/lang/String;)Landroid/content/ClipDescription;
16197 …te;->sendDragStartedLocked(Lcom/android/server/wm/WindowState;FFLandroid/content/ClipDescription;)V