Home | History | Annotate | Download | only in cache

Lines Matching refs:ORIENTATION

58     public static final int ORI_NORMAL = ExifInterface.Orientation.TOP_LEFT;
59 public static final int ORI_ROTATE_90 = ExifInterface.Orientation.RIGHT_TOP;
60 public static final int ORI_ROTATE_180 = ExifInterface.Orientation.BOTTOM_LEFT;
61 public static final int ORI_ROTATE_270 = ExifInterface.Orientation.RIGHT_BOTTOM;
62 public static final int ORI_FLIP_HOR = ExifInterface.Orientation.TOP_RIGHT;
63 public static final int ORI_FLIP_VERT = ExifInterface.Orientation.BOTTOM_RIGHT;
64 public static final int ORI_TRANSPOSE = ExifInterface.Orientation.LEFT_TOP;
65 public static final int ORI_TRANSVERSE = ExifInterface.Orientation.LEFT_BOTTOM;
96 * Returns the image's orientation flag. Defaults to ORI_NORMAL if no valid
97 * orientation was found.
104 // First try to find orientation data in Gallery's ContentProvider.
108 new String[] { MediaStore.Images.ImageColumns.ORIENTATION },
149 Log.w(LOGTAG, "Failed to read EXIF orientation", e);
165 int orientation = tagval;
166 switch(orientation) {
175 return orientation;
188 int orientation = getMetadataOrientation(context, uri);
189 switch(orientation) {
202 * Takes an orientation and a bitmap, and returns the bitmap transformed
203 * to that orientation.
394 * orientation.
399 * @param orientation the orientation to transform the bitmap to.
404 int orientation, Rect originalBounds) {
407 bmap = orientBitmap(bmap, orientation);
475 int orientation = getMetadataOrientation(context, sourceUri);
476 bitmap = orientBitmap(bitmap, orientation);