Home
last modified time | relevance | path

Searched refs:bitmapHeight (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java430 int bitmapHeight) { in getFullGeometryMatrix() argument
432 float centerY = bitmapHeight / 2f; in getFullGeometryMatrix()
441 int bitmapHeight, int viewWidth, int viewHeight) { in getFullGeometryToScreenMatrix() argument
442 int bh = bitmapHeight; in getFullGeometryToScreenMatrix()
446 bw = bitmapHeight; in getFullGeometryToScreenMatrix()
450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight); in getFullGeometryToScreenMatrix()
451 Matrix m = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); in getFullGeometryToScreenMatrix()
457 public static RectF getTrueCropRect(GeometryHolder holder, int bitmapWidth, int bitmapHeight) { in getTrueCropRect() argument
459 FilterCropRepresentation.findScaledCrop(r, bitmapWidth, bitmapHeight); in getTrueCropRect()
462 Matrix m1 = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); in getTrueCropRect()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterCropRepresentation.java96 public static void findScaledCrop(RectF crop, int bitmapWidth, int bitmapHeight) { in findScaledCrop() argument
98 crop.top *= bitmapHeight; in findScaledCrop()
100 crop.bottom *= bitmapHeight; in findScaledCrop()
107 public static void findNormalizedCrop(RectF crop, int bitmapWidth, int bitmapHeight) { in findNormalizedCrop() argument
109 crop.top /= bitmapHeight; in findNormalizedCrop()
111 crop.bottom /= bitmapHeight; in findNormalizedCrop()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java378 int bitmapHeight = (height*2) + ((mParentSize - height)/2); in combine() local
380 bitmap = Bitmap.createBitmap(width, bitmapHeight, Bitmap.Config.ARGB_8888); in combine()