Searched refs:bitmapHeight (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 430 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/ |
D | FilterCropRepresentation.java | 96 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/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 72 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageUnspecifiedSize() local 74 assertEquals(options.getValue().outHeight, bitmapHeight); in testLoadImageUnspecifiedSize() local 102 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageWithDownsampling() local 104 bitmapHeight >= DOWNSAMPLE_IMAGE_SIZE && in testLoadImageWithDownsampling() 106 bitmapHeight <= DOWNSAMPLE_IMAGE_SIZE * 4)); in testLoadImageWithDownsampling()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | DecodedImageResource.java | 195 final int bitmapHeight = bitmap.getHeight(); in loadMediaBlocking() local 201 if (bitmapWidth > 0 && bitmapHeight > 0 && in loadMediaBlocking() 207 (float) descriptor.desiredHeight / bitmapHeight); in loadMediaBlocking() 209 final int targetHeight = (int) (bitmapHeight * targetScale); in loadMediaBlocking() 212 targetWidth != bitmapWidth && targetHeight != bitmapHeight) { in loadMediaBlocking()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | Asset.java | 399 int bitmapHeight = mBitmap.getHeight(); in doInBackground() local 403 (float) bitmapHeight / measuredHeight); in doInBackground() 406 mBitmap, Math.round(bitmapWidth / scale), Math.round(bitmapHeight / scale), in doInBackground()
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 449 int bitmapHeight; in getAspectRatioFromPosterArtUri() local 458 bitmapHeight = bitmapInfo.bitmap.getHeight(); in getAspectRatioFromPosterArtUri() 459 bitmapAspectRatio = (float) bitmapWidth / bitmapHeight; in getAspectRatioFromPosterArtUri()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 395 int bitmapHeight = (height*2) + ((mParentSize - height)/2); in combine() local 397 bitmap = Bitmap.createBitmap(width, bitmapHeight, Bitmap.Config.ARGB_8888); in combine()
|