/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaItem.java | 46 public String mMimeType; 122 // Default to image if mMimetype is null or not video. 123 mMediaType = (mMimeType != null && mMimeType.startsWith(VIDEO)) ? MediaItem.MEDIA_TYPE_VIDEO 134 if (mDisplayMimeType == null && mMimeType != null) { 135 int slashPos = mMimeType.indexOf('/'); 136 if (slashPos != -1 && slashPos + 1 < mMimeType.length()) { 137 mDisplayMimeType = mMimeType.substring(slashPos + 1).toUpperCase(); 139 mDisplayMimeType = mMimeType.toUpperCase();
|
MediaItemTexture.java | 65 if (item.mMimeType != null && item.mMimeType.contains("video")) { 83 if (mItem.mParentMediaSet == null || mItem.mMimeType == null) 85 if (mItem.mParentMediaSet.mPicasaAlbumId == Shared.INVALID && mItem.mMimeType.contains("video")) { 130 if (item.mMimeType != null && item.mMimeType.contains("video")) {
|
PicasaDataSource.java | 174 item.mMimeType = photo.contentType;
|
Utils.java | 53 intent.setDataAndType(Uri.parse(item.mContentUri), item.mMimeType);
|
HudLayer.java | 359 Intent intent = Util.createSetAsIntent(Uri.parse(item.mContentUri), item.mMimeType); 710 mimeType = item.mMimeType; [all...] |
/frameworks/base/core/java/android/webkit/ |
LoadListener.java | 96 private String mMimeType; 358 if (mMimeType.equals("text/plain") || 359 mMimeType.equals("application/octet-stream")) { 373 mMimeType = newMimeType; 375 } else if (mMimeType.equals("text/vnd.wap.wml")) { 377 mMimeType = "text/plain"; 381 if (mMimeType.equals("application/vnd.wap.xhtml+xml")) { 382 mMimeType = "application/xhtml+xml"; 393 // At this point, mMimeType has been set to non-null. 395 Pattern.matches(XML_MIME_TYPE, mMimeType) & [all...] |
WebViewWorker.java | 49 String mMimeType; 131 data.mMimeType, data.mPostId, false);
|
WebViewCore.java | 636 String mMimeType; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 51 String mMimeType; 55 mMimeType = mimeType; 60 intent.setType(mMimeType);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImage.java | 49 protected String mMimeType; 67 mMimeType = mimeType; 133 return mMimeType;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 80 public String mMimeType; 89 mMimeType = sanitizeMimeType(info.mMimeType); 203 state.mNewUri, state.mMimeType); 339 return DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING.equalsIgnoreCase(state.mMimeType); 355 state.mMimeType = item.getType(); 548 state.mMimeType, 581 if (state.mMimeType != null) { 582 values.put(Downloads.Impl.COLUMN_MIME_TYPE, state.mMimeType); 601 if (state.mMimeType == null) [all...] |
DownloadInfo.java | 69 info.mMimeType = getString(info.mMimeType, Downloads.Impl.COLUMN_MIME_TYPE); 219 public String mMimeType; 502 Log.v(Constants.TAG, "MIMETYPE: " + mMimeType); 552 && !DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING.equalsIgnoreCase(mMimeType);
|
DownloadService.java | 372 info.mMimeType); 577 final String mimeType = info.mMimeType; 580 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType,
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 221 newAttachment2.mMimeType = "image/jpg"; 226 newAttachment3.mMimeType = "text/plain"; 231 newAttachment4.mMimeType = "application/octet-stream"; 236 newAttachment5.mMimeType = "application/octet-stream"; 241 newAttachment6.mMimeType = ""; 368 newAttachment2.mMimeType = "image/png"; 431 newAttachment2.mMimeType = "image/png"; 646 cv.put("mime_type", newAttachment.mMimeType);
|
ProviderTestUtils.java | 200 att.mMimeType = "mimeType " + fileName; 365 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType);
|
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 396 private String mMimeType; 433 mMimeType = null; 438 mMimeType = mimeType; 444 if (mMimeType == null) { 448 mMimeType = mediaFileType.mimeType; 603 if ("audio/mp4".equals(mMimeType) && 610 mMimeType = mimeType; 627 map.put(MediaStore.MediaColumns.MIME_TYPE, mMimeType); [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
Rfc822OutputTests.java | 189 att.mMimeType = "text/calendar"; 233 att.mMimeType = "text/html";
|
SmtpSenderUnitTests.java | 307 attachment.mMimeType = "image/jpg"; 333 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";");
|
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 269 assertEquals("text/calendar; method=REPLY", att.mMimeType); 308 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 370 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 436 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 518 assertEquals("text/calendar; method=CANCEL", att.mMimeType); [all...] |
/frameworks/base/core/java/android/app/ |
DownloadManager.java | 335 private String mMimeType; 457 mMimeType = mimeType; 535 putIfNonNull(values, Downloads.COLUMN_MIME_TYPE, mMimeType); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
QuickContactWindow.java | 741 private final String mMimeType; 758 mMimeType = mimeType; [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
Rfc822Output.java | 221 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\"");
|
/packages/apps/Email/src/com/android/email/ |
LegacyConversions.java | 363 localAttachment.mMimeType = part.getMimeType(); 377 // mFileName, mMimeType, mContentId, mMessageKey, mLocation 390 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue; [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
EmailContent.java | [all...] |
/packages/apps/Gallery3D/src/com/cooliris/cache/ |
CacheService.java | 333 item.mMimeType = Utils.readUTF(dis); 406 item.mMimeType = cursor.getString(CacheService.MEDIA_MIME_TYPE_INDEX); [all...] |