Searched defs:outHeight (Results 1 - 3 of 3) sorted by relevance
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
H A D | InputStreamProvider.java | 59 if (options.outWidth != 0 && options.outHeight != 0) { 60 return new Point(options.outWidth, options.outHeight); 66 public Bitmap readCroppedBitmap(RectF cropBounds, int outWidth, int outHeight, int rotation) { argument 103 roundedTrueCrop.height() / outHeight)); 176 if (outWidth > 0 && outHeight > 0 || rotation > 0) { 182 if (!(outWidth > 0 && outHeight > 0)) { 184 outHeight = Math.round(dimsAfter[1]); 188 RectF returnRect = new RectF(0, 0, outWidth, outHeight);
|
H A D | CropAndSetWallpaperTask.java | 55 RectF cropBounds, int rotation, int outWidth, int outHeight, 63 mOutHeight = outHeight; 54 CropAndSetWallpaperTask(InputStreamProvider streamProvider, Context context, RectF cropBounds, int rotation, int outWidth, int outHeight, OnEndCropHandler onEndCropHandler) argument
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
H A D | Utils.java | 109 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { 112 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { 115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; 124 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; 108 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
|
Completed in 206 milliseconds