Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragUtils.java61 return description.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY) in isAppDrag()
62 || description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT) in isAppDrag()
63 || description.hasMimeType(MIMETYPE_APPLICATION_TASK); in isAppDrag()
DDragAndDropEventLogger.java99 if (description.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY)) { in getStartEnum()
101 } else if (description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT)) { in getStartEnum()
103 } else if (description.hasMimeType(MIMETYPE_APPLICATION_TASK)) { in getStartEnum()
DDragAndDropPolicy.java262 final boolean isTask = description.hasMimeType(MIMETYPE_APPLICATION_TASK); in launchApp()
263 final boolean isShortcut = description.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT); in launchApp()
/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java81 public boolean hasMimeType(String mimeType) { in hasMimeType() method in MimeTypeMap
82 return MimeMap.getDefault().hasMimeType(mimeType); in hasMimeType()
/frameworks/base/core/java/android/content/
DClipDescription.java285 public boolean hasMimeType(String mimeType) { in hasMimeType() method in ClipDescription
304 public boolean hasMimeType(@NonNull String[] targetMimeTypes) { in hasMimeType() method in ClipDescription
306 if (hasMimeType(targetMimeType)) { in hasMimeType()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java557 return desc.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY) in containsApplicationExtras()
558 || desc.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT) in containsApplicationExtras()
559 || desc.hasMimeType(MIMETYPE_APPLICATION_TASK); in containsApplicationExtras()
DSession.java425 final boolean hasActivity = desc.hasMimeType(MIMETYPE_APPLICATION_ACTIVITY); in validateAndResolveDragMimeTypeExtras()
426 final boolean hasShortcut = desc.hasMimeType(MIMETYPE_APPLICATION_SHORTCUT); in validateAndResolveDragMimeTypeExtras()
427 final boolean hasTask = desc.hasMimeType(MIMETYPE_APPLICATION_TASK); in validateAndResolveDragMimeTypeExtras()
/frameworks/base/core/java/android/widget/
DTextViewOnReceiveContentListener.java328 if (description.hasMimeType(imeSupportedMimeType)) { in isClipMimeTypeSupported()
/frameworks/base/core/java/android/app/
DRemoteInput.java582 if (!clipDescription.hasMimeType(ClipDescription.MIMETYPE_TEXT_INTENT)) { in getClipDataIntentFromIntent()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2926 boolean containsSupportedType = clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN) in handlePasteClip()
2927 || clipDesc.hasMimeType(ClipDescription.MIMETYPE_TEXT_HTML); in handlePasteClip()
3378 return event.getClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN); in onDragEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6814 method public boolean hasMimeType(java.lang.String);
36080 method public boolean hasMimeType(java.lang.String);
/frameworks/base/core/api/
Dcurrent.txt10114 method public boolean hasMimeType(String);
57733 method public boolean hasMimeType(String);