/external/webkit/Source/WebCore/platform/network/ |
DataURL.cpp | 52 String mediaType = url.substring(5, index - 5); 55 bool base64 = mediaType.endsWith(";base64", false); 57 mediaType = mediaType.left(mediaType.length() - 7); 59 if (mediaType.isEmpty()) 60 mediaType = "text/plain;charset=US-ASCII"; 62 String mimeType = extractMIMETypeFromMediaType(mediaType); 63 String charset = extractCharsetFromMediaType(mediaType);
|
HTTPParsers.h | 58 void findCharsetInMediaType(const String& mediaType, unsigned int& charsetPos, unsigned int& charsetLen, unsigned int start = 0);
|
HTTPParsers.cpp | 197 String extractMIMETypeFromMediaType(const String& mediaType) 200 unsigned length = mediaType.length(); 203 UChar c = mediaType[i]; 228 return mediaType; 232 String extractCharsetFromMediaType(const String& mediaType) 235 findCharsetInMediaType(mediaType, pos, len); 236 return mediaType.substring(pos, len); 239 void findCharsetInMediaType(const String& mediaType, unsigned int& charsetPos, unsigned int& charsetLen, unsigned int start) 245 unsigned length = mediaType.length(); 248 pos = mediaType.find("charset", pos, false) [all...] |
/frameworks/av/libvideoeditor/vss/mcs/inc/ |
M4MCS_InternalFunctions.h | 81 * M4VIDEOEDITING_FileType MediaType, 85 * @note According to the Mediatype, this function will store in the internal 90 * is M4OSA_NULL (debug only), or invalid MediaType 95 M4WRITER_OutputFileType MediaType, 102 * M4VIDEOEDITING_VideoFormat mediaType, 105 * @note According to the Mediatype, this function will store in the internal 110 * M4OSA_NULL (debug only), or invalid MediaType 115 M4ENCODER_Format MediaType, 121 * M4ENCODER_AudioFormat mediaType, 124 * @note According to the Mediatype, this function will store in the interna [all...] |
/external/webkit/Source/WebCore/css/ |
MediaQuery.h | 47 MediaQuery(Restrictor, const String& mediaType, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > exprs); 52 String mediaType() const { return m_mediaType; }
|
MediaQueryMatcher.cpp | 69 String MediaQueryMatcher::mediaType() const 74 return m_document->frame()->view()->mediaType(); 92 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(), rootStyle.get()));
|
StyleMedia.cpp | 46 return view->mediaType();
|
MediaQuery.cpp | 78 MediaQuery::MediaQuery(Restrictor r, const String& mediaType, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > exprs) 80 , m_mediaType(mediaType.lower())
|
MediaQueryMatcher.h | 74 String mediaType() const;
|
/frameworks/av/libvideoeditor/vss/inc/ |
M4VSS3GPP_InternalFunctions.h | 246 * @note According to the Mediatype, this function will store in the internal context 251 * M4OSA_NULL (debug only), or invalid MediaType 255 M4WRITER_OutputFileType MediaType, 263 * @note According to the Mediatype, this function will store in the internal context 268 * or invalid MediaType 272 M4ENCODER_Format MediaType, 279 * @note According to the Mediatype, this function will store in the internal context 282 * @param mediaType: (IN) The media type. 289 M4ENCODER_AudioFormat MediaType, 302 M4READER_MediaType mediaType, [all...] |
/frameworks/base/media/java/android/drm/mobile1/ |
DrmRawContent.java | 116 private String mediaType; 163 mediaType = nativeGetContentType(); 164 if (null == mediaType) 211 return mediaType;
|
/frameworks/av/libvideoeditor/vss/src/ |
M4VSS3GPP_Codecs.c | 124 * @note According to the Mediatype, this function will store in the internal 129 * (debug only), or invalid MediaType 133 M4WRITER_OutputFileType MediaType, 151 if( ( MediaType == M4WRITER_kUnknown) || (MediaType >= M4WRITER_kType_NB) ) 157 if( pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL ) 167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface; 168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface; 177 * @note According to the Mediatype, this function will store in the internal 182 * or invalid MediaType [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebContextMenuData.h | 48 enum MediaType { 63 MediaType mediaType; 158 : mediaType(MediaTypeNone)
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_Codecs.c | 124 * @note According to the Mediatype, this function will store in the internal context 130 * (debug only), or invalid MediaType 133 M4OSA_ERR M4MCS_registerWriter(M4MCS_Context pContext, M4WRITER_OutputFileType MediaType, 152 if((MediaType == M4WRITER_kUnknown) || (MediaType >= M4WRITER_kType_NB)) 158 if (pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL) 167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface; 168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface; 177 * @note According to the Mediatype, this function will store in the internal context 182 * or invalid MediaType [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
FilterSource.java | 44 mMatcher.add("/filter/mediatype/*/*", FILTER_BY_MEDIATYPE); 58 // /filter/mediatype/k/{set} where k is the media type we want. 66 int mediaType = mMatcher.getIntVar(0); 69 return new FilterTypeSet(path, dataManager, sets[0], mediaType);
|
FilterTypeSet.java | 33 int mediaType) { 37 mMediaType = mediaType; 84 String basePath = "/filter/mediatype/" + mMediaType;
|
LocalSource.java | 132 int mediaType = getMediaType( 143 switch (mediaType) {
|
/external/chromium/webkit/glue/ |
context_menu.cc | 24 : media_type(data.mediaType),
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
FilterUtils.java | 177 int mediaType; 180 mediaType = MediaObject.MEDIA_TYPE_IMAGE; 183 mediaType = MediaObject.MEDIA_TYPE_VIDEO; 189 return "/filter/mediatype/" + mediaType + "/{" + base + "}";
|
Gallery.java | 180 int mediaType = intent.getIntExtra(KEY_MEDIA_TYPES, 0); 181 if (mediaType != 0) { 183 KEY_MEDIA_TYPES, String.valueOf(mediaType))
|
/external/webkit/Source/WebKit/chromium/src/ |
ContextMenuClientImpl.cpp | 182 data.mediaType = WebContextMenuData::MediaTypeImage; 191 data.mediaType = WebContextMenuData::MediaTypeVideo; 193 data.mediaType = WebContextMenuData::MediaTypeAudio; 217 data.mediaType = WebContextMenuData::MediaTypePlugin; 237 (data.mediaType == WebContextMenuData::MediaTypeImage) && !r.image();
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 176 String mediaType = mCursor.getString(mMediaTypeColumnId); 180 if (mediaType == null) { 185 intent.setDataAndType(Uri.fromParts("file", "", null), mediaType); 190 // no icon found for this mediatype. use "unknown" icon
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
svc_drm.h | 211 * \param mediaType The buffer to save the media type string, 64 bytes is enough. 218 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTMovie.cpp | 643 OSType mediaType; 644 GetMediaHandlerDescription(trackMedia, &mediaType, nil, nil); 649 if (!allowedTrackTypes->contains(mediaType)) { 685 OSType mediaType; 686 GetMediaHandlerDescription(chapterMedia, &mediaType, nil, nil); 693 if (mediaType != VideoMediaType)
|
/external/webkit/Source/WebCore/platform/graphics/ |
MediaPlayer.cpp | 340 String mediaType = MIMETypeRegistry::getMediaMIMETypeForExtension(extension); 341 if (!mediaType.isEmpty()) 342 type = mediaType;
|