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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/platform/chromium/
MIMETypeRegistryChromium.cpp 67 String mimeType = type.substring(0, static_cast<unsigned>(type.find(';')));
82 String mimeType = getMIMETypeForExtension(extension);
83 if (mimeType.isEmpty()) {
84 // If there's no mimetype registered for the extension, check to see
86 mimeType = getPluginMimeTypeFromExtension(extension);
88 if (mimeType.isEmpty())
90 return mimeType;
93 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
95 return PlatformBridge::isSupportedImageMIMEType(mimeType);
98 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
    [all...]
  /external/webkit/Source/WebKit/chromium/public/
WebMimeRegistry.h 44 virtual SupportsType supportsMIMEType(const WebString& mimeType) = 0;
45 virtual SupportsType supportsImageMIMEType(const WebString& mimeType) = 0;
46 virtual SupportsType supportsJavaScriptMIMEType(const WebString& mimeType) = 0;
47 virtual SupportsType supportsMediaMIMEType(const WebString& mimeType,
49 virtual SupportsType supportsNonImageMIMEType(const WebString& mimeType) = 0;
53 virtual WebString preferredExtensionForMIMEType(const WebString& mimeType) = 0;
WebPluginParams.h 42 WebString mimeType;
  /external/webkit/Tools/DumpRenderTree/qt/
testplugin.cpp 45 MimeType mimeType;
46 mimeType.name = "testtype";
47 mimeType.fileExtensions.append("testsuffixes");
48 plugin.mimeTypes.append(mimeType);
52 mimeType.name = "testtype2";
53 mimeType.fileExtensions.append("testsuffixes2");
54 mimeType.fileExtensions.append("testsuffixes3");
55 plugin.mimeTypes.append(mimeType);
  /frameworks/base/media/java/android/media/
IMediaScannerService.aidl 29 * @param mimeType an optional mimeType for the file.
30 * If mimeType is null, then the mimeType will be inferred from the file extension.
34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener);
40 * @param mimeType an optional mimeType for the file.
41 * If mimeType is null, then the mimeType will be inferred from the file extension.
43 void scanFile(String path, String mimeType);
    [all...]
MediaScannerClient.java 35 public void setMimeType(String mimeType);
  /external/webkit/Source/WebCore/platform/qt/
MIMETypeRegistryQt.cpp 39 const char* mimeType;
83 return e->mimeType;
90 bool MIMETypeRegistry::isApplicationPluginMIMEType(const String& mimeType)
92 return mimeType.startsWith("application/x-qt-plugin", false)
93 || mimeType.startsWith("application/x-qt-styled-widget", false);
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 76 * @param mimeType A MIME type (i.e. text/plain)
77 * @return True iff there is a mimeType entry in the map.
79 public boolean hasMimeType(String mimeType) {
80 return MimeUtils.hasMimeType(mimeType);
110 * @param mimeType A MIME type (i.e. text/plain)
113 public String getExtensionFromMimeType(String mimeType) {
114 return MimeUtils.guessExtensionFromMimeType(mimeType);
122 * @param mimeType MIME type provided by the server.
127 /* package */ String remapGenericMimeType(String mimeType, String url,
131 if ("text/plain".equals(mimeType) ||
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmRights.java 45 * @param mimeType MIME type.
47 public DrmRights(String rightsFilePath, String mimeType) {
49 instantiate(file, mimeType);
56 * @param mimeType MIME type.
59 public DrmRights(String rightsFilePath, String mimeType, String accountId) {
60 this(rightsFilePath, mimeType);
71 * @param mimeType MIME type.
76 String rightsFilePath, String mimeType, String accountId, String subscriptionId) {
77 this(rightsFilePath, mimeType);
92 * @param mimeType MIME type
    [all...]
DrmInfoStatus.java 44 public final String mimeType;
62 mimeType = _mimeType;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ActionMultiMap.java 27 public void put(String mimeType, Action info) {
29 ArrayList<Action> collectList = get(mimeType);
32 put(mimeType, collectList);
  /frameworks/base/drm/libdrmframework/plugins/common/util/include/
MimeTypeUtil.h 33 * May convert the mimetype if there is a well known
34 * replacement mimetype otherwise the original mimetype
37 * @param mimeType - mimetype in lower case to convert.
39 * @return mimetype or null.
41 static String8 convertMimeType(String8& mimeType);
  /external/webkit/Source/WebCore/platform/
MIMETypeRegistry.h 51 static bool isSupportedImageMIMEType(const String& mimeType);
55 static bool isSupportedImageResourceMIMEType(const String& mimeType);
58 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
62 static bool isSupportedJavaScriptMIMEType(const String& mimeType);
66 static bool isSupportedNonImageMIMEType(const String& mimeType);
69 static bool isSupportedMediaMIMEType(const String& mimeType);
73 static bool isUnsupportedTextMIMEType(const String& mimeType);
76 static bool isJavaAppletMIMEType(const String& mimeType);
80 static bool isApplicationPluginMIMEType(const String& mimeType);
MIMETypeRegistry.cpp 69 String mimeType = MIMETypeForImageSourceType(supportedType.get());
70 if (!mimeType.isEmpty()) {
71 supportedImageMIMETypes->add(mimeType);
72 supportedImageResourceMIMETypes->add(mimeType);
108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
109 if (!mimeType.isEmpty()) {
110 supportedImageMIMETypes->add(mimeType);
111 supportedImageResourceMIMETypes->add(mimeType);
166 String mimeType = MIMETypeForImageSourceType(supportedType.get());
167 if (!mimeType.isEmpty()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WebView1.java 37 final String mimeType = "text/html";
42 wv.loadData("<a href='x'>Hello World! - 1</a>", mimeType, null);
45 wv.loadData("<a href='x'>Hello World! - 2</a>", mimeType, null);
48 wv.loadData("<a href='x'>Hello World! - 3</a>", mimeType, null);
51 wv.loadData("<a href='x'>Hello World! - 4</a>", mimeType, null);
54 wv.loadData("<a href='x'>Hello World! - 5</a>", mimeType, null);
57 wv.loadData("<a href='x'>Hello World! - 6</a>", mimeType, null);
60 wv.loadData("<a href='x'>Hello World! - 7</a>", mimeType, null);
63 wv.loadData("<a href='x'>Hello World! - 8</a>", mimeType, null);
66 wv.loadData("<a href='x'>Hello World! - 9</a>", mimeType, null)
    [all...]
  /frameworks/base/include/media/stagefright/
StagefrightMediaScanner.h 30 const char *path, const char *mimeType,
40 const char *path, const char *mimeType,
  /external/webkit/Source/WebCore/loader/archive/
ArchiveResource.cpp 36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
38 , m_mimeType(mimeType)
45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
51 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName,
52 ResourceResponse(url, mimeType, dataSize, textEncoding, String())));
54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response));
59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
  /external/chromium/android/jni/
mime_utils.h 17 static bool GuessExtensionFromMimeType(const std::string& mimeType,
  /frameworks/base/drm/common/
DrmInfoStatus.cpp 26 mimeType(_mimeType) {
DrmRights.cpp 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType,
24 mMimeType(mimeType),
35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType,
38 mMimeType(mimeType),
  /frameworks/base/include/drm/
DrmInfoStatus.h 61 String8 mimeType;
  /external/webkit/Source/WebCore/platform/brew/
MIMETypeRegistryBrew.cpp 40 const char* mimeType;
75 return e->mimeType;
  /external/webkit/Source/WebCore/platform/efl/
MIMETypeRegistryEfl.cpp 41 const char* mimeType;
84 return e->mimeType;
  /external/webkit/Source/WebCore/platform/gtk/
MIMETypeRegistryGtk.cpp 38 const char* mimeType;
74 return e->mimeType;
  /external/webkit/Source/WebCore/platform/network/android/
ResourceResponse.h 39 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename)
40 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename) { }

Completed in 656 milliseconds

1 2 3 4 5 6 7 8 91011>>