Home
last modified time | relevance | path

Searched refs:mMimeType (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java38 private final String mMimeType; field in FilmstripItemData
62 mMimeType = mimeType; in FilmstripItemData()
89 return mMimeType; in getMimeType()
159 sb.append(mMimeType); in toString()
186 private String mMimeType = ""; field in FilmstripItemData.Builder
204 mMimeType, in build()
220 builder.mMimeType = data.getMimeType(); in from()
242 mMimeType = mimeType; in withMimeType()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java31 private @MetricConsts.Mime int mMimeType; field in PickResult
143 return mMimeType; in getMimeType()
152 this.mMimeType = mimeType; in setMimeType()
211 out.writeInt(mMimeType); in writeToParcel()
230 result.mMimeType = in.readInt();
249 ", mMimeType=" + mMimeType + in toString()
DCreatePickedDocumentTask.java46 private final String mMimeType; field in CreatePickedDocumentTask
64 mMimeType = mimeType; in CreatePickedDocumentTask()
79 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java34 private final String mMimeType; field in CloudProviderQueryExtras
44 mMimeType = STRING_DEFAULT; in CloudProviderQueryExtras()
56 mMimeType = mimeType; in CloudProviderQueryExtras()
114 qfb.setMimeType(mMimeType); in toQueryFilter()
124 extras.putString(CloudMediaProviderContract.EXTRA_MIME_TYPE, mMimeType); in toCloudMediaBundle()
139 return mMimeType; in getMimeType()
DPickerDbFacade.java548 private final String mMimeType; field in PickerDbFacade.QueryFilter
561 this.mMimeType = mimeType; in QueryFilter()
740 if (query.mMimeType != null) { in getMergedAlbums()
742 selectionArgs.add(query.mMimeType.replace('*', '%')); in getMergedAlbums()
1007 if (query.mMimeType != null) { in buildSelectionArgs()
1009 selectArgs.add(replaceMatchAnyChar(query.mMimeType)); in buildSelectionArgs()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java52 private String mMimeType; field in Item
69 mMimeType = mimeType; in Item()
119 return mMimeType; in getMimeType()
163 mMimeType = getCursorString(cursor, MediaColumns.MIME_TYPE); in updateFromCursor()
201 if (MimeUtils.isImageMimeType(mMimeType)) { in parseMimeType()
203 } else if (MimeUtils.isVideoMimeType(mMimeType)) { in parseMimeType()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java120 private final String mMimeType; field in DownloadService.DownloadTask
131 this.mMimeType = mimeType; in DownloadTask()
295 updateNotification(nm, NOTE_DOWNLOAD_PROGRESS, task.mMimeType, in processDownload()
336 updateNotification(nm, NOTE_DOWNLOAD_DONE, task.mMimeType, in processDownload()
340 updateNotification(nm, NOTE_DOWNLOAD_DONE, task.mMimeType, in processDownload()
346 mProgressCallback.onDownloadComplete(task.mOutFile, task.mMimeType, in processDownload()
377 final boolean isDirectlyOpenType = isDirectlyOpenType(task.mMimeType); in downloadToFile()
379 sDirectlyOpenMimeType.get(task.mMimeType), Integer.MAX_VALUE); in downloadToFile()
387 notifyDownloadAborted(task.mId, task.mMimeType, in downloadToFile()
457 updateNotification(nm, NOTE_DOWNLOAD_PROGRESS, task.mMimeType, note); in maybeNotifyProgress()
DCaptivePortalLoginActivity.java244 req.mFilename, req.mOutFile, getApplicationContext(), req.mMimeType); in maybeStartPendingDownloads()
245 if (isDirectlyOpenType(req.mMimeType)) { in maybeStartPendingDownloads()
276 @NonNull final String mMimeType; field in CaptivePortalLoginActivity.DownloadRequest
285 mMimeType = mimeType; in DownloadRequest()
625 pendingRequest.mFilename, pendingRequest.mMimeType, fileUri)); in onActivityResult()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java57 private final String mMimeType; field in DataAction
78 mMimeType = item.getMimeType(); in DataAction()
260 return mMimeType; in getMimeType()
327 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
330 if (!TextUtils.equals(mMimeType, that.mMimeType) in shouldCollapseWith()
DExpandingEntryCardView.java956 private final String mMimeType; field in ExpandingEntryCardView.EntryContextMenuInfo
964 mMimeType = mimeType; in EntryContextMenuInfo()
978 return mMimeType; in getMimeType()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DImageData.java21 private final String mMimeType; field in ImageData
27 mMimeType = mimeType; in ImageData()
36 return mMimeType; in getMimeType()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideo.java26 private final String mMimeType; field in Video
30 mMimeType = mimeType; in Video()
38 return mMimeType; in getMimeType()
DAudio.java26 private final String mMimeType; field in Audio
36 mMimeType = mimeType; in Audio()
44 return mMimeType; in getMimeType()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java58 private String mMimeType; field in SharePopup
112 mMimeType = mContext.getContentResolver().getType(mUri); in SharePopup()
136 if (mMimeType.startsWith("video/")) { in SharePopup()
182 if (mMimeType.startsWith("video/")) { in setOrientation()
240 new Intent(Intent.ACTION_SEND).setType(mMimeType), 0); in createShareMenu()
277 intent.setType(mMimeType); in onItemClick()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java149 public String mMimeType; field in DownloadThread.DownloadInfoDelta
170 mMimeType = info.mMimeType; in DownloadInfoDelta()
184 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType); in buildContentValues()
343 || DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in run()
552 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in transferData()
554 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
782 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
790 if (mInfoDelta.mMimeType == null) { in parseOkHeaders()
791 mInfoDelta.mMimeType = Intent.normalizeMimeType(conn.getContentType()); in parseOkHeaders()
DDownloadInfo.java71 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase()
160 public String mMimeType; field in DownloadInfo
416 pw.printPair("mMimeType", mMimeType); in dump()
DDownloadScanner.java79 requestScanBlocking(context, info.mId, info.mFileName, info.mMimeType); in requestScanBlocking()
DDownloadProvider.java992 mediaValues.put(MediaStore.Downloads.MIME_TYPE, info.mMimeType); in convertToMediaProviderValues()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImage.java49 protected String mMimeType; field in BaseImage
67 mMimeType = mimeType; in BaseImage()
133 return mMimeType; in getMimeType()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java89 public String mMimeType; field in ClientPlaylistTest
109 Log.d(TAG, "Using MIME type " + mMimeType); in setUp()
123 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testAdd()
257 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testVolumeName()
297 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in createPlaylist()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java72 private final String mMimeType; field in ArchiveHandle
90 mMimeType = mimeType; in ArchiveHandle()
114 return mMimeType; in getMimeType()