Home
last modified time | relevance | path

Searched refs:xmp (Results 1 – 11 of 11) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DXmpInterfaceTest.java58 final XmpInterface xmp = XmpInterface.fromContainer(in); in testContainer_Empty() local
59 assertNull(xmp.getFormat()); in testContainer_Empty()
60 assertNull(xmp.getDocumentId()); in testContainer_Empty()
61 assertNull(xmp.getInstanceId()); in testContainer_Empty()
62 assertNull(xmp.getOriginalDocumentId()); in testContainer_Empty()
70 final XmpInterface xmp = XmpInterface.fromContainer(in); in testContainer_ValidAttrs() local
71 assertEquals("image/dng", xmp.getFormat()); in testContainer_ValidAttrs()
72 assertEquals("xmp.did:041dfd42-0b46-4302-918a-836fba5016ed", xmp.getDocumentId()); in testContainer_ValidAttrs()
73 assertEquals("xmp.iid:041dfd42-0b46-4302-918a-836fba5016ed", xmp.getInstanceId()); in testContainer_ValidAttrs()
74 assertEquals("3F9DD7A46B26513A7C35272F0D623A06", xmp.getOriginalDocumentId()); in testContainer_ValidAttrs()
[all …]
DIsoInterfaceTest.java79 final XmpInterface xmp = XmpInterface.fromContainer(mp4); in testXmp() local
81 assertEquals("image/dng", xmp.getFormat()); in testXmp()
82 assertEquals("xmp.did:041dfd42-0b46-4302-918a-836fba5016ed", xmp.getDocumentId()); in testXmp()
83 assertEquals("xmp.iid:041dfd42-0b46-4302-918a-836fba5016ed", xmp.getInstanceId()); in testXmp()
84 assertEquals("3F9DD7A46B26513A7C35272F0D623A06", xmp.getOriginalDocumentId()); in testXmp()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterTinyPlanet.java23 import com.adobe.xmp.XMPException;
24 import com.adobe.xmp.XMPMeta;
83 XMPMeta xmp = ImageLoader.getXmpObject(MasterImage.getImage().getActivity()); in apply() local
85 if(xmp != null) { in apply()
86 bitmapIn = applyXmp(bitmapIn, xmp, w); in apply()
110 private Bitmap applyXmp(Bitmap bitmapIn, XMPMeta xmp, int intermediateWidth) { in applyXmp() argument
113 getInt(xmp, CROPPED_AREA_IMAGE_WIDTH_PIXELS); in applyXmp()
115 getInt(xmp, CROPPED_AREA_IMAGE_HEIGHT_PIXELS); in applyXmp()
117 getInt(xmp, CROPPED_AREA_FULL_PANO_WIDTH_PIXELS); in applyXmp()
119 getInt(xmp, CROPPED_AREA_FULL_PANO_HEIGHT_PIXELS); in applyXmp()
[all …]
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java41 import com.adobe.xmp.XMPException;
42 import com.adobe.xmp.XMPMeta;
270 XMPMeta xmp = XmpUtil.extractXMPMeta(is); in createPaddedSourceImage() local
272 if (xmp != null) { in createPaddedSourceImage()
274 sourceBitmap = createPaddedBitmap(sourceBitmap, xmp, size); in createPaddedSourceImage()
445 private static Bitmap createPaddedBitmap(Bitmap bitmapIn, XMPMeta xmp, int intermediateWidth) { in createPaddedBitmap() argument
448 getInt(xmp, CROPPED_AREA_IMAGE_WIDTH_PIXELS); in createPaddedBitmap()
450 getInt(xmp, CROPPED_AREA_IMAGE_HEIGHT_PIXELS); in createPaddedBitmap()
452 getInt(xmp, CROPPED_AREA_FULL_PANO_WIDTH_PIXELS); in createPaddedBitmap()
454 getInt(xmp, CROPPED_AREA_FULL_PANO_HEIGHT_PIXELS); in createPaddedBitmap()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java222 Object xmp = null; in getPanoramaXMPData() local
227 xmp = XmpUtilHelper.extractXMPMeta(is); in getPanoramaXMPData()
234 return xmp; in getPanoramaXMPData()
237 public boolean putPanoramaXMPData(File file, Object xmp) { in putPanoramaXMPData() argument
238 if (xmp != null) { in putPanoramaXMPData()
239 return XmpUtilHelper.writeXMPMeta(file.getAbsolutePath(), xmp); in putPanoramaXMPData()
356 Object xmp = getPanoramaXMPData(newSourceUri, preset); in processAndSaveImage() local
361 putPanoramaXMPData(mDestinationFile, xmp); in processAndSaveImage()
368 Object xmp = getPanoramaXMPData(newSourceUri, preset); in processAndSaveImage() local
374 putPanoramaXMPData(mDestinationFile, xmp); in processAndSaveImage()
[all …]
DXmpPresets.java23 import com.adobe.xmp.XMPException;
24 import com.adobe.xmp.XMPMeta;
25 import com.adobe.xmp.XMPMetaFactory;
/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java19 import com.adobe.xmp.XMPException;
20 import com.adobe.xmp.XMPMeta;
21 import com.adobe.xmp.XMPMetaFactory;
22 import com.adobe.xmp.options.SerializeOptions;
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java890 XmpInterface xmp, String mimeType) { in withXmpValues() argument
892 parseOptionalMimeType(mimeType, xmp.getFormat()), in withXmpValues()
895 op.withValue(MediaColumns.DOCUMENT_ID, xmp.getDocumentId()); in withXmpValues()
896 op.withValue(MediaColumns.INSTANCE_ID, xmp.getInstanceId()); in withXmpValues()
897 op.withValue(MediaColumns.ORIGINAL_DOCUMENT_ID, xmp.getOriginalDocumentId()); in withXmpValues()
898 op.withValue(MediaColumns.XMP, xmp.getRedactedXmp()); in withXmpValues()
996 final XmpInterface xmp = XmpInterface.fromContainer(iso); in scanItemAudio() local
997 withXmpValues(op, xmp, mimeType); in scanItemAudio()
1074 final XmpInterface xmp = XmpInterface.fromContainer(iso); in scanItemVideo() local
1075 withXmpValues(op, xmp, mimeType); in scanItemVideo()
[all …]
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/
DXmpUtilHelper.java19 import com.adobe.xmp.XMPMeta;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java36 import com.adobe.xmp.XMPException;
37 import com.adobe.xmp.XMPMeta;
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt347 field public static final String XMP = "xmp";