/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | Config.java | 28 import com.android.documentsui.base.MimeTypes; 42 if (MimeTypes.isDirectoryType(docMimeType)) { in canSelectType() 59 if (MimeTypes.isDirectoryType(mimeType)) { in isDocumentEnabled() 79 return MimeTypes.mimeMatches(state.acceptMimes, mimeType); in isDocumentEnabled()
|
D | MenuManager.java | 35 import com.android.documentsui.base.MimeTypes; 86 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
|
D | PickActivity.java | 56 import com.android.documentsui.base.MimeTypes; 343 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory() 344 MimeTypes.VISUAL_MIMES, mState.acceptMimes); in refreshDirectory()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleChunkIoHelper.java | 33 import com.google.android.exoplayer.util.MimeTypes; 220 if (MimeTypes.isAudio(mMediaFormats.get(i).mimeType)) { in init() 222 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in init() 337 if (MimeTypes.isAudio(mMediaFormats.get(i).mimeType)) { in release() 339 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in release() 420 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doOpenWrite() 421 || MimeTypes.isAudio(mMediaFormats.get(index).mimeType)); in doOpenWrite() 517 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doWrite() 518 || MimeTypes.isAudio( in doWrite()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | SampleChunkIoHelper.java | 34 import com.google.android.exoplayer2.util.MimeTypes; 210 if (MimeTypes.isAudio(mFormats.get(i).sampleMimeType)) { in init() 214 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in init() 366 if (MimeTypes.isAudio(mFormats.get(i).sampleMimeType)) { in release() 370 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in release() 462 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doOpenWrite() 463 || MimeTypes.isAudio(mFormats.get(index).sampleMimeType)); in doOpenWrite() 559 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doWrite() 560 || MimeTypes.isAudio( in doWrite()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | MpegTsDefaultAudioTrackRenderer.java | 36 import com.google.android.exoplayer.util.MimeTypes; 159 return mimeType.equals(MimeTypes.AUDIO_AC3) in handlesMimeType() 160 || mimeType.equals(MimeTypes.AUDIO_E_AC3) in handlesMimeType() 161 || mimeType.equals(MimeTypes.AUDIO_MPEG_L2) in handlesMimeType() 173 if (MimeTypes.isAudio(mimeType) && handlesMimeType(mimeType)) { in doPrepare() 473 if (MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mDecodingMime)) { in feedInputBuffer() 530 if (MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mDecodingMime)) { in processOutput()
|
D | AudioTrackMonitor.java | 22 import com.google.android.exoplayer.util.MimeTypes; 69 mIsMp2 = MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mime); in setEncoding()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 36 import com.android.documentsui.base.MimeTypes; 81 private static final String[] DOCUMENTS_MIMETYPES = MimeTypes.getDocumentMimeTypeArray(); 231 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets() 255 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips() 381 chipIcon = IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in bindChip()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 276 derivedMimeTypes = MimeTypes.getDocumentMimeTypeArray(); in deriveFields() 426 return IconUtils.loadMimeIcon(context, MimeTypes.IMAGE_MIME); in loadMimeTypeIcon() 428 return IconUtils.loadMimeIcon(context, MimeTypes.AUDIO_MIME); in loadMimeTypeIcon() 430 return IconUtils.loadMimeIcon(context, MimeTypes.VIDEO_MIME); in loadMimeTypeIcon() 432 return IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in loadMimeTypeIcon()
|
D | FilteringCursorWrapper.java | 59 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper() 65 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
|
D | MimeTypes.java | 26 public final class MimeTypes { class 28 private MimeTypes() { in MimeTypes() method in MimeTypes
|
D | State.java | 152 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 26 import com.android.documentsui.base.MimeTypes; 124 MimeTypes.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots() 125 MimeTypes.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 35 import com.android.documentsui.base.MimeTypes; 105 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue() 106 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 45 import com.android.documentsui.base.MimeTypes; 179 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()
|
D | SelectionMetadata.java | 30 import com.android.documentsui.base.MimeTypes; 78 if (MimeTypes.isDirectoryType(mimeType)) { in onItemStateChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DropBadgeView.java | 20 import com.android.documentsui.base.MimeTypes; 49 Drawable defaultIcon = IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE); in DropBadgeView()
|
D | DirectoryLoader.java | 45 import com.android.documentsui.base.MimeTypes; 62 {Document.MIME_TYPE_DIR, MimeTypes.IMAGE_MIME};
|
D | DragAndDropManager.java | 35 import com.android.documentsui.base.MimeTypes; 198 IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE)); in RuntimeDragAndDropManager()
|
D | AbstractActionHandler.java | 54 import com.android.documentsui.base.MimeTypes; 392 if (MimeTypes.isApkType(doc.mimeType)) { in onDocumentOpened() 540 return MimeTypes.isApkType(doc.mimeType) || doc.isPartial(); in isManagedDownload()
|
/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 19 import com.google.android.exoplayer.util.MimeTypes; 57 MimeTypes.AUDIO_RAW.equals(mimeType) ? C.ENCODING_PCM_16BIT : MediaFormat.NO_VALUE; in createMediaFormat()
|
D | MediaSoftwareCodecUtil.java | 24 import com.google.android.exoplayer.util.MimeTypes; 238 return MimeTypes.VIDEO_H264.equals(mimeType); in isSecurePlaybackSupported()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsSampleExtractor.java | 31 import com.google.android.exoplayer.util.MimeTypes; 138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsSampleExtractor.java | 31 import com.google.android.exoplayer.util.MimeTypes; 138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 59 import com.android.documentsui.base.MimeTypes; 384 intent.setType(MimeTypes.findCommonMimeType(mimeTypes)); in shareSelectedDocuments()
|