Searched refs:IconUtils (Results 1 – 12 of 12) 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/base/ |
D | RootInfo.java | 40 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/ |
D | IconHelper.java | 37 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()
|
D | GridDirectoryHolder.java | 31 import com.android.documentsui.IconUtils; 52 IconUtils.loadMimeIcon(context, DocumentsContract.Document.MIME_TYPE_DIR)); in GridDirectoryHolder()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | AppItem.java | 28 import com.android.documentsui.IconUtils; 66 IconUtils.applyTintColor(actionIcon.getContext(), R.drawable.ic_exit_to_app, in bindActionIcon()
|
D | RootItem.java | 33 import com.android.documentsui.IconUtils; 102 actionIcon.setImageDrawable(IconUtils.applyTintColor(view.getContext(), iconId, in bindAction()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | HeaderView.java | 30 import com.android.documentsui.IconUtils; 105 Drawable mimeIcon = IconUtils.loadMimeIcon(mContext, info.mimeType); in showImage()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | SaveFragment.java | 38 import com.android.documentsui.IconUtils; 89 IconUtils.loadMimeIcon(context, getArguments().getString(EXTRA_MIME_TYPE))); in onCreateView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 31 import com.android.documentsui.IconUtils; 324 IconUtils.loadMimeIcon(mChipGroup.getContext(), chipData.getMimeTypes()[0])); in bindChip()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | IconUtils.java | 27 public class IconUtils { class
|
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()
|