Searched refs:mMimeType (Results 1 - 25 of 27) sorted by relevance

12

/packages/apps/Gallery3D/src/com/cooliris/media/
H A DMediaItem.java46 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 DMediaItemTexture.java65 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 DPicasaDataSource.java174 item.mMimeType = photo.contentType;
H A DUtils.java53 intent.setDataAndType(Uri.parse(item.mContentUri), item.mMimeType);
H A DHudLayer.java359 Intent intent = Util.createSetAsIntent(Uri.parse(item.mContentUri), item.mMimeType);
710 mimeType = item.mMimeType;
H A DCropImage.java138 connection.scanFile(path, item.mMimeType);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImage.java49 protected String mMimeType; field in class:BaseImage
67 mMimeType = mimeType;
133 return mMimeType;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java81 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 DDownloadService.java372 info.mMimeType);
382 info.mMimeType);
577 final String mimeType = info.mMimeType;
580 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType,
H A DDownloadInfo.java69 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 DAttachmentProviderTests.java221 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 DProviderTestUtils.java200 att.mMimeType = "mimeType " + fileName;
365 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DRfc822OutputTests.java189 att.mMimeType = "text/calendar";
233 att.mMimeType = "text/html";
H A DSmtpSenderUnitTests.java307 attachment.mMimeType = "image/jpg";
333 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";");
/packages/apps/Email/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java278 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 DQuickContactWindow.java741 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 DRfc822Output.java221 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\"");
/packages/apps/Email/src/com/android/email/
H A DLegacyConversions.java363 localAttachment.mMimeType = part.getMimeType();
377 // mFileName, mMimeType, mContentId, mMessageKey, mLocation
390 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue;
H A DMessagingController.java1864 attachment.mMimeType,
/packages/apps/Email/src/com/android/email/provider/
H A DEmailContent.java1662 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 DCacheService.java333 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 DMessageCompose.java1078 attachment.mMimeType = contentType;
1325 if (MimeUtility.mimeTypeMatches(attachment.mMimeType,
/packages/apps/Email/src/com/android/exchange/adapter/
H A DEmailSyncAdapter.java371 att.mMimeType = getMimeTypeFromFileName(fileName);
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java428 assertEquals(tag, expected.getMimeType(), actual.mMimeType);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java1745 long mMimeType;
1747 mMimeType = DatabaseUtils.longForQuery(db,
1769 DataColumns.MIMETYPE_ID + "=" + mMimeType, null, null, null, null);

Completed in 379 milliseconds

12