/external/webkit/WebCore/page/ |
Navigator.h | 80 void registerContentHandler(const String& mimeType, const String& url, const String& title, ExceptionCode& ec);
|
Navigator.idl | 63 void registerContentHandler(in DOMString mimeType, in DOMString url, in DOMString title)
|
/external/webkit/WebCore/platform/graphics/ |
ImageBuffer.h | 85 String toDataURL(const String& mimeType) const;
|
/external/webkit/WebCore/platform/network/ |
FormDataBuilder.h | 60 static void addContentTypeToMultiPartHeader(Vector<char>&, const CString& mimeType);
|
/external/webkit/WebKit/chromium/src/ |
WebURLResponse.cpp | 96 WebString WebURLResponse::mimeType() const 98 return m_private->m_resourceResponse->mimeType(); 101 void WebURLResponse::setMIMEType(const WebString& mimeType) 103 m_private->m_resourceResponse->setMimeType(mimeType);
|
ChromiumBridge.cpp | 361 // MimeType ------------------------------------------------------------------- 363 bool ChromiumBridge::isSupportedImageMIMEType(const String& mimeType) 365 return webKitClient()->mimeRegistry()->supportsImageMIMEType(mimeType) 369 bool ChromiumBridge::isSupportedJavaScriptMIMEType(const String& mimeType) 371 return webKitClient()->mimeRegistry()->supportsJavaScriptMIMEType(mimeType) 375 bool ChromiumBridge::isSupportedNonImageMIMEType(const String& mimeType) 377 return webKitClient()->mimeRegistry()->supportsNonImageMIMEType(mimeType) 391 String ChromiumBridge::preferredExtensionForMIMEType(const String& mimeType) 393 return webKitClient()->mimeRegistry()->preferredExtensionForMIMEType(mimeType);
|
/external/webkit/WebKit/mac/WebView/ |
WebPDFRepresentation.mm | 118 NSString *mimeType = [dataSource _responseMIMEType]; 119 if ([postScriptMIMETypes containsObject:mimeType]) {
|
/external/webkit/WebKit/win/ |
WebURLResponse.h | 56 /* [in] */ BSTR mimeType, 60 virtual HRESULT STDMETHODCALLTYPE MIMEType(
|
/frameworks/base/core/java/android/webkit/ |
CacheLoader.java | 24 * CacheResult as the source for the stream. The CacheResult stored mimetype 52 StringBuilder sb = new StringBuilder(mCacheResult.mimeType);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_inner.h | 66 int32_t mimeType;
|
/frameworks/base/media/libstagefright/include/ |
MPEG2TSExtractor.h | 55 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
MPEG4Extractor.h | 81 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.java | 86 if (V) Log.v(TAG, "Get ACTION_SEND intent: Uri = " + stream + "; mimetype = " 94 + extra_text.toString() + "; mimetype = " + type); 108 String mimeType = intent.getType(); 110 if (mimeType != null && uris != null) { 112 + mimeType); 113 BluetoothOppManager.getInstance(this).saveSendingFileInfo(mimeType, uris);
|
BluetoothOppObexServerSession.java | 170 String name, mimeType; 189 mimeType = (String)request.getHeader(HeaderSet.TYPE); 204 /* first we look for Mimetype in Android map */ 215 if (V) Log.v(TAG, "Mimetype guessed from extension " + extension + " is " + type); 217 mimeType = type; 220 if (mimeType == null) { 221 if (D) Log.w(TAG, "Can't get mimetype, reject the transfer"); 226 if (mimeType != null) { 227 mimeType = mimeType.toLowerCase() [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/widget/ |
KindSectionView.java | 41 * {@link DataKind} around a {@link Data#MIMETYPE}. This view shows a 122 if (!mState.hasMimeEntries(mKind.mimeType)) { 145 boolean hasEntries = mState.hasMimeEntries(mKind.mimeType); 150 for (ValuesDelta entry : mState.getMimeEntries(mKind.mimeType)) { 166 for (ValuesDelta entry : mState.getMimeEntries(mKind.mimeType)) {
|
/external/webkit/WebCore/platform/graphics/qt/ |
ImageBufferQt.cpp | 265 // We get a mimeType here but QImageWriter does not support mimetypes but 268 String ImageBuffer::toDataURL(const String& mimeType) const 270 ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)); 272 if (!mimeType.startsWith("image/")) 280 if (!m_data.m_pixmap.save(&buffer, mimeType.substring(sizeof "image").utf8().data())) 284 return String::format("data:%s;base64,%s", mimeType.utf8().data(), data.toBase64().data());
|
/external/webkit/WebKit/qt/WebCoreSupport/ |
FrameLoaderClientQt.cpp | 526 bool FrameLoaderClientQt::canShowMIMEType(const String& MIMEType) const 528 if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) 531 if (MIMETypeRegistry::isSupportedNonImageMIMEType(MIMEType)) 535 && PluginDatabase::installedPlugins()->isMIMETypeRegistered(MIMEType)) 783 QCoreApplication::translate("QWebFrame", "Cannot show mimetype", 0, QCoreApplication::UnicodeUTF8)); 966 void FrameLoaderClientQt::dispatchDecidePolicyForMIMEType(FramePolicyFunction function, const WebCore::String& MIMEType, const WebCore::ResourceRequest&) 969 if (canShowMIMEType(MIMEType)) [all...] |
/external/webkit/WebCore/loader/archive/cf/ |
LegacyWebArchive.cpp | 106 // Set MIMEType, TextEncodingName, and ResourceResponse only if they actually exist 107 const String& mimeType(resource->mimeType()); 108 if (!mimeType.isEmpty()) { 109 RetainPtr<CFStringRef> cfMIMEType(AdoptCF, mimeType.createCFString()); 200 CFStringRef mimeType = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceMIMETypeKey)); 201 if (mimeType && CFGetTypeID(mimeType) != CFStringGetTypeID()) { 236 return ArchiveResource::create(SharedBuffer::create(CFDataGetBytePtr(resourceData), CFDataGetLength(resourceData)), KURL(ParsedURLString, url), mimeType, textEncoding, frameName, response); 494 PassRefPtr<ArchiveResource> mainResource = ArchiveResource::create(utf8Buffer(markupString), responseURL, response.mimeType(), "UTF-8", frame->tree()->name()) [all...] |
/external/webkit/WebCore/loader/ |
TextResourceDecoder.cpp | 304 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType) 306 if (equalIgnoringCase(mimeType, "text/css")) 308 if (equalIgnoringCase(mimeType, "text/html")) 310 if (DOMImplementation::isXMLMIMEType(mimeType)) 326 TextResourceDecoder::TextResourceDecoder(const String& mimeType, const TextEncoding& specifiedDefaultEncoding, bool usesEncodingDetector) 327 : m_contentType(determineContentType(mimeType))
|
/external/webkit/WebKit/mac/Plugins/Hosted/ |
HostedNetscapePluginStream.mm | 93 void HostedNetscapePluginStream::startStream(NSURL *responseURL, long long expectedContentLength, NSDate *lastModifiedDate, NSString *mimeType, NSData *headers) 96 m_mimeType = mimeType; 98 char* mimeTypeUTF8 = const_cast<char*>([mimeType UTF8String]); 183 startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), [r MIMEType], theHeaders); 260 MIMEType:m_mimeType.get()] autorelease];
|
/frameworks/base/core/java/android/net/ |
Downloads.java | 352 String mimeType = null; 362 mimeType = downloadCursor.getString(0); 367 return mimeType; 376 String mimeType = null; 392 String mimeType = null; 407 String mimeType = null;
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
ContactsSyncAdapter.java | [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 407 public FileCacheEntry beginFile(String path, String mimeType, long lastModified, long fileSize) { 435 // try mimeType first, if it is specified 436 if (mimeType != null) { 437 mFileType = MediaFile.getFileTypeForMimeType(mimeType); 439 mMimeType = mimeType; 444 // if mimeType was not specified, compute file type based on file extension. 449 mMimeType = mediaFileType.mimeType; 501 public void scanFile(String path, String mimeType, long lastModified, long fileSize) { 502 doScanFile(path, mimeType, lastModified, fileSize, false); 505 public Uri doScanFile(String path, String mimeType, long lastModified, long fileSize, boolean scanAlways) [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 561 (JNIEnv * env, jobject rawContent, jobject data, jint len, jint mimeType) 567 switch (mimeType) { 569 mimeType = TYPE_DRM_MESSAGE; 572 mimeType = TYPE_DRM_CONTENT; 590 inData.mimeType = mimeType; 914 (JNIEnv * env, jobject rightsManager, jobject data, jint len, jint mimeType, jobject rights) 923 switch (mimeType) { 925 mimeType = TYPE_DRM_RIGHTS_XML; 928 mimeType = TYPE_DRM_RIGHTS_WBXML [all...] |
/external/webkit/WebCore/xml/ |
XMLHttpRequest.cpp | 757 String mimeType = extractMIMETypeFromMediaType(m_mimeTypeOverride); 758 if (mimeType.isEmpty()) { 760 mimeType = extractMIMETypeFromMediaType(m_response.httpHeaderField("Content-Type")); 762 mimeType = m_response.mimeType(); 764 if (mimeType.isEmpty()) 765 mimeType = "text/xml"; 767 return mimeType;
|