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/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java120 private final String mMimeType; field in DownloadService.DownloadTask
131 this.mMimeType = mimeType; in DownloadTask()
297 updateNotification(nm, NOTE_DOWNLOAD_PROGRESS, task.mMimeType, in processDownload()
338 updateNotification(nm, NOTE_DOWNLOAD_DONE, task.mMimeType, in processDownload()
342 updateNotification(nm, NOTE_DOWNLOAD_DONE, task.mMimeType, in processDownload()
348 mProgressCallback.onDownloadComplete(task.mOutFile, task.mMimeType, in processDownload()
379 final boolean isDirectlyOpenType = isDirectlyOpenType(task.mMimeType); in downloadToFile()
381 sDirectlyOpenMimeType.get(task.mMimeType), Integer.MAX_VALUE); in downloadToFile()
389 notifyDownloadAborted(task.mId, task.mMimeType, in downloadToFile()
459 updateNotification(nm, NOTE_DOWNLOAD_PROGRESS, task.mMimeType, note); in maybeNotifyProgress()
[all …]
DCaptivePortalLoginActivity.java239 req.mFilename, req.mOutFile, getApplicationContext(), req.mMimeType); in maybeStartPendingDownloads()
240 if (isDirectlyOpenType(req.mMimeType)) { in maybeStartPendingDownloads()
271 @NonNull final String mMimeType; field in CaptivePortalLoginActivity.DownloadRequest
280 mMimeType = mimeType; in DownloadRequest()
625 pendingRequest.mFilename, pendingRequest.mMimeType, fileUri)); in onActivityResult()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java62 private String mMimeType; field in Item
83 mMimeType = mimeType; in Item()
133 return mMimeType; in getMimeType()
176 mMimeType = getCursorString(cursor, MediaColumns.MIME_TYPE); in updateFromCursor()
215 if (MimeUtils.isImageMimeType(mMimeType)) { in parseMimeType()
217 } else if (MimeUtils.isVideoMimeType(mMimeType)) { in parseMimeType()
/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/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlPayload.java33 @Nullable private final String mMimeType; field in EventUrlPayload
39 mMimeType = mimeType; in EventUrlPayload()
51 return mMimeType; in getMimeType()
/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/Car/tests/CarFrameworkPackageStubsTest/src/com/android/car/frameworkpackagestubs/test/
DStubsTest.java63 private String mMimeType; field in StubsTest
73 mMimeType = null; in setUp()
95 if (mMimeType != null) { in checkIfHandleByStub()
96 intent.setType(mMimeType); in checkIfHandleByStub()
/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()
553 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in transferData()
555 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
783 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
791 if (mInfoDelta.mMimeType == null) { in parseOkHeaders()
792 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.java1009 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.java92 public String mMimeType; field in ClientPlaylistTest
112 Log.d(TAG, "Using MIME type " + mMimeType); in setUp()
126 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testAdd()
260 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testVolumeName()
300 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()