/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalVideo.java | 109 mimeType = cursor.getString(INDEX_MIME_TYPE); 124 mimeType = uh.update(mimeType, cursor.getString(INDEX_MIME_TYPE));
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
ImageBufferHaiku.cpp | 319 String ImageBuffer::toDataURL(const String& mimeType, const double*) const 321 if (!MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)) 324 BString mimeTypeString(mimeType); 365 B_TRANSLATOR_BITMAP, mimeType.utf8().data()) != B_OK) { 376 return makeString("data:", mimeType, ";base64,", encodedBuffer);
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
WebPlatformStrategies.cpp | 103 const QWebPluginFactory::MimeType& mimeType = qplugin.mimeTypes.at(j); 106 mimeInfo.type = mimeType.name; 107 mimeInfo.desc = mimeType.description; 108 for (int k = 0; k < mimeType.fileExtensions.count(); ++k) 109 mimeInfo.extensions.append(mimeType.fileExtensions.at(k));
|
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 246 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeType, Bundle opts) 249 return ContentProvider.this.openTypedAssetFile(uri, mimeType, opts); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MenuExecutor.java | 189 String mimeType = getMimeType(manager.getMediaType(path)); 191 .setDataAndType(manager.getContentUri(path), mimeType); 199 String mimeType = getMimeType(type); 200 intent.setDataAndType(manager.getContentUri(path), mimeType); 201 intent.putExtra("mimeType", mimeType);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 558 throw new StopRequestException(Downloads.Impl.STATUS_NOT_ACCEPTABLE, "Mimetype " [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
Resource.js | 356 get mimeType() 361 set mimeType(x) 653 if (!this.mimeType) 656 if (this.mimeType in WebInspector.MIMETypes) 657 return this.type in WebInspector.MIMETypes[this.mimeType]; 680 String.sprintf(WebInspector.Warnings.IncorrectMIMEType.message, WebInspector.Resource.Type.toUIString(this.type), this.mimeType), 778 return "data:" + this.mimeType + (this._contentEncoded ? ";base64," : ",") + this._content;
|
NetworkManager.js | 91 resource.mimeType = response.mimeType; 120 return response && !response.status && !response.mimeType && !Object.keys(response.headers).length;
|
ImageView.js | 86 { name: WebInspector.UIString("MIME type"), value: this.resource.mimeType }
|
/external/webkit/Source/WebKit/efl/WebCoreSupport/ |
FrameLoaderClientEfl.cpp | 289 if (canShowMIMEType(response.mimeType())) 330 PassRefPtr<Widget> FrameLoaderClientEfl::createPlugin(const IntSize& pluginSize, HTMLPlugInElement* element, const KURL& url, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually) 337 mimeType, loadManually); 370 ObjectContentType FrameLoaderClientEfl::objectContentType(const KURL& url, const String& mimeType, bool shouldPreferPlugInsForImages) 376 if (url.isEmpty() && mimeType.isEmpty()) 380 String type = mimeType; 391 if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType)) 655 bool FrameLoaderClientEfl::canShowMIMETypeAsHTML(const String& MIMEType) const 661 bool FrameLoaderClientEfl::canShowMIMEType(const String& MIMEType) const 663 if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePlugin.cpp | 306 NPError NetscapePlugin::NPP_NewStream(NPMIMEType mimeType, NPStream* stream, NPBool seekable, uint16_t* streamType) 308 return m_pluginModule->pluginFuncs().newstream(&m_npp, mimeType, stream, seekable, streamType); 426 CString mimeTypeCString = parameters.mimeType.utf8(); 593 uint32_t lastModifiedTime, const String& mimeType, const String& headers) 598 pluginStream->didReceiveResponse(responseURL, streamLength, lastModifiedTime, mimeType, headers); 626 const String& mimeType, const String& headers) 633 m_manualStream->didReceiveResponse(responseURL, streamLength, lastModifiedTime, mimeType, headers);
|
/system/media/wilhelm/src/ |
data.c | 483 if (NULL != pDataFormat->mMIME.mimeType) { 485 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); 490 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 498 pDataFormat->mMIME.mimeType = myMIME; 720 if (NULL != pDataFormat->mMIME.mimeType) { 721 free(pDataFormat->mMIME.mimeType); 722 pDataFormat->mMIME.mimeType = NULL; [all...] |
/cts/tests/src/android/webkit/cts/ |
CtsTestServer.java | 339 public String getBinaryUrl(String mimeType, int contentLength) { 343 sb.append(mimeType); 458 String mimeType = null; 463 mimeType = pair.getValue(); 468 if (length > 0 && mimeType != null) { 470 entity.setContentType(mimeType); 488 String mimeType = 490 if (mimeType == null) { 491 mimeType = "text/html"; 493 entity.setContentType(mimeType); [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
ClipboardMac.mm | 90 NSString *mimeType = qType; 91 RetainPtr<CFStringRef> utiType(AdoptCF, UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)mimeType, NULL)); 106 RetainPtr<CFStringRef> mimeType(AdoptCF, UTTypeCopyPreferredTagWithClass(utiType.get(), kUTTagClassMIMEType)); 107 if (mimeType) 108 return String(mimeType.get());
|
/external/webkit/Source/WebCore/platform/network/qt/ |
QNetworkReplyHandler.cpp | 291 m_sniffedMIMEType = m_sniffer->mimeType(); 462 WTF::String mimeType = m_replyWrapper->mimeType(); 464 if (mimeType.isEmpty()) { 466 mimeType = MIMETypeRegistry::getMIMETypeForPath(m_replyWrapper->reply()->url().path()); 470 ResourceResponse response(url, mimeType.lower(),
|
QNetworkReplyHandler.h | 78 QString mimeType() const { return m_sniffedMIMEType.isEmpty() ? m_advertisedMIMEType : m_sniffedMIMEType; }
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
NetscapePluginHostManager.mm | 214 PassRefPtr<NetscapePluginInstanceProxy> NetscapePluginHostManager::instantiatePlugin(const String& pluginPath, cpu_type_t pluginArchitecture, const String& bundleIdentifier, WebHostedNetscapePluginView *pluginView, NSString *mimeType, NSArray *attributeKeys, NSArray *attributeValues, NSString *userAgent, NSURL *sourceURL, bool fullFrame, bool isPrivateBrowsingEnabled, bool isAcceleratedCompositingEnabled) 222 if (mimeType) 223 [properties.get() setObject:mimeType forKey:@"mimeType"];
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountTypeManager.java | 134 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}. 137 public DataKind getKindOrFallback(String accountType, String dataSet, String mimeType) { 139 return type == null ? null : type.getKindForMimetype(mimeType); 581 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}. 585 public DataKind getKindOrFallback(String accountType, String dataSet, String mimeType) { 593 kind = type.getKindForMimetype(mimeType); 598 kind = mFallbackAccountType.getKindForMimetype(mimeType); 602 Log.w(TAG, "Unknown type=" + accountType + ", mime=" + mimeType); [all...] |
/external/webkit/Source/WebCore/plugins/ |
PluginPackage.cpp | 182 void PluginPackage::determineQuirks(const String& mimeType) 184 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) { 195 if (mimeType == "application/x-shockwave-flash") {
|
PluginPackage.h | 100 void determineQuirks(const String& mimeType);
|
/external/webkit/Source/WebKit/android/jni/ |
WebCoreResourceLoader.cpp | 149 jstring statusText, jstring mimeType, jlong expectedLength, 159 if (mimeType) { 160 mimeTypeStr = jstringToWtfString(env, mimeType);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockContentProvider.java | 289 String mimeType = mExpectedTypeQueries.get(uri); 290 if (mimeType != null) { 291 return mimeType;
|
/external/webkit/Source/WebCore/html/ |
PluginDocument.cpp | 99 m_embedElement->setAttribute(typeAttr, loader->writer()->mimeType());
|
/external/webkit/Source/WebCore/loader/archive/android/ |
WebArchiveAndroid.cpp | 49 static const xmlChar* const mimeFieldTag = BAD_CAST "mimeType"; 178 String mimeType = loadArchiveResourceFieldString(resourceNode, mimeFieldTag); 179 if (mimeType.isNull()) { 202 return ArchiveResource::create(data, url, mimeType, textEncoding, frameName); 368 || !saveArchiveResourceField(writer, mimeFieldTag, resource->mimeType())
|
/external/webkit/Source/WebKit/chromium/public/ |
WebURLResponse.h | 93 WEBKIT_API WebString mimeType() const;
|