Searched defs:targetHeight (Results 1 - 1 of 1) sorted by relevance
/packages/apps/Gallery/src/com/android/camera/ |
H A D | Util.java | 153 int targetHeight, 157 int deltaY = source.getHeight() - targetHeight; 165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, 175 deltaYHalf + Math.min(targetHeight, source.getHeight())); 177 int dstY = (targetHeight - src.height()) / 2; 182 targetHeight - dstY); 193 float viewAspect = (float) targetWidth / targetHeight; 196 float scale = targetHeight / bitmapHeightF; 225 int dy1 = Math.max(0, b1.getHeight() - targetHeight); 232 targetHeight); 150 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp, boolean recycle) argument [all...] |
Completed in 76 milliseconds