/packages/apps/Gallery3D/src/com/cooliris/media/ |
D | MediaItem.java | 46 public String mMimeType; field in MediaItem 123 … mMediaType = (mMimeType != null && mMimeType.startsWith(VIDEO)) ? MediaItem.MEDIA_TYPE_VIDEO in getMediaType() 134 if (mDisplayMimeType == null && mMimeType != null) { in getDisplayMimeType() 135 int slashPos = mMimeType.indexOf('/'); in getDisplayMimeType() 136 if (slashPos != -1 && slashPos + 1 < mMimeType.length()) { in getDisplayMimeType() 137 mDisplayMimeType = mMimeType.substring(slashPos + 1).toUpperCase(); in getDisplayMimeType() 139 mDisplayMimeType = mMimeType.toUpperCase(); in getDisplayMimeType()
|
D | MediaItemTexture.java | 65 if (item.mMimeType != null && item.mMimeType.contains("video")) { in computeCache() 83 if (mItem.mParentMediaSet == null || mItem.mMimeType == null) in isUncachedVideo() 85 … if (mItem.mParentMediaSet.mPicasaAlbumId == Shared.INVALID && mItem.mMimeType.contains("video")) { in isUncachedVideo() 130 if (item.mMimeType != null && item.mMimeType.contains("video")) { in load()
|
D | Utils.java | 53 intent.setDataAndType(Uri.parse(item.mContentUri), item.mMimeType); in playVideo()
|
D | PicasaDataSource.java | 174 item.mMimeType = photo.contentType; in addItemsToFeed()
|
D | HudLayer.java | 359 … Intent intent = Util.createSetAsIntent(Uri.parse(item.mContentUri), item.mMimeType); in buildMoreOptions() 710 mimeType = item.mMimeType; in updateShareMenu()
|
D | CropImage.java | 138 connection.scanFile(path, item.mMimeType); in launchCropperOrFinish()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | BaseImage.java | 49 protected String mMimeType; field in BaseImage 67 mMimeType = mimeType; in BaseImage() 133 return mMimeType; in getMimeType()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 81 public String mMimeType; field in DownloadThread.State 90 mMimeType = sanitizeMimeType(info.mMimeType); in State() 203 state.mNewUri, state.mMimeType); in run() 339 return DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING.equalsIgnoreCase(state.mMimeType); in isDrmFile() 355 state.mMimeType = item.getType(); in transferToDrm() 548 state.mMimeType, in processResponseHeaders() 581 if (state.mMimeType != null) { in updateDatabaseFromHeaders() 582 values.put(Downloads.Impl.COLUMN_MIME_TYPE, state.mMimeType); in updateDatabaseFromHeaders() 601 if (state.mMimeType == null) { in readResponseHeaders() 604 state.mMimeType = sanitizeMimeType(header.getValue()); in readResponseHeaders() [all …]
|
D | DownloadInfo.java | 69 info.mMimeType = getString(info.mMimeType, Downloads.Impl.COLUMN_MIME_TYPE); in updateFromDatabase() 218 public String mMimeType; field in DownloadInfo 500 Log.v(Constants.TAG, "MIMETYPE: " + mMimeType); in logVerboseInfo() 549 && !DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING.equalsIgnoreCase(mMimeType); in shouldScanFile()
|
D | DownloadService.java | 372 info.mMimeType); in run() 382 info.mMimeType); in run() 577 final String mimeType = info.mMimeType; in scanFile() 580 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType, in scanFile()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 221 newAttachment2.mMimeType = "image/jpg"; in testGetType() 226 newAttachment3.mMimeType = "text/plain"; in testGetType() 231 newAttachment4.mMimeType = "application/octet-stream"; in testGetType() 236 newAttachment5.mMimeType = "application/octet-stream"; in testGetType() 241 newAttachment6.mMimeType = ""; in testGetType() 368 newAttachment2.mMimeType = "image/png"; in testOpenFile() 431 newAttachment2.mMimeType = "image/png"; in testOpenThumbnail() 646 cv.put("mime_type", newAttachment.mMimeType); in addAttachmentToDb()
|
D | ProviderTestUtils.java | 200 att.mMimeType = "mimeType " + fileName; in setupAttachment() 365 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType); in assertAttachmentEqual()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | Rfc822OutputTests.java | 189 att.mMimeType = "text/calendar"; in testWriteToAlternativePart() 233 att.mMimeType = "text/html"; in testWriteToMixedPart()
|
D | SmtpSenderUnitTests.java | 307 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment() 333 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
|
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 278 assertEquals("text/calendar; method=REPLY", att.mMimeType); in testCreateMessageForEntity_Reply() 317 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite_AllDay() 379 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite() 445 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Recurring() 527 assertEquals("text/calendar; method=CANCEL", att.mMimeType); in testCreateMessageForEntity_Exception_Cancel()
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
D | QuickContactWindow.java | 741 private final String mMimeType; field in QuickContactWindow.DataAction 758 mMimeType = mimeType; in DataAction() 881 return mMimeType; in getMimeType() 936 if (!ContactsUtils.shouldCollapse(mContext, mMimeType, mBody, other.mMimeType, in shouldCollapseWith() 940 if (!TextUtils.equals(mMimeType, other.mMimeType) in shouldCollapseWith()
|
/packages/apps/Email/src/com/android/email/ |
D | LegacyConversions.java | 363 localAttachment.mMimeType = part.getMimeType(); in addOneAttachment() 390 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue; in addOneAttachment()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailContent.java | 1662 public String mMimeType; field in EmailContent.Attachment 1787 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); in restore() 1804 values.put(AttachmentColumns.MIME_TYPE, mMimeType); in toContentValues() 1825 dest.writeString(mMimeType); in writeToParcel() 1846 mMimeType = in.readString(); in Attachment() 1877 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | Rfc822Output.java | 221 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
|
/packages/apps/Gallery3D/src/com/cooliris/cache/ |
D | CacheService.java | 333 item.mMimeType = Utils.readUTF(dis); in loadMediaItemsIntoMediaFeed() 406 item.mMimeType = cursor.getString(CacheService.MEDIA_MIME_TYPE_INDEX); in populateMediaItemFromCursor() 1206 Utils.writeUTF(dos, item.mMimeType); in writeItemsForASet()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 1078 attachment.mMimeType = contentType; in loadAttachmentInfo() 1325 if (MimeUtility.mimeTypeMatches(attachment.mMimeType, in initFromIntent()
|
D | MessageView.java | 1008 AttachmentProvider.inferMimeType(attachment.mFileName, attachment.mMimeType); in addAttachment()
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 371 att.mMimeType = getMimeTypeFromFileName(fileName); in attachmentParser()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 1745 long mMimeType; in upgradeStructuredNamesToVersion205() local 1747 mMimeType = DatabaseUtils.longForQuery(db, in upgradeStructuredNamesToVersion205() 1769 DataColumns.MIMETYPE_ID + "=" + mMimeType, null, null, null, null); in upgradeStructuredNamesToVersion205()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 428 assertEquals(tag, expected.getMimeType(), actual.mMimeType); in checkAttachment()
|