Home
last modified time | relevance | path

Searched refs:inputWidth (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DBitmapUtil.java189 int inputWidth = input.getWidth(); in frameBitmapInCircle() local
192 if (inputWidth >= inputHeight) { in frameBitmapInCircle()
193 targetX = inputWidth / 2 - inputHeight / 2; in frameBitmapInCircle()
198 targetY = inputHeight / 2 - inputWidth / 2; in frameBitmapInCircle()
199 targetSize = inputWidth; in frameBitmapInCircle()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DBitmapUtil.java120 final int inputWidth = input.getWidth(); in getRoundedBitmap() local
126 Math.min((float) inputWidth / targetWidth, (float) inputHeight / targetHeight); in getRoundedBitmap()
133 inputWidth / 2 - xCropAmountHalved, in getRoundedBitmap()
135 inputWidth / 2 + xCropAmountHalved, in getRoundedBitmap()
/packages/apps/Contacts/src/com/android/contacts/util/
DBitmapUtil.java144 final int inputWidth = input.getWidth(); in getRoundedBitmap() local
149 final float scaleBy = Math.min((float) inputWidth / targetWidth, in getRoundedBitmap()
156 inputWidth / 2 - xCropAmountHalved, in getRoundedBitmap()
158 inputWidth / 2 + xCropAmountHalved, in getRoundedBitmap()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskConvertImageToRGBPreview.java236 int inputWidth = crop.width(); in colorInscribedDataCircleFromYuvImage() local
238 int outputWidth = inputWidth / subsample; in colorInscribedDataCircleFromYuvImage()
549 int inputWidth = crop.width(); in colorSubSampleFromYuvImage() local
551 int outputWidth = inputWidth / subsample; in colorSubSampleFromYuvImage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dvignette.rs20 uint32_t inputWidth;
Dgrad.rs22 uint32_t inputWidth;