/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | FileSampleExtractor.java | 33 import com.google.android.exoplayer2.util.MimeTypes; 116 Format videoFormat = Iterables.find(formats, f -> MimeTypes.isVideo(f.sampleMimeType)); in handlePrepare() 121 MimeTypes.APPLICATION_CEA708, in handlePrepare() 165 MimeTypes.AUDIO_RAW.equals(mimeType) ? C.ENCODING_PCM_16BIT : Format.NO_VALUE; in createFormat() 166 if (MimeTypes.isAudio(mimeType)) { in createFormat() 180 } else if(MimeTypes.isVideo(mimeType)) { in createFormat() 194 } else if(MimeTypes.isText(mimeType)) { in createFormat()
|
D | MpegTsSampleExtractor.java | 34 import com.google.android.exoplayer2.util.MimeTypes; 254 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in onPrepared() 261 } else if (MimeTypes.APPLICATION_CEA708.equals(mime)) { in onPrepared()
|
/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; 344 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory() 345 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() 369 if (MimeTypes.isAudio(mFormats.get(i).sampleMimeType)) { in release() 373 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in release() 465 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doOpenWrite() 466 || MimeTypes.isAudio(mFormats.get(index).sampleMimeType)); in doOpenWrite() 562 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doWrite() 563 || 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/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/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 37 import com.android.documentsui.base.MimeTypes; 83 private static final String[] DOCUMENTS_MIMETYPES = MimeTypes.getDocumentMimeTypeArray(); 235 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets() 259 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips() 385 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 | 58 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in filterMimes() 61 return MimeTypes.mimeMatches(acceptMimes, mimeType); in filterMimes()
|
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/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 35 import com.android.documentsui.base.MimeTypes; 120 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue() 121 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; 61 {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; 394 if (MimeTypes.isApkType(doc.mimeType)) { in onDocumentOpened() 542 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/exoplayer/ |
D | MpegTsSampleExtractor.java | 31 import com.google.android.exoplayer.util.MimeTypes; 138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
|