Home
last modified time | relevance | path

Searched refs:forceCropToSquare (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java143 boolean forceCropToSquare) throws IOException { in PhotoProcessor() argument
147 mForceCropToSquare = forceCropToSquare; in PhotoProcessor()
163 boolean forceCropToSquare) throws IOException { in PhotoProcessor() argument
165 maxDisplayPhotoDim, maxThumbnailPhotoDim, forceCropToSquare); in PhotoProcessor()
195 static Bitmap getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) in getNormalizedBitmap() argument
204 if (forceCropToSquare && cropWidth != cropHeight) { in getNormalizedBitmap()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java69 protected PhotoProcessor newPhotoProcessor(byte[] data, boolean forceCropToSquare) in newPhotoProcessor() argument
71 return new PhotoProcessor(data, 256, 96, forceCropToSquare); in newPhotoProcessor()