Home
last modified time | relevance | path

Searched refs:hasMimeType (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragUtils.java42 return description.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY) in isAppDrag()
43 || description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT) in isAppDrag()
44 || description.hasMimeType(MIMETYPE_APPLICATION_TASK); in isAppDrag()
H A DDragAndDropEventLogger.java95 if (description.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY)) { in getStartEnum()
97 } else if (description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT)) { in getStartEnum()
99 } else if (description.hasMimeType(MIMETYPE_APPLICATION_TASK)) { in getStartEnum()
H A DDragAndDropPolicy.java247 final boolean isTask = description.hasMimeType(MIMETYPE_APPLICATION_TASK); in startClipDescription()
248 final boolean isShortcut = description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT); in startClipDescription()
/aosp14/frameworks/base/core/java/android/webkit/
H A DMimeTypeMap.java81 public boolean hasMimeType(String mimeType) { in hasMimeType() method in MimeTypeMap
82 return MimeMap.getDefault().hasMimeType(mimeType); in hasMimeType()
/aosp14/frameworks/base/core/java/android/content/
H A DClipDescription.java284 public boolean hasMimeType(String mimeType) { in hasMimeType() method in ClipDescription
303 public boolean hasMimeType(@NonNull String[] targetMimeTypes) { in hasMimeType() method in ClipDescription
305 if (hasMimeType(targetMimeType)) { in hasMimeType()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java504 return desc.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY) in containsApplicationExtras()
505 || desc.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT) in containsApplicationExtras()
506 || desc.hasMimeType(MIMETYPE_APPLICATION_TASK); in containsApplicationExtras()
H A DSession.java371 final boolean hasActivity = desc.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY); in validateAndResolveDragMimeTypeExtras()
372 final boolean hasShortcut = desc.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT); in validateAndResolveDragMimeTypeExtras()
373 final boolean hasTask = desc.hasMimeType(MIMETYPE_APPLICATION_TASK); in validateAndResolveDragMimeTypeExtras()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextViewOnReceiveContentListener.java328 if (description.hasMimeType(imeSupportedMimeType)) { in isClipMimeTypeSupported()
H A DTextView.java15047 final boolean isPlainType = description.hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN); in canPasteAsPlainText()
15049 || description.hasMimeType(ClipDescription.MIMETYPE_TEXT_HTML); in canPasteAsPlainText()
/aosp14/frameworks/base/core/java/android/app/
H A DRemoteInput.java582 if (!clipDescription.hasMimeType(ClipDescription.MIMETYPE_TEXT_INTENT)) { in getClipDataIntentFromIntent()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt9779 method public boolean hasMimeType(String);
57106 method public boolean hasMimeType(String);