Home
last modified time | relevance | path

Searched refs:mMetadata (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DMediaViewTest.java43 private Bundle mMetadata; field in MediaViewTest
58 mMetadata = new Bundle(); in setUp()
59 TestMetadata.populateExifData(mMetadata); in setUp()
60 TestMetadata.populateVideoData(mMetadata); in setUp()
61 TestMetadata.populateAudioData(mMetadata); in setUp()
72 Bundle exif = mMetadata.getBundle(DocumentsContract.METADATA_EXIF); in testShowExifData()
98 mMetadata.putBundle(DocumentsContract.METADATA_EXIF, data); in testShowExifData_PartialGpsTags()
99 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, mMetadata, null, mGeo); in testShowExifData_PartialGpsTags()
113 mMetadata.putBundle(DocumentsContract.METADATA_EXIF, data); in testShowExifData_PartialDimensionTags()
114 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, mMetadata, null, mGeo); in testShowExifData_PartialDimensionTags()
[all …]
DInspectorControllerTest.java101 mDataSupplier.mMetadata = new Bundle(); in setUp()
102 TestMetadata.populateExifData(mDataSupplier.mMetadata); in setUp()
254 mDataSupplier.mMetadata = null; // sorry, no results sucka! in testMetadata_notDisplayedWhenNotReturned()
412 private @Nullable Bundle mMetadata; field in InspectorControllerTest.TestDataSupplier
421 callback.accept(mMetadata); in getDocumentMetadata()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DMetadataFuture.java33 private final SettableFuture<TotalCaptureResultProxy> mMetadata; field in MetadataFuture
36 mMetadata = SettableFuture.create(); in MetadataFuture()
42 mMetadata.set(new AndroidTotalCaptureResultProxy(result)); in onCompleted()
49 mMetadata.cancel(true); in onFailed()
51 mMetadata.setException(new IllegalStateException("CaptureFailure.REASON_ERROR!")); in onFailed()
56 return mMetadata; in getMetadata()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java147 private TotalCaptureResult mMetadata = null; field in ImageCaptureManager.CapturedImage
164 mMetadata = null; in reset()
172 return mImage != null && mMetadata != null; in isComplete()
204 if (mMetadata != null) { in addMetadata()
208 mMetadata = metadata; in addMetadata()
216 return mMetadata; in tryGetMetadata()
226 if (mMetadata != null) { in tryGetTimestamp()
227 return mMetadata.get(TotalCaptureResult.SENSOR_TIMESTAMP); in tryGetTimestamp()
310 mMetadata = new ConcurrentHashMap<CaptureResult.Key<?>, Pair<Long, Object>>(); field in ImageCaptureManager
431 Pair<Long, Object> oldEntry = mMetadata.get(key); in updateMetadataChangeListeners()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMetadataLoader.java39 private @Nullable Bundle mMetadata; field in MetadataLoader
60 if (mMetadata != null) { in onStartLoading()
61 deliverResult(mMetadata); in onStartLoading()
63 if (takeContentChanged() || mMetadata == null) { in onStartLoading()
73 mMetadata = metadata; in deliverResult()
95 mMetadata = null; in onReset()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java122 private final MutableLiveData<MediaItemMetadata> mMetadata = dataOf(null); field in PlaybackViewModel
163 return mMetadata; in getMetadata()
283 mMetadata.setValue(item); in onMetadataChanged()
326 private final MediaMetadataCompat mMetadata; field in PlaybackViewModel.PlaybackStateWrapper
332 mMetadata = metadata; in PlaybackStateWrapper()
338 return (mMetadata != null) || (getMainAction() != ACTION_DISABLED); in shouldDisplay()
380 return mMetadata == null ? 0 : in getMaxProgress()
381 mMetadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION); in getMaxProgress()
493 if (mMetadata != null) { in getRatingAction()
494 RatingCompat rating = mMetadata.getRating( in getRatingAction()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMetadataImage.java29 private final ListenableFuture<TotalCaptureResultProxy> mMetadata; field in MetadataImage
39 mMetadata = metadata; in MetadataImage()
46 return mMetadata; in getMetadata()