Lines Matching refs:ORIENTATION
59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) {
61 mBitmap = rotateImage(bitmap, orientation);
81 private static Bitmap rotateImage(Bitmap bitmap, int orientation) {
82 if (orientation != 0) {
85 m.setRotate(orientation, bitmap.getWidth() * 0.5f,
176 return createThumbnail(lastMedia.uri, bitmap, lastMedia.orientation);
182 public Media(long id, int orientation, long dateTaken, Uri uri) {
184 this.orientation = orientation;
190 public final int orientation;
199 String[] projection = new String[] {ImageColumns._ID, ImageColumns.ORIENTATION,
247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize,
253 return createThumbnail(uri, bitmap, orientation);
299 private static Thumbnail createThumbnail(Uri uri, Bitmap bitmap, int orientation) {
305 return new Thumbnail(uri, bitmap, orientation);