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

/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
H A DAcceptableZslImageFilter.java42 public boolean apply(TotalCaptureResultProxy metadata) { argument
44 result &= isLensStationary(metadata);
46 result &= isAFAcceptable(metadata);
49 result &= isAEAcceptable(metadata);
54 private boolean isLensStationary(TotalCaptureResultProxy metadata) { argument
55 Integer lensState = metadata.get(CaptureResult.LENS_STATE);
68 private boolean isAEAcceptable(TotalCaptureResultProxy metadata) { argument
69 Integer aeState = metadata.get(CaptureResult.CONTROL_AE_STATE);
84 private boolean isAFAcceptable(TotalCaptureResultProxy metadata) { argument
85 Integer afState = metadata
[all...]
H A DZslImageCaptureCommand.java50 * on metadata) images. If no such images are available, a fallback
126 TotalCaptureResultProxy metadata = null;
134 metadata = metadataFuture.get();
137 // If we cannot get metadata for an image, for whatever
156 return new Pair<>(imageToSave, metadata);
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageToProcess.java33 public final ListenableFuture<TotalCaptureResultProxy> metadata; field in class:ImageToProcess
39 * @param metadata The capture result metadata associated with this image.
46 ListenableFuture<TotalCaptureResultProxy> metadata, Rect crop) {
49 this.metadata = metadata;
58 * @param metadata The capture result metadata associated with this image.
61 ListenableFuture<TotalCaptureResultProxy> metadata) {
62 this(proxy, imageRotation, metadata, ne
45 ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, ListenableFuture<TotalCaptureResultProxy> metadata, Rect crop) argument
60 ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, ListenableFuture<TotalCaptureResultProxy> metadata) argument
[all...]
H A DTaskCompressImageToJpeg.java342 img.metadata);
360 final ListenableFuture<TotalCaptureResultProxy> requestMetadata = img.metadata;
/packages/apps/Camera2/src/com/android/camera/data/
H A DPanoramaMetadataLoader.java29 * Extracts panorama metadata from the item with the given URI and fills the
30 * {@code metadata}.
33 Metadata metadata) {
42 metadata.setPanorama(true);
43 metadata.setPanorama360(panoramaMetadata.mIsPanorama360);
44 metadata.setUsePanoramaViewer(panoramaMetadata.mUsePanoramaViewer);
32 loadPanoramaMetadata(final Context context, Uri contentUri, Metadata metadata) argument
H A DRgbzMetadataLoader.java30 * Checks whether this file is an RGBZ file and fill in the metadata.
35 final Context context, Uri contentUri, Metadata metadata) {
37 metadata.setHasRgbzData(true);
34 loadRgbzMetadata( final Context context, Uri contentUri, Metadata metadata) argument
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DGroupingListAdapter.java196 long metadata = ((long)size << 32) | cursorPosition;
198 metadata |= EXPANDED_GROUP_MASK;
200 mGroupMetadata[mGroupCount++] = metadata;
230 long metadata = mGroupMetadata[i];
231 int offset = (int)(metadata & GROUP_OFFSET_MASK);
232 boolean expanded = (metadata & EXPANDED_GROUP_MASK) != 0;
233 int size = (int)((metadata & GROUP_SIZE_MASK) >> 32);
255 public void obtainPositionMetadata(PositionMetadata metadata, int position) { argument
257 if (metadata.listPosition == position) {
327 metadata
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMetadataImage.java25 * An ImageProxy decorator that attaches a TotalCaptureResultProxy metadata to
35 * @param metadata The TotalCaptureResultProxy metadata associated with image.
37 public MetadataImage(ImageProxy image, ListenableFuture<TotalCaptureResultProxy> metadata) { argument
39 mMetadata = metadata;
43 * @return The TotalCaptureResultProxy metadata associated with image.
H A DSingleImageSaver.java30 * present). Note that the metadata future may be cancelled or result in an
35 ListenableFuture<TotalCaptureResultProxy> metadata);
34 saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, ListenableFuture<TotalCaptureResultProxy> metadata) argument
H A DImageSaver.java77 * metadata. Note that the metadata future may be cancelled or result in an
85 metadata);
84 addFullSizeImage(ImageProxy imageProxy, ListenableFuture<TotalCaptureResultProxy> metadata) argument
H A DMostRecentImageSaver.java55 ListenableFuture<TotalCaptureResultProxy> metadata) {
56 mFullSizeImages.put(imageProxy.getTimestamp(), new MetadataImage(imageProxy, metadata));
54 addFullSizeImage(ImageProxy imageProxy, ListenableFuture<TotalCaptureResultProxy> metadata) argument
H A DJpegImageBackendImageSaver.java76 ListenableFuture<TotalCaptureResultProxy> metadata) {
88 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata,
75 saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, ListenableFuture<TotalCaptureResultProxy> metadata) argument
H A DYuvImageBackendImageSaver.java75 ListenableFuture<TotalCaptureResultProxy> metadata) {
89 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata,
74 saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, ListenableFuture<TotalCaptureResultProxy> metadata) argument
/packages/apps/Camera2/src/com/android/camera/util/
H A DCaptureDataSerializer.java57 public static String toString(String title, CaptureRequest metadata) { argument
59 dumpMetadata(title, metadata, writer);
67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { argument
71 if (metadata instanceof CaptureRequest) {
72 dumpMetadata(title, (CaptureRequest) metadata, writer);
73 } else if (metadata instanceof CaptureResult) {
74 dumpMetadata(title, (CaptureResult) metadata, writer);
78 + metadata.getClass().getName());
90 private static void dumpMetadata(final String title, final CaptureRequest metadata, argument
95 List<CaptureRequest.Key<?>> keys = metadata
113 dumpMetadata(final String title, final CaptureResult metadata, Writer writer) argument
164 dumpMetadata(Writeable metadata, Writer writer) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
H A DMetadataPoolImpl.java89 public void update(@Nonnull TotalCaptureResultProxy metadata) { argument
90 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP);
92 future.set(metadata);
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DGroupingListAdapterTests.java292 GroupingListAdapter.PositionMetadata metadata = new GroupingListAdapter.PositionMetadata();
293 mAdapter.obtainPositionMetadata(metadata, position);
294 assertEquals(itemType, metadata.itemType);
295 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) {
296 assertEquals(isExpanded, metadata.isExpanded);
298 assertEquals(cursorPosition, metadata.cursorPosition);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DUninstallManager.java81 final Bundle metadata = ri.activityInfo.metaData;
82 if (metadata != null) {
83 final String metaPkg = metadata.getString(ActivityManager.META_HOME_ALTERNATE);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMetadataHandler.java31 * Helper class to easy up manipulation of dictionary pack metadata.
37 // The canonical file name for metadata. This is not the name of a real file on the
38 // device, but a symbolic name used in the database and in metadata handling. It is never
39 // tested against, only used for human-readability as the file name for the metadata.
40 public static final String METADATA_FILENAME = "metadata.json";
43 * Reads the data from the cursor and store it in metadata objects.
45 * @return the constructed list of wordlist metadata.
88 * Gets the whole metadata, for installed and not installed dictionaries.
91 * @return The current metadata.
109 * Gets the metadata, fo
158 findWordListById(final List<WordListMetadata> metadata, final String id) argument
[all...]
H A DUpdateHandler.java87 // Table fixed values for metadata / downloads
88 final static String METADATA_NAME = "metadata";
139 * Write the DownloadManager ID of the currently downloading metadata to permanent storage.
142 * @param uri the uri of the metadata
179 * Download latest metadata from the server through DownloadManager for all known clients
204 // If the metadata URI is empty, that means we should never update it at all.
205 // It should not be possible to come here with a null metadata URI, because
217 * Download latest metadata from the server through DownloadManager for all relevant clients
236 // Do not show the notification when downloading the metadata.
298 * If we are not currently updating metadata fo
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DConvergedImageCaptureCommand.java191 List<ListenableFuture<TotalCaptureResultProxy>> metadata = new ArrayList<>(mBurst.size());
208 metadata.add(metadataFuture.getMetadata());
220 imageSaver.addFullSizeImage(image, metadata.get(i));
/packages/experimental/PrintApp/src/foo/bar/permission2/
H A DPrintActivity.java104 final Bundle metadata) {
108 + "preview:" + metadata.getBoolean(
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DImageCaptureManager.java79 * Callback for listening to changes to individual metadata values.
83 * This will be called whenever a metadata value changes.
129 * @param captureResult The metadata associated with the image.
151 * metadata.
168 * @return true if both the image and metadata are present, false
198 * Adds the metadata. Note that this can only be called once before a
201 * @param metadata the {@Link TotalCaptureResult} to add.
203 public void addMetadata(TotalCaptureResult metadata) { argument
208 mMetadata = metadata;
355 * Adds a metadata strea
[all...]
/packages/experimental/PrintApp/src/foo/bar/print/
H A DPrintActivity.java90 final Bundle metadata) {
/packages/apps/Settings/src/com/android/settings/applications/
H A DInstalledAppDetails.java485 final Bundle metadata = ri.activityInfo.metaData;
486 if (metadata != null) {
487 final String metaPkg = metadata.getString(ActivityManager.META_HOME_ALTERNATE);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 874 milliseconds