/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleChunkIoHelper.java | 31 import com.google.android.exoplayer.util.MimeTypes; 197 if (MimeTypes.isAudio(mMediaFormats.get(i).mimeType)) { in init() 199 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in init() 305 if (MimeTypes.isAudio(mMediaFormats.get(i).mimeType)) { in release() 307 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in release() 389 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doOpenWrite() 390 || MimeTypes.isAudio(mMediaFormats.get(index).mimeType)); in doOpenWrite() 491 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doWrite() 492 || MimeTypes.isAudio( in doWrite()
|
/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 | 33 import com.android.documentsui.base.MimeTypes; 77 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
|
D | PickActivity.java | 53 import com.android.documentsui.base.MimeTypes; 315 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory() 316 MimeTypes.VISUAL_MIMES, mState.acceptMimes); in refreshDirectory()
|
/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() 471 if (MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mDecodingMime)) { in feedInputBuffer() 528 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 | 24 import com.android.documentsui.base.MimeTypes; 125 MimeTypes.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots() 126 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; 89 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_HasCorrectValue() 90 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_HasCorrectValue()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 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()
|
D | MimeTypes.java | 23 public final class MimeTypes { class 25 private MimeTypes() {} in MimeTypes() method in MimeTypes
|
D | FilteringCursorWrapper.java | 58 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper() 64 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
|
D | State.java | 139 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 44 import com.android.documentsui.base.MimeTypes; 164 || 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 | 46 import com.android.documentsui.base.MimeTypes; 60 {Document.MIME_TYPE_DIR, MimeTypes.IMAGE_MIME};
|
D | DragAndDropManager.java | 34 import com.android.documentsui.base.MimeTypes; 190 IconUtils.loadMimeIcon(context, MimeTypes.GENERIC_TYPE)); in RuntimeDragAndDropManager()
|
D | IconUtils.java | 25 import com.android.documentsui.base.MimeTypes;
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | VideoRendererExoV2.java | 27 import com.google.android.exoplayer2.util.MimeTypes; 114 MimeTypes.VIDEO_MPEG2.equals(format.sampleMimeType) in onInputFormatChanged()
|
/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/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 34 import com.android.documentsui.base.MimeTypes; 188 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets() 212 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 61 import com.android.documentsui.base.MimeTypes; 380 intent.setType(MimeTypes.findCommonMimeType(mimeTypes)); in shareSelectedDocuments() 568 if (MimeTypes.isApkType(doc.mimeType)) { in onDocumentPicked() 715 return MimeTypes.isApkType(doc.mimeType) in isManagedDownload()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsSampleExtractor.java | 29 import com.google.android.exoplayer.util.MimeTypes; 123 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
|