Home | History | Annotate | Download | only in filters

Lines Matching refs:xmp

23 import com.adobe.xmp.XMPException;
24 import com.adobe.xmp.XMPMeta;
83 XMPMeta xmp = ImageLoader.getXmpObject(MasterImage.getImage().getActivity());
84 // Do nothing, just use bitmapIn as is if we don't have XMP.
85 if(xmp != null) {
86 bitmapIn = applyXmp(bitmapIn, xmp, w);
110 private Bitmap applyXmp(Bitmap bitmapIn, XMPMeta xmp, int intermediateWidth) {
113 getInt(xmp, CROPPED_AREA_IMAGE_WIDTH_PIXELS);
115 getInt(xmp, CROPPED_AREA_IMAGE_HEIGHT_PIXELS);
117 getInt(xmp, CROPPED_AREA_FULL_PANO_WIDTH_PIXELS);
119 getInt(xmp, CROPPED_AREA_FULL_PANO_HEIGHT_PIXELS);
120 int left = getInt(xmp, CROPPED_AREA_LEFT);
121 int top = getInt(xmp, CROPPED_AREA_TOP);
153 private static int getInt(XMPMeta xmp, String key) throws XMPException {
154 if (xmp.doesPropertyExist(GOOGLE_PANO_NAMESPACE, key)) {
155 return xmp.getPropertyInteger(GOOGLE_PANO_NAMESPACE, key);