Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java31 assertThat(IconUtils.loadMimeIcon(mTargetContext, AUDIO_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isAudioMimeType()
36 assertThat(IconUtils.loadMimeIcon(mTargetContext, IMAGE_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isImageMimeType()
41 assertThat(IconUtils.loadMimeIcon(mTargetContext, GENERIC_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isGenericMimeType()
46 assertThat(IconUtils.loadMimeIcon(mTargetContext, VIDEO_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isVideoMimeType()
51 assertThat(IconUtils.loadMimeIcon(mTargetContext, TEXT_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isTextMimeType()
56 assertThat(IconUtils.loadMimeIcon(mTargetContext, null)).isNull(); in testLoadMimeIcon_isMimeTypeNull_shouldReturnNull()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java43 public static Drawable loadMimeIcon( in loadMimeIcon() method in IconUtils
45 return loadMimeIcon(context, mimeType); in loadMimeIcon()
54 public static Drawable loadMimeIcon(Context context, String mimeType) { in loadMimeIcon() method in IconUtils
DDropBadgeView.java49 Drawable defaultIcon = IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in DropBadgeView()
DDragAndDropManager.java190 IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE)); in RuntimeDragAndDropManager()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java363 return IconUtils.loadMimeIcon(context, DocumentsContract.Document.MIME_TYPE_DIR); in loadMimeTypeIcon()
368 return IconUtils.loadMimeIcon(context, MimeTypes.IMAGE_MIME); in loadMimeTypeIcon()
370 return IconUtils.loadMimeIcon(context, MimeTypes.AUDIO_MIME); in loadMimeTypeIcon()
372 return IconUtils.loadMimeIcon(context, MimeTypes.VIDEO_MIME); in loadMimeTypeIcon()
374 return IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in loadMimeTypeIcon()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java42 public Drawable loadMimeIcon(String mimeType) { in loadMimeIcon() method in IconProvider
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreference.java43 setIcon(iconProvider.loadMimeIcon(IconProvider.getMimeType(mFile))); in DownloadsFilePreference()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDirectoryHolder.java52 IconUtils.loadMimeIcon(context, DocumentsContract.Document.MIME_TYPE_DIR)); in GridDirectoryHolder()
DIconHelper.java236 return IconUtils.loadMimeIcon(context, mimeType, authority, id, mMode); in getDocumentIcon()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java67 when(mIconProvider.loadMimeIcon(any())).thenReturn(null); in testSizeSummary()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderView.java105 Drawable mimeIcon = IconUtils.loadMimeIcon(mContext, info.mimeType); in showImage()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DSaveFragment.java89 IconUtils.loadMimeIcon(context, getArguments().getString(EXTRA_MIME_TYPE))); in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java324 IconUtils.loadMimeIcon(mChipGroup.getContext(), chipData.getMimeTypes()[0])); in bindChip()