/external/webkit/WebCore/platform/chromium/ |
MIMETypeRegistryChromium.cpp | 56 String mimeType = type.substring(0, static_cast<unsigned>(type.find(';'))); 71 String mimeType = getMIMETypeForExtension(extension); 72 if (mimeType.isEmpty()) { 73 // If there's no mimetype registered for the extension, check to see 75 mimeType = getPluginMimeTypeFromExtension(extension); 77 if (mimeType.isEmpty()) 79 return mimeType; 82 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType) 84 return ChromiumBridge::isSupportedImageMIMEType(mimeType); 87 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType) [all...] |
/external/webkit/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/WebCore/plugins/ |
PluginInfoStore.h | 40 static String pluginNameForMIMEType(const String& mimeType); 41 static bool supportsMIMEType(const String& mimeType);
|
PluginData.cpp | 47 bool PluginData::supportsMimeType(const String& mimeType) const 50 if (m_mimes[i]->type == mimeType) 55 String PluginData::pluginNameForMimeType(const String& mimeType) const 58 if (m_mimes[i]->type == mimeType)
|
/external/webkit/WebKitTools/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 | 26 public void scanFile(String path, String mimeType, long lastModified, long fileSize); 38 public void setMimeType(String mimeType);
|
/external/webkit/WebCore/platform/ |
MIMETypeRegistry.h | 47 static bool isSupportedImageMIMEType(const String& mimeType); 51 static bool isSupportedImageResourceMIMEType(const String& mimeType); 54 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType); 58 static bool isSupportedJavaScriptMIMEType(const String& mimeType); 62 static bool isSupportedNonImageMIMEType(const String& mimeType); 65 static bool isSupportedMediaMIMEType(const String& mimeType); 68 static bool isJavaAppletMIMEType(const String& mimeType);
|
MIMETypeRegistry.cpp | 66 String mimeType = MIMETypeForImageSourceType(supportedType.get()); 67 if (!mimeType.isEmpty()) { 68 supportedImageMIMETypes->add(mimeType); 69 supportedImageResourceMIMETypes->add(mimeType); 105 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); 106 supportedImageMIMETypes->add(mimeType); 107 supportedImageResourceMIMETypes->add(mimeType); 163 String mimeType = MIMETypeForImageSourceType(supportedType.get()); 164 if (!mimeType.isEmpty()) 165 supportedImageMIMETypesForEncoding->add(mimeType); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
WebView1.java | 37 final String mimeType = "text/html"; 43 wv.loadData("<a href='x'>Hello World! - 1</a>", mimeType, encoding); 46 wv.loadData("<a href='x'>Hello World! - 2</a>", mimeType, encoding); 49 wv.loadData("<a href='x'>Hello World! - 3</a>", mimeType, encoding); 52 wv.loadData("<a href='x'>Hello World! - 4</a>", mimeType, encoding); 55 wv.loadData("<a href='x'>Hello World! - 5</a>", mimeType, encoding); 58 wv.loadData("<a href='x'>Hello World! - 6</a>", mimeType, encoding); 61 wv.loadData("<a href='x'>Hello World! - 7</a>", mimeType, encoding); 64 wv.loadData("<a href='x'>Hello World! - 8</a>", mimeType, encoding); 67 wv.loadData("<a href='x'>Hello World! - 9</a>", mimeType, encoding) [all...] |
/external/webkit/WebCore/loader/archive/ |
ArchiveResource.cpp | 41 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName) 43 return data ? adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName)) : 0; 46 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& resourceResponse) 48 return data ? adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, resourceResponse)) : 0; 53 , m_mimeType(response.mimeType()) 59 ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName) 60 : SubstituteResource(url, ResourceResponse(url, mimeType, data ? data->size() : 0, textEncoding, String()), data) 61 , m_mimeType(mimeType) 68 ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) 69 : SubstituteResource(url, response.isNull() ? ResourceResponse(url, mimeType, data ? data->size() : 0, textEncoding, String()) : response, data [all...] |
ArchiveFactory.h | 44 static PassRefPtr<Archive> create(SharedBuffer* data, const String& mimeType);
|
/external/webkit/WebCore/platform/brew/ |
MIMETypeRegistryBrew.cpp | 38 const char* mimeType; 71 return e->mimeType;
|
/external/webkit/WebCore/platform/gtk/ |
MIMETypeRegistryGtk.cpp | 35 const char* mimeType; 69 return e->mimeType;
|
/external/webkit/WebCore/platform/haiku/ |
MIMETypeRegistryHaiku.cpp | 37 const char* mimeType; 68 return extMap->mimeType;
|
/external/webkit/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) { }
|
/external/webkit/WebCore/platform/network/curl/ |
ResourceResponse.h | 40 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 41 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename),
|
/external/webkit/WebCore/platform/network/qt/ |
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)
|
/external/webkit/WebCore/platform/qt/ |
MIMETypeRegistryQt.cpp | 36 const char* mimeType; 78 return e->mimeType;
|
/external/webkit/WebCore/platform/wx/ |
MimeTypeRegistryWx.cpp | 35 const char* mimeType; 66 return e->mimeType;
|
/packages/apps/Browser/src/com/android/browser/ |
FetchUrlMimeType.java | 36 * we can analyse the mimetype and make any correction needed before we give 39 * completion of checking the mimetype, we can issue the download to 42 * we don't know the mimetype. If the user just clicks on the link, we will 43 * do the same steps of correcting the mimetype down in 83 String mimeType = null; 88 // the server sends the right mimetype 92 mimeType = header.getValue(); 93 final int semicolonIndex = mimeType.indexOf(';'); 95 mimeType = mimeType.substring(0, semicolonIndex) [all...] |
/external/webkit/WebCore/platform/network/soup/ |
ResourceResponse.h | 42 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 43 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
WapPushOverSms.java | 109 String mimeType = pduDecoder.getValueString(); 110 if (mimeType == null) { 112 // TODO we should have more generic way to map binaryContentType code to mimeType. 115 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_DRM_RIGHTS_XML; 118 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_DRM_RIGHTS_WBXML; 121 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_SI; 124 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_SL; 127 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_CO; 130 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_MMS; 133 mimeType = WspTypeDecoder.CONTENT_MIME_TYPE_B_VND_DOCOMO_PF [all...] |
/external/webkit/WebCore/inspector/front-end/ |
SourceTokenizer.js | 92 getTokenizer: function(mimeType) 94 if (!this._tokenizerConstructors[mimeType]) 96 var tokenizer = this._tokenizers[mimeType]; 98 tokenizer = new this._tokenizerConstructors[mimeType](); 99 this._tokenizers[mimeType] = tokenizer;
|