Home
last modified time | relevance | path

Searched refs:scaleBy (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DBitmapUtil.java125 final float scaleBy = in getRoundedBitmap() local
128 final int xCropAmountHalved = (int) (scaleBy * targetWidth / 2); in getRoundedBitmap()
129 final int yCropAmountHalved = (int) (scaleBy * targetHeight / 2); in getRoundedBitmap()
/packages/apps/Contacts/src/com/android/contacts/util/
DBitmapUtil.java149 final float scaleBy = Math.min((float) inputWidth / targetWidth, in getRoundedBitmap() local
152 final int xCropAmountHalved = (int) (scaleBy * targetWidth / 2); in getRoundedBitmap()
153 final int yCropAmountHalved = (int) (scaleBy * targetHeight / 2); in getRoundedBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1166 int outOfRange = mPositionController.scaleBy(scale, focusX, focusY);
DPositionController.java515 public int scaleBy(float s, float focusX, float focusY) { in scaleBy() method in PositionController