/external/webkit/WebCore/plugins/mac/ |
PluginPackageMac.cpp | 49 void PluginPackage::determineQuirks(const String& mimeType) 51 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) { 61 if (mimeType == "application/x-shockwave-flash") { 175 String mimeType = (CFStringRef)keys[i]; 176 mimeType = mimeType.lower(); 197 m_mimeToExtensions.set(mimeType, mimeExtensions); 200 m_mimeToDescriptions.set(mimeType, description);
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
ContentValuesVerifierElem.java | 43 public ContentValuesBuilder addExpected(String mimeType) { 45 contentValues.put(Data.MIMETYPE, mimeType);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoObject.java | 47 String mimeType, long dateTaken, String title) { 49 mimeType, dateTaken, title);
|
ImageList.java | 130 String mimeType = cursor.getString(INDEX_MIME_TYPE); 135 contentUri(id), dataPath, mimeType, dateTaken, title,
|
VideoList.java | 67 String mimeType = cursor.getString(INDEX_MIME_TYPE); 73 mimeType, dateTaken, title);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
MimeRecord.java | 42 private MimeRecord(String mimeType, byte[] content) { 43 mType = Preconditions.checkNotNull(mimeType);
|
/external/webkit/WebCore/plugins/win/ |
PluginPackageWin.cpp | 88 void PluginPackage::determineQuirks(const String& mimeType) 90 if (mimeType == "application/x-shockwave-flash") { 131 if (mimeType == "video/divx") 138 if (mimeType == "application/x-silverlight") 141 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) { 151 if (mimeType == "audio/x-pn-realaudio-plugin") { 193 getVersionInfo(versionInfoData.get(), "MIMEType").split('|', types);
|
/frameworks/base/media/libstagefright/ |
AMRExtractor.cpp | 88 String8 mimeType; 90 if (!SniffAMR(mDataSource, &mimeType, &confidence, NULL)) { 94 mIsWide = (mimeType == MEDIA_MIMETYPE_AUDIO_AMR_WB); 279 const sp<DataSource> &source, String8 *mimeType, float *confidence, 288 *mimeType = MEDIA_MIMETYPE_AUDIO_AMR_NB; 293 *mimeType = MEDIA_MIMETYPE_AUDIO_AMR_WB;
|
/external/webkit/WebKit/chromium/src/ |
FrameLoaderClientImpl.cpp | 834 const String& mimeType, 851 } else if (!canShowMIMEType(mimeType)) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
QuickContactWindow.java | 417 mHandler.startQuery(TOKEN_DATA, lookupUri, dataUri, DataQuery.PROJECTION, Data.MIMETYPE 418 + "!=? OR (" + Data.MIMETYPE + "=? AND " + Data._ID + "=" + Contacts.PHOTO_ID 422 mHandler.startQuery(TOKEN_DATA, lookupUri, dataUri, DataQuery.PROJECTION, Data.MIMETYPE 754 public DataAction(Context context, String mimeType, DataKind kind, 758 mMimeType = mimeType; 761 mAlternate = Constants.MIME_SMS_ADDRESS.equals(mimeType); 779 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 785 } else if (SipAddress.CONTENT_ITEM_TYPE.equals(mimeType)) { 797 } else if (Constants.MIME_SMS_ADDRESS.equals(mimeType)) { 804 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { [all...] |
/external/webkit/WebCore/plugins/android/ |
PluginPackageAndroid.cpp | 118 void PluginPackage::determineQuirks(const String& mimeType) 123 if (mimeType == "application/x-googlegears") { 340 const String& mimeType = fields[0]; 345 determineQuirks(mimeType); 347 PLUGIN_LOG("mime_type: \"%s\"\n", mimeType.utf8().data()); 353 m_mimeToExtensions.set(mimeType, extensions); 355 m_mimeToDescriptions.set(mimeType, description);
|
/external/webkit/WebKit/mac/WebView/ |
WebResource.mm | 118 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName 120 return [self _initWithData:data URL:URL MIMEType:MIMEType textEncodingName:textEncodingName frameName:frameName response:nil copyData:YES]; 133 NSString *mimeType = nil, *textEncoding = nil, *frameName = nil; 145 mimeType = object; 160 _private = [[WebResourcePrivate alloc] initWithCoreResource:ArchiveResource::create(SharedBuffer::wrapNSData(data), url, mimeType, textEncoding, frameName, response)]; 171 NSString *mimeType = nil, *textEncoding = nil, *frameName = nil; 178 mimeType = resource->mimeType(); [all...] |
/external/webkit/WebKit/android/WebCoreSupport/ |
FrameLoaderClientAndroid.cpp | 457 const String& MIMEType, const ResourceRequest& request) { 482 if (!canShowMIMEType(MIMEType)) { 757 bool FrameLoaderClientAndroid::canShowMIMEType(const String& mimeType) const { 761 if (MIMETypeRegistry::isSupportedImageResourceMIMEType(mimeType) || 762 MIMETypeRegistry::isSupportedNonImageMIMEType(mimeType) || 763 MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType) || 767 mimeType)) || 768 DOMImplementation::isTextMIMEType(mimeType) || 769 DOMImplementation::isXMLMIMEType(mimeType)) 782 String mimetype("x-apple-web-kit/") [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessage.java | 129 private static final String getCharset(String mimeType) 131 if (mimeType != null) { 132 Matcher m = CHARSET.matcher(mimeType);
|
/packages/apps/Contacts/src/com/android/contacts/ui/widget/ |
ContactEditorView.java | 224 final String mimeType = kind.mimeType; 225 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 227 final ValuesDelta primary = state.getPrimaryEntry(mimeType); 234 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimeType)) { 236 final ValuesDelta primary = state.getPrimaryEntry(mimeType);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 53 ResultDisplayer(String msg, String mimeType) { 55 mMimeType = mimeType;
|
/external/webkit/WebCore/platform/network/ |
ResourceResponseBase.cpp | 63 ResourceResponseBase::ResourceResponseBase(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 65 , m_mimeType(mimeType) 111 data->m_mimeType = mimeType().crossThreadString(); 146 const String& ResourceResponseBase::mimeType() const 153 void ResourceResponseBase::setMimeType(const String& mimeType) 158 m_mimeType = mimeType; 466 if (a.mimeType() != b.mimeType())
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListWithMailMessages.java | 122 final String mimeType = "text/html"; 140 body.loadData(message.getBody(), mimeType, encoding);
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
WebView.java | 113 public void loadData(String data, String mimeType, String encoding) { 117 String mimeType, String encoding, String failUrl) {
|
/packages/apps/Email/src/com/android/email/mail/ |
Message.java | 104 public boolean isMimeType(String mimeType) throws MessagingException { 105 return getContentType().startsWith(mimeType);
|
/frameworks/base/core/java/android/webkit/ |
CacheManager.java | 98 String mimeType; 138 return mimeType; 377 * can be stored. Otherwise returns null. The mimetype is passed in so that 378 * the function can use the mimetype that will be passed to WebCore which 379 * could be different from the mimetype defined in the headers. 388 Headers headers, String mimeType, boolean forceCache) { 389 return createCacheFile(url, statusCode, headers, mimeType, 0, 394 Headers headers, String mimeType, long postIdentifier, 417 CacheResult ret = parseHeaders(statusCode, headers, mimeType); 442 ret.mimeType = mimeType [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityModifier.java | 65 final int visibleCount = state.getMimeEntriesCount(kind.mimeType, true); 84 public static void ensureKindExists(EntityDelta state, ContactsSource source, String mimeType) { 85 final DataKind kind = source.getKindForMimetype(mimeType); 86 final boolean hasChild = state.getMimeEntriesCount(mimeType, true) > 0; 91 if (kind.mimeType.equals(Photo.CONTENT_ITEM_TYPE)) { 176 final List<ValuesDelta> mimeEntries = state.getMimeEntries(kind.mimeType); 332 after.put(Data.MIMETYPE, kind.mimeType); 375 final String mimeType = kind.mimeType; [all...] |
/external/webkit/WebCore/html/ |
HTMLCanvasElement.cpp | 136 String HTMLCanvasElement::toDataURL(const String& mimeType, ExceptionCode& ec) 146 if (mimeType.isNull() || !MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)) 149 return buffer()->toDataURL(mimeType);
|
/external/webkit/WebCore/inspector/front-end/ |
ImageView.js | 60 { name: WebInspector.UIString("MIME type"), value: this.resource.mimeType }
|
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheResource.cpp | 64 m_estimatedSizeInStorage += response().mimeType().length() * sizeof(UChar);
|