HomeSort by relevance Sort by last modified time
    Searched refs:mediaType (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/okhttp/src/test/java/com/squareup/okhttp/
MediaTypeTest.java 31 * Test MediaType API and parsing.
38 MediaType mediaType = MediaType.parse("text/plain;boundary=foo;charset=utf-8");
39 assertEquals("text", mediaType.type());
40 assertEquals("plain", mediaType.subtype());
41 assertEquals("UTF-8", mediaType.charset().name());
42 assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString());
43 assertTrue(mediaType.equals(MediaType.parse("text/plain;boundary=foo;charset=utf-8")))
    [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/chromium_org/third_party/WebKit/Source/core/fileapi/
Stream.h 47 static PassRefPtr<Stream> create(ExecutionContext* context, const String& mediaType)
49 RefPtr<Stream> stream = adoptRef(new Stream(context, mediaType));
84 Stream(ExecutionContext*, const String& mediaType);
Stream.cpp 40 Stream::Stream(ExecutionContext* context, const String& mediaType)
42 , m_mediaType(mediaType)
  /external/chromium_org/third_party/WebKit/Source/core/css/
MediaQuery.h 49 MediaQuery(Restrictor, const AtomicString& mediaType, PassOwnPtr<ExpressionVector> exprs);
54 const AtomicString& mediaType() const { return m_mediaType; }
MediaQueryMatcher.cpp 69 AtomicString MediaQueryMatcher::mediaType() const
74 return m_document->frame()->view()->mediaType();
89 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(), rootStyle.get()));
MediaQueryMatcher.h 74 AtomicString mediaType() const;
StyleMedia.cpp 47 return view->mediaType();
MediaQuery.cpp 76 MediaQuery::MediaQuery(Restrictor r, const AtomicString& mediaType, PassOwnPtr<ExpressionVector> expressions)
78 , m_mediaType(mediaType.lower())
  /external/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 27 public final class MediaType {
34 private final String mediaType;
39 private MediaType(String mediaType, String type, String subtype, String charset) {
40 this.mediaType = mediaType;
50 public static MediaType parse(String string) {
70 return new MediaType(string, type, subtype, charset);
110 return mediaType;
114 return o instanceof MediaType && ((MediaType) o).mediaType.equals(mediaType)
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/
ContextMenuParams.java 20 /** Must correspond to the MediaType enum in WebKit/chromium/public/WebContextMenuData.h */
22 private static interface MediaType {
151 private ContextMenuParams(int mediaType, String linkUrl, String linkText,
161 mIsImage = mediaType == MediaType.MEDIA_TYPE_IMAGE;
162 mIsVideo = mediaType == MediaType.MEDIA_TYPE_VIDEO;
166 private static ContextMenuParams create(int mediaType, String linkUrl, String linkText,
168 return new ContextMenuParams(mediaType, linkUrl, linkText, unfilteredLinkUrl, srcUrl,
  /external/chromium_org/third_party/WebKit/Source/platform/network/
HTTPParsers.cpp 269 AtomicString extractMIMETypeFromMediaType(const AtomicString& mediaType)
272 unsigned length = mediaType.length();
275 UChar c = mediaType[i];
300 return mediaType;
304 String extractCharsetFromMediaType(const String& mediaType)
307 findCharsetInMediaType(mediaType, pos, len);
308 return mediaType.substring(pos, len);
311 void findCharsetInMediaType(const String& mediaType, unsigned& charsetPos, unsigned& charsetLen, unsigned start)
317 unsigned length = mediaType.length();
320 pos = mediaType.find("charset", pos, false)
    [all...]
HTTPParsers.h 81 PLATFORM_EXPORT void findCharsetInMediaType(const String& mediaType, unsigned& charsetPos, unsigned& charsetLen, unsigned start = 0);
  /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/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/chromium_org/third_party/WebKit/public/web/
WebContextMenuData.h 49 enum MediaType {
64 MediaType mediaType;
172 : 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;
  /external/chromium_org/third_party/WebKit/Source/modules/mediastream/
UserMediaRequest.cpp 48 static PassRefPtr<MediaConstraintsImpl> parseOptions(const Dictionary& options, const String& mediaType, ExceptionState& exceptionState)
53 bool ok = options.get(mediaType, constraintsDictionary);
58 options.get(mediaType, mediaRequested);
  /external/chromium_org/media/video/capture/mac/
avfoundation_glue.h 63 - (BOOL)hasMediaType:(NSString*)mediaType;
135 - (CrAVCaptureConnection*)connectionWithMediaType:(NSString*)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 + "}";
  /external/chromium_org/content/test/data/media/
encrypted_media_utils.js 7 var mediaType = QueryString.mediatype || 'video/webm; codecs="vorbis, vp8"';
101 if (mediaType.indexOf('mp4') != -1)
128 var mediaSource = loadMediaSource(mediaFile, mediaType,
  /external/chromium_org/third_party/WebKit/Source/core/testing/
InternalSettings.h 95 void setMediaTypeOverride(const String& mediaType, ExceptionState&);

Completed in 961 milliseconds

1 2 3