/external/webkit/WebKit/wx/WebKitSupport/ |
FrameLoaderClientWx.h | 131 virtual bool canShowMIMEType(const String& MIMEType) const; 210 virtual ObjectContentType objectContentType(const KURL& url, const String& mimeType); 220 virtual bool shouldUsePluginDocument(const String &mimeType) const;
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsUtils.java | 57 * provided cursor, assuming the given mimeType. 60 String mimeType, Cursor cursor) { 61 // Try finding the type and label for this mimetype 65 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) 66 || Constants.MIME_SMS_ADDRESS.equals(mimeType)) { 67 // Reset to phone mimetype so we generate a label for SMS case 68 mimeType = Phone.CONTENT_ITEM_TYPE; 71 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 74 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 77 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImage.java | 59 long id, int index, Uri uri, String dataPath, String mimeType, 67 mMimeType = mimeType;
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 252 public TestData newDataRow(String mimeType) { 253 return new TestData(this, mimeType); 305 public TestData(TestRawContact rawContact, String mimeType) { 307 mValues.put(Data.MIMETYPE, mimeType);
|
/external/webkit/WebCore/html/ |
HTMLCanvasElement.h | 70 String toDataURL(const String& mimeType, ExceptionCode&);
|
/external/webkit/WebKit/chromium/public/ |
WebURLResponse.h | 75 WEBKIT_API WebString mimeType() const;
|
/external/webkit/WebKit/mac/Plugins/Hosted/ |
HostedNetscapePluginStream.h | 82 void startStream(NSURL *, long long expectedContentLength, NSDate *lastModifiedDate, NSString *mimeType, NSData *headers);
|
NetscapePluginHostManager.mm | 218 PassRefPtr<NetscapePluginInstanceProxy> NetscapePluginHostManager::instantiatePlugin(WebNetscapePluginPackage *pluginPackage, WebHostedNetscapePluginView *pluginView, NSString *mimeType, NSArray *attributeKeys, NSArray *attributeValues, NSString *userAgent, NSURL *sourceURL, bool fullFrame, bool isPrivateBrowsingEnabled, bool isAcceleratedCompositingEnabled) 227 if (mimeType) 228 [properties.get() setObject:mimeType forKey:@"mimeType"];
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 84 private static final String MIME_TYPE = "MIMETYPE"; 204 public void saveSendingFileInfo(String mimeType, String uri) { 207 mMimeTypeOfSendingFile = mimeType; 213 public void saveSendingFileInfo(String mimeType, ArrayList<Uri> uris) { 216 mMimeTypeOfSendingFiles = mimeType; 372 if (V) Log.v(TAG, "Got mimetype: " + contentType + " Got uri: " + fileUri); 379 values.put(BluetoothShare.MIMETYPE, contentType); 396 values.put(BluetoothShare.MIMETYPE, mTypeOfSingleFile);
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
Sources.java | 269 * {@link ContactsSource#accountType} and {@link DataKind#mimeType}. If no 274 public DataKind getKindOrFallback(String accountType, String mimeType, Context context, 282 kind = source.getKindForMimetype(mimeType); 288 kind = mFallbackSource.getKindForMimetype(mimeType); 292 Log.w(TAG, "Unknown type=" + accountType + ", mime=" + mimeType);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageManager.java | 112 * @return true if the mimetype is an image mimetype. 114 public static boolean isImageMimeType(String mimeType) { 115 return mimeType.startsWith("image/"); 119 * @return true if the mimetype is a video mimetype. 121 public static boolean isVideoMimeType(String mimeType) { 122 return mimeType.startsWith("video/");
|
Util.java | 258 public static Intent createSetAsIntent(Uri uri, String mimeType) { 264 mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension( 270 intent.setDataAndType(uri, mimeType); 271 intent.putExtra("mimeType", mimeType);
|
HudLayer.java | 691 String mimeType = null; 709 if (mimeType == null) { 710 mimeType = item.mMimeType; 718 mimeType = "text/plain"; 723 if (!mimeType.contains("text")) 724 mimeType = "*/*"; 737 if (mimeType == null) 738 mimeType = "image/jpeg"; 739 if (mimeType.contains("text")) { 742 intent.setType(mimeType); [all...] |
/external/webkit/WebCore/page/ |
Navigator.cpp | 282 void Navigator::registerContentHandler(const String& mimeType, const String& url, const String& title, ExceptionCode& ec) 284 if (!verifyProtocolHandlerMimeType(mimeType, ec)) 300 page->chrome()->registerContentHandler(mimeType, baseURL, url, m_frame->displayStringModifiedByEncoding(title));
|
/external/webkit/WebCore/plugins/ |
PluginPackage.cpp | 172 void PluginPackage::determineQuirks(const String& mimeType) 174 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) { 185 if (mimeType == "application/x-shockwave-flash") {
|
PluginView.h | 133 static PassRefPtr<PluginView> create(Frame* parentFrame, const IntSize&, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually); 212 const String& mimeType() const { return m_mimeType; } 249 PluginView(Frame* parentFrame, const IntSize&, PluginPackage*, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
|
/external/webkit/WebCore/inspector/front-end/ |
Resource.js | 356 get mimeType() 361 set mimeType(x) 538 if (this.mimeType in WebInspector.MIMETypes) 539 return this.type in WebInspector.MIMETypes[this.mimeType]; 560 WebInspector.Resource.Type.toString(this.type), this.mimeType));
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | [all...] |
/cts/tests/src/android/webkit/cts/ |
CtsTestServer.java | 335 public String getBinaryUrl(String mimeType, int contentLength) { 339 sb.append(mimeType); 452 String mimeType = null; 457 mimeType = pair.getValue(); 462 if (length > 0 && mimeType != null) { 464 entity.setContentType(mimeType); 482 String mimeType = 484 if (mimeType == null) { 485 mimeType = "text/html"; 487 entity.setContentType(mimeType); [all...] |
/external/webkit/WebCore/platform/mac/ |
ClipboardMac.mm | 84 NSString *mimeType = qType; 85 RetainPtr<CFStringRef> utiType(AdoptCF, UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)mimeType, NULL)); 100 RetainPtr<CFStringRef> mimeType(AdoptCF, UTTypeCopyPreferredTagWithClass(utiType.get(), kUTTagClassMIMEType)); 101 if (mimeType) 102 return String(mimeType.get());
|
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 271 * @param mimeType Mimetype of the data being passed in 275 public void loadData(String baseUrl, String data, String mimeType, 290 if (mimeType == null || mimeType.length() == 0) { 291 mimeType = "text/html"; 293 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 187 final String mimeType = c.getString(DataQuery.COLUMN_MIMETYPE); 190 if (mimeType.equals(StructuredName.CONTENT_ITEM_TYPE)) { 199 else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) { 213 else if (Data.MIMETYPE.equals(Email.CONTENT_ITEM_TYPE)) { 316 Data.MIMETYPE + "='" + SampleSyncAdapterColumns.MIME_PROFILE 339 new String[] {Data._ID, Data.MIMETYPE, Data.DATA1, Data.DATA2,
|
/external/webkit/WebCore/platform/graphics/cairo/ |
ImageBufferCairo.cpp | 286 String ImageBuffer::toDataURL(const String& mimeType) const 293 if (MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)) 294 actualMimeType = mimeType;
|
/external/webkit/WebCore/xml/ |
XSLTProcessorLibxslt.cpp | 275 bool XSLTProcessor::transformToString(Node* sourceNode, String& mimeType, String& resultString, String& resultEncoding) 288 if (!origMethod && mimeType == "text/html") 320 mimeType = resultMIMEType(resultDoc, sheet);
|
/external/webkit/WebKit/android/jni/ |
WebCoreResourceLoader.cpp | 152 jstring statusText, jstring mimeType, jlong expectedLength, 162 if (mimeType) { 163 mimeTypeStr = to_string(env, mimeType);
|