Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailLoader.java54 public static final BiConsumer<View, View> ANIM_FADE_IN = (mime, thumb) -> {
55 float alpha = mime.getAlpha();
56 mime.animate().alpha(0f).start();
60 public static final BiConsumer<View, View> ANIM_NO_OP = (mime, thumb) -> {};
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java231 String mime = getItemMimetype(item); in singleItemAction() local
235 intent.setDataAndType(uri, mime) in singleItemAction()
241 intent.setDataAndType(uri, mime) in singleItemAction()
260 intent.setDataAndType(uri, mime) in singleItemAction()
263 .putExtra("mimeType", mime); in singleItemAction()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsSampleExtractor.java253 String mime = format.sampleMimeType; in onPrepared() local
254 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in onPrepared()
256 if (MediaFormat.MIMETYPE_VIDEO_MPEG2.equals(mime)) { in onPrepared()
258 } else if (MediaFormat.MIMETYPE_VIDEO_AVC.equals(mime)) { in onPrepared()
261 } else if (MimeTypes.APPLICATION_CEA708.equals(mime)) { in onPrepared()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp125 const char* mime; in initializeMediaDecoder() local
129 if (!AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime)) { in initializeMediaDecoder()
133 if (android::base::StartsWith(mime, "video/")) { in initializeMediaDecoder()
154 mCodec = AMediaCodec_createDecoderByType(mime); in initializeMediaDecoder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java137 String mime = formats.get(i).mimeType; in prepare() local
138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
140 if (android.media.MediaFormat.MIMETYPE_VIDEO_MPEG2.equals(mime)) { in prepare()
142 } else if (android.media.MediaFormat.MIMETYPE_VIDEO_AVC.equals(mime)) { in prepare()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java161 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension( in isFormatSupported() local
163 if (mime != null) { in isFormatSupported()
165 result = mime.startsWith("image/") || mime.startsWith("video/"); in isFormatSupported()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java147 String mime = format.getString(MediaFormat.KEY_MIME); in genVideoUsingMuxer() local
151 if (mime.startsWith("audio/") && useAudio) { in genVideoUsingMuxer()
153 } else if (mime.startsWith("video/") && useVideo) { in genVideoUsingMuxer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackMonitor.java68 public void setEncoding(String mime) { in setEncoding() argument
69 mIsMp2 = MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mime); in setEncoding()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java418 final String mime = in testSort_type_ascending() local
420 final String type = fileTypeLookup.lookup(mime); in testSort_type_ascending()
450 final String mime = in testSort_type_descending() local
452 final String type = fileTypeLookup.lookup(mime); in testSort_type_descending()
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java255 String mime = mMimeTypes.valueAt(i); in getMimeTypesAsProto() local
259 mime); in getMimeTypesAsProto()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java300 MimeTypeMap mime = MimeTypeMap.getSingleton(); in getContentType() local
301 return mime.getExtensionFromMimeType(getContentResolver().getType(uri)); in getContentType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java2010 String mime = null; in getContactMethodType() local
2019 mime = "vnd.android.cursor.item/email"; in getContactMethodType()
2023 mime = "vnd.android.cursor.item/jabber-im"; in getContactMethodType()
2027 mime = "vnd.android.cursor.item/postal-address"; in getContactMethodType()
2035 return mime; in getContactMethodType()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1223 String mime = convertOutputFormatToMimeType(mProfile.fileFormat); in generateVideoValues() local
1229 mCurrentVideoValues.put(Video.Media.MIME_TYPE, mime); in generateVideoValues()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1396 String mime = convertOutputFormatToMimeType(outputFileFormat); in generateVideoFilename() local
1402 mCurrentVideoValues.put(Video.Media.MIME_TYPE, mime); in generateVideoFilename()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz

12