Searched refs:loadMimeIcon (Results 1 – 13 of 13) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | IconUtilsTest.java | 31 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/ |
D | IconUtils.java | 43 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
|
D | DropBadgeView.java | 49 Drawable defaultIcon = IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in DropBadgeView()
|
D | DragAndDropManager.java | 190 IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE)); in RuntimeDragAndDropManager()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 363 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/ |
D | IconProvider.java | 42 public Drawable loadMimeIcon(String mimeType) { in loadMimeIcon() method in IconProvider
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreference.java | 43 setIcon(iconProvider.loadMimeIcon(IconProvider.getMimeType(mFile))); in DownloadsFilePreference()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | GridDirectoryHolder.java | 52 IconUtils.loadMimeIcon(context, DocumentsContract.Document.MIME_TYPE_DIR)); in GridDirectoryHolder()
|
D | IconHelper.java | 236 return IconUtils.loadMimeIcon(context, mimeType, authority, id, mMode); in getDocumentIcon()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreferenceTest.java | 67 when(mIconProvider.loadMimeIcon(any())).thenReturn(null); in testSizeSummary()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | HeaderView.java | 105 Drawable mimeIcon = IconUtils.loadMimeIcon(mContext, info.mimeType); in showImage()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | SaveFragment.java | 89 IconUtils.loadMimeIcon(context, getArguments().getString(EXTRA_MIME_TYPE))); in onCreateView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 324 IconUtils.loadMimeIcon(mChipGroup.getContext(), chipData.getMimeTypes()[0])); in bindChip()
|