/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | MediaItem.java | 46 public String mMimeType; field in class:MediaItem 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();
|
H A D | 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")) {
|
H A D | PicasaDataSource.java | 174 item.mMimeType = photo.contentType;
|
H A D | Utils.java | 53 intent.setDataAndType(Uri.parse(item.mContentUri), item.mMimeType);
|
H A D | HudLayer.java | 359 Intent intent = Util.createSetAsIntent(Uri.parse(item.mContentUri), item.mMimeType); 710 mimeType = item.mMimeType;
|
H A D | CropImage.java | 138 connection.scanFile(path, item.mMimeType);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | BaseImage.java | 49 protected String mMimeType; field in class:BaseImage 67 mMimeType = mimeType; 133 return mMimeType;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadThread.java | 81 public String mMimeType; field in class:DownloadThread.State 90 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 [all...] |
H A D | DownloadService.java | 372 info.mMimeType); 382 info.mMimeType); 577 final String mimeType = info.mMimeType; 580 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType,
|
H A D | DownloadInfo.java | 69 info.mMimeType = getString(info.mMimeType, Downloads.Impl.COLUMN_MIME_TYPE); 218 public String mMimeType; field in class:DownloadInfo 500 Log.v(Constants.TAG, "MIMETYPE: " + mMimeType); 549 && !DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING.equalsIgnoreCase(mMimeType);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | 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);
|
H A D | ProviderTestUtils.java | 200 att.mMimeType = "mimeType " + fileName; 365 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType);
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
H A D | Rfc822OutputTests.java | 189 att.mMimeType = "text/calendar"; 233 att.mMimeType = "text/html";
|
H A D | SmtpSenderUnitTests.java | 307 attachment.mMimeType = "image/jpg"; 333 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";");
|
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
H A D | CalendarUtilitiesTests.java | 278 assertEquals("text/calendar; method=REPLY", att.mMimeType); 317 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 379 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 445 assertEquals("text/calendar; method=REQUEST", att.mMimeType); 527 assertEquals("text/calendar; method=CANCEL", att.mMimeType);
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
H A D | QuickContactWindow.java | 741 private final String mMimeType; field in class:QuickContactWindow.DataAction 758 mMimeType = mimeType; 881 return mMimeType; 936 if (!ContactsUtils.shouldCollapse(mContext, mMimeType, mBody, other.mMimeType, 940 if (!TextUtils.equals(mMimeType, other.mMimeType)
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
H A D | Rfc822Output.java | 221 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\"");
|
/packages/apps/Email/src/com/android/email/ |
H A D | LegacyConversions.java | 363 localAttachment.mMimeType = part.getMimeType(); 377 // mFileName, mMimeType, mContentId, mMessageKey, mLocation 390 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue;
|
H A D | MessagingController.java | 1864 attachment.mMimeType,
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailContent.java | 1662 public String mMimeType; field in class:EmailContent.Attachment 1787 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); 1804 values.put(AttachmentColumns.MIME_TYPE, mMimeType); 1825 dest.writeString(mMimeType); 1846 mMimeType = in.readString(); 1877 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", "
|
/packages/apps/Gallery3D/src/com/cooliris/cache/ |
H A D | CacheService.java | 333 item.mMimeType = Utils.readUTF(dis); 406 item.mMimeType = cursor.getString(CacheService.MEDIA_MIME_TYPE_INDEX); 1206 Utils.writeUTF(dos, item.mMimeType);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageCompose.java | 1078 attachment.mMimeType = contentType; 1325 if (MimeUtility.mimeTypeMatches(attachment.mMimeType,
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapter.java | 371 att.mMimeType = getMimeTypeFromFileName(fileName);
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | LegacyConversionsTests.java | 428 assertEquals(tag, expected.getMimeType(), actual.mMimeType);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsDatabaseHelper.java | 1745 long mMimeType; 1747 mMimeType = DatabaseUtils.longForQuery(db, 1769 DataColumns.MIMETYPE_ID + "=" + mMimeType, null, null, null, null);
|