/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/media/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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
FilterSource.java | 32 mMatcher.add("/filter/mediatype/*/*", FILTER_BY_MEDIATYPE); 36 // /filter/mediatype/k/{set} 41 int mediaType = mMatcher.getIntVar(0); 47 return new FilterSet(path, dataManager, sets[0], mediaType);
|
FilterSet.java | 35 int mediaType) { 39 mMediaType = mediaType; 86 String basePath = "/filter/mediatype/" + mMediaType;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionDrawer.java | 37 int dataSourceType, int mediaType, boolean isPanorama, 42 int rotation, Path path, int mediaType, boolean isPanorama) { 44 DATASOURCE_TYPE_NOT_CATEGORIZED, mediaType, isPanorama,
|
HighlightDrawer.java | 39 int dataSourceType, int mediaType, boolean isPanorama, 54 drawMediaTypeOverlay(canvas, mediaType, isPanorama, x, y, width, height);
|
GridDrawer.java | 50 int dataSourceType, int mediaType, boolean isPanorama, 66 drawMediaTypeOverlay(canvas, mediaType, isPanorama, x, y, width, height);
|
ManageCacheDrawer.java | 60 int dataSourceType, int mediaType, boolean isPanorama, 76 drawMediaTypeOverlay(canvas, mediaType, isPanorama, x, y, width, height);
|
StripDrawer.java | 52 int dataSourceType, int mediaType, boolean isPanorama,
|
/frameworks/media/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;
|
/external/webkit/Source/WebKit/android/benchmark/ |
Intercept.cpp | 68 String mediaType = data.substring(0, index); 71 bool decode = mediaType.endsWith(";base64", false); 73 mediaType = mediaType.left(mediaType.length() - 7); // 7 for base64; 75 if (mediaType.isEmpty()) 76 mediaType = "text/plain;charset=US-ASCII"; 78 String mimeType = extractMIMETypeFromMediaType(mediaType); 79 String charset = extractCharsetFromMediaType(mediaType);
|
/frameworks/media/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/media/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...] |
/external/chromium/webkit/glue/ |
context_menu.cc | 24 : media_type(data.mediaType),
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
FilterUtils.java | 176 int mediaType; 179 mediaType = MediaObject.MEDIA_TYPE_IMAGE; 182 mediaType = MediaObject.MEDIA_TYPE_VIDEO; 188 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; 272 if (segments[0].equals("filter") && segments[1].equals("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();
|