Home
last modified time | relevance | path

Searched refs:IconUtils (Results 1 – 12 of 12) 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/base/
DRootInfo.java40 import com.android.documentsui.IconUtils;
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()
384 return IconUtils.loadPackageIcon(context, authority, icon); in loadIcon()
390 return IconUtils.applyTintColor(context, loadMimeTypeIcon(context), in loadDrawerIcon()
393 return IconUtils.applyTintColor(context, derivedIcon, R.color.item_root_icon); in loadDrawerIcon()
395 return IconUtils.loadPackageIcon(context, authority, icon); in loadDrawerIcon()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java37 import com.android.documentsui.IconUtils;
234 return IconUtils.loadPackageIcon(context, authority, icon); in getDocumentIcon()
236 return IconUtils.loadMimeIcon(context, mimeType, authority, id, mMode); in getDocumentIcon()
DGridDirectoryHolder.java31 import com.android.documentsui.IconUtils;
52 IconUtils.loadMimeIcon(context, DocumentsContract.Document.MIME_TYPE_DIR)); in GridDirectoryHolder()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DAppItem.java28 import com.android.documentsui.IconUtils;
66 IconUtils.applyTintColor(actionIcon.getContext(), R.drawable.ic_exit_to_app, in bindActionIcon()
DRootItem.java33 import com.android.documentsui.IconUtils;
102 actionIcon.setImageDrawable(IconUtils.applyTintColor(view.getContext(), iconId, in bindAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderView.java30 import com.android.documentsui.IconUtils;
105 Drawable mimeIcon = IconUtils.loadMimeIcon(mContext, info.mimeType); in showImage()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DSaveFragment.java38 import com.android.documentsui.IconUtils;
89 IconUtils.loadMimeIcon(context, getArguments().getString(EXTRA_MIME_TYPE))); in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java31 import com.android.documentsui.IconUtils;
324 IconUtils.loadMimeIcon(mChipGroup.getContext(), chipData.getMimeTypes()[0])); in bindChip()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java27 public class IconUtils { class
DDropBadgeView.java49 Drawable defaultIcon = IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in DropBadgeView()
DDragAndDropManager.java190 IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE)); in RuntimeDragAndDropManager()