Searched defs:bitmapHeight (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterCropRepresentation.java | 96 public static void findScaledCrop(RectF crop, int bitmapWidth, int bitmapHeight) { argument 98 crop.top *= bitmapHeight; 100 crop.bottom *= bitmapHeight; 107 public static void findNormalizedCrop(RectF crop, int bitmapWidth, int bitmapHeight) { argument 109 crop.top /= bitmapHeight; 111 crop.bottom /= bitmapHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 430 int bitmapHeight) { 432 float centerY = bitmapHeight / 2f; 441 int bitmapHeight, int viewWidth, int viewHeight) { 442 int bh = bitmapHeight; 446 bw = bitmapHeight; 450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight); 451 Matrix m = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); 457 public static RectF getTrueCropRect(GeometryHolder holder, int bitmapWidth, int bitmapHeight) { argument 459 FilterCropRepresentation.findScaledCrop(r, bitmapWidth, bitmapHeight); 462 Matrix m1 = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); 429 getFullGeometryMatrix(GeometryHolder holder, int bitmapWidth, int bitmapHeight) argument 440 getFullGeometryToScreenMatrix(GeometryHolder holder, int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) argument 468 getCropSelectionToScreenMatrix(RectF outCrop, GeometryHolder holder, int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) argument 483 getCropSelectionToScreenMatrix(RectF outCrop, Collection<FilterRepresentation> res, int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) argument [all...] |
Completed in 101 milliseconds