Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java57 public static String toString(String title, CaptureRequest metadata) { in toString() argument
59 dumpMetadata(title, metadata, writer); in toString()
67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { in toFile() argument
71 if (metadata instanceof CaptureRequest) { in toFile()
72 dumpMetadata(title, (CaptureRequest) metadata, writer); in toFile()
73 } else if (metadata instanceof CaptureResult) { in toFile()
74 dumpMetadata(title, (CaptureResult) metadata, writer); in toFile()
78 + metadata.getClass().getName()); in toFile()
90 private static void dumpMetadata(final String title, final CaptureRequest metadata, in dumpMetadata() argument
95 List<CaptureRequest.Key<?>> keys = metadata.getKeys(); in dumpMetadata()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DAcceptableZslImageFilter.java42 public boolean apply(TotalCaptureResultProxy metadata) { in apply() argument
44 result &= isLensStationary(metadata); in apply()
46 result &= isAFAcceptable(metadata); in apply()
49 result &= isAEAcceptable(metadata); in apply()
54 private boolean isLensStationary(TotalCaptureResultProxy metadata) { in isLensStationary() argument
55 Integer lensState = metadata.get(CaptureResult.LENS_STATE); in isLensStationary()
68 private boolean isAEAcceptable(TotalCaptureResultProxy metadata) { in isAEAcceptable() argument
69 Integer aeState = metadata.get(CaptureResult.CONTROL_AE_STATE); in isAEAcceptable()
84 private boolean isAFAcceptable(TotalCaptureResultProxy metadata) { in isAFAcceptable() argument
85 Integer afState = metadata.get(CaptureResult.CONTROL_AF_STATE); in isAFAcceptable()
DZslImageCaptureCommand.java126 TotalCaptureResultProxy metadata = null; in tryGetZslImage() local
134 metadata = metadataFuture.get(); in tryGetZslImage()
156 return new Pair<>(imageToSave, metadata); in tryGetZslImage()
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
DDemoMediaRenderer.java51 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() argument
52 Log.d(TAG, "onMetadataChanged: " + metadata); in onMetadataChanged()
53 if (metadata != null) { in onMetadataChanged()
54 CharSequence artist = metadata.getText(MediaMetadata.METADATA_KEY_ARTIST); in onMetadataChanged()
55 CharSequence album = metadata.getText(MediaMetadata.METADATA_KEY_ALBUM); in onMetadataChanged()
56 CharSequence track = metadata.getText(MediaMetadata.METADATA_KEY_TITLE); in onMetadataChanged()
57 Bitmap bitmap = getMetadataBitmap(metadata); in onMetadataChanged()
67 private Bitmap getMetadataBitmap(MediaMetadata metadata) { in getMetadataBitmap() argument
70 Bitmap bitmap = metadata.getBitmap(PREFERRED_BITMAP_ORDER[i]); in getMetadataBitmap()
DMediaStateMonitor.java108 private void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() argument
109 mListener.onMetadataChanged(metadata); in onMetadataChanged()
114 void onMetadataChanged(MediaMetadata metadata); in onMetadataChanged() argument
134 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() argument
137 service.onMetadataChanged(metadata); in onMetadataChanged()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageToProcess.java33 public final ListenableFuture<TotalCaptureResultProxy> metadata; field in ImageToProcess
46 ListenableFuture<TotalCaptureResultProxy> metadata, Rect crop) { in ImageToProcess() argument
49 this.metadata = metadata; in ImageToProcess()
61 ListenableFuture<TotalCaptureResultProxy> metadata) { in ImageToProcess() argument
62 this(proxy, imageRotation, metadata, new Rect(0, 0, proxy.getWidth(), proxy.getHeight())); in ImageToProcess()
DTaskCompressImageToJpeg.java342 img.metadata); in run()
360 final ListenableFuture<TotalCaptureResultProxy> requestMetadata = img.metadata; in run()
/packages/apps/Camera2/src/com/android/camera/data/
DPanoramaMetadataLoader.java33 Metadata metadata) { in loadPanoramaMetadata() argument
42 metadata.setPanorama(true); in loadPanoramaMetadata()
43 metadata.setPanorama360(panoramaMetadata.mIsPanorama360); in loadPanoramaMetadata()
44 metadata.setUsePanoramaViewer(panoramaMetadata.mUsePanoramaViewer); in loadPanoramaMetadata()
DRgbzMetadataLoader.java35 final Context context, Uri contentUri, Metadata metadata) { in loadRgbzMetadata() argument
37 metadata.setHasRgbzData(true); in loadRgbzMetadata()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java417 StringBuilder metadata = new StringBuilder(); in getMultiAudioString() local
422 metadata.append(context.getString(R.string.multi_audio_channel_mono)); in getMultiAudioString()
425 metadata.append(context.getString(R.string.multi_audio_channel_stereo)); in getMultiAudioString()
428 metadata.append(context.getString(R.string.multi_audio_channel_surround_6)); in getMultiAudioString()
431 metadata.append(context.getString(R.string.multi_audio_channel_surround_8)); in getMultiAudioString()
435 metadata.append(context.getString(R.string.multi_audio_channel_suffix, in getMultiAudioString()
446 if (metadata.length() > 0) { in getMultiAudioString()
447 metadata.append(", "); in getMultiAudioString()
451 metadata.append(integerPart); in getMultiAudioString()
453 metadata.append("."); in getMultiAudioString()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataPoolImpl.java89 public void update(@Nonnull TotalCaptureResultProxy metadata) { in update() argument
90 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP); in update()
92 future.set(metadata); in update()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMetadataImage.java37 public MetadataImage(ImageProxy image, ListenableFuture<TotalCaptureResultProxy> metadata) { in MetadataImage() argument
39 mMetadata = metadata; in MetadataImage()
DMostRecentImageSaver.java55 ListenableFuture<TotalCaptureResultProxy> metadata) { in addFullSizeImage() argument
56 mFullSizeImages.put(imageProxy.getTimestamp(), new MetadataImage(imageProxy, metadata)); in addFullSizeImage()
DJpegImageBackendImageSaver.java76 ListenableFuture<TotalCaptureResultProxy> metadata) { in saveAndCloseImage() argument
88 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata, in saveAndCloseImage()
DYuvImageBackendImageSaver.java75 ListenableFuture<TotalCaptureResultProxy> metadata) { in saveAndCloseImage() argument
89 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata, in saveAndCloseImage()
DSingleImageSaver.java35 ListenableFuture<TotalCaptureResultProxy> metadata); in saveAndCloseImage() argument
DImageSaver.java85 metadata); in addFullSizeImage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DEnableDisablePreference.java90 final Bundle metadata = ri.activityInfo.metaData; in getHomePackages() local
91 if (metadata != null) { in getHomePackages()
92 final String metaPkg = metadata.getString(ActivityManager.META_HOME_ALTERNATE); in getHomePackages()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DConvergedImageCaptureCommand.java191 List<ListenableFuture<TotalCaptureResultProxy>> metadata = new ArrayList<>(mBurst.size()); in captureBurst() local
208 metadata.add(metadataFuture.getMetadata()); in captureBurst()
220 imageSaver.addFullSizeImage(image, metadata.get(i)); in captureBurst()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataHandler.java158 public static WordListMetadata findWordListById(final List<WordListMetadata> metadata, in findWordListById() argument
162 for (WordListMetadata wordList : metadata) { in findWordListById()
/packages/apps/Camera2/
D.gitignore12 # ignore OS X metadata
/packages/apps/TV/
D.gitignore8 .metadata/
/packages/experimental/PrintApp/src/foo/bar/permission2/
DPrintActivity.java106 final Bundle metadata) { in printView()
110 + "preview:" + metadata.getBoolean( in printView()
/packages/services/Telecomm/scripts/
Dtelecom_testing.sh95 --metadata-file "$T/out/target/common/obj/APPS/TelecomUnitTests_intermediates/coverage.em" \
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java203 public void addMetadata(TotalCaptureResult metadata) { in addMetadata() argument
208 mMetadata = metadata; in addMetadata()

12