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.java150 boolean forceCropToSquare) throws IOException { in PhotoProcessor() argument
154 mForceCropToSquare = forceCropToSquare; in PhotoProcessor()
170 boolean forceCropToSquare) throws IOException { in PhotoProcessor() argument
172 maxDisplayPhotoDim, maxThumbnailPhotoDim, forceCropToSquare); in PhotoProcessor()
202 static Bitmap getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) in getNormalizedBitmap() argument
211 if (forceCropToSquare && cropWidth != cropHeight) { in getNormalizedBitmap()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java70 protected PhotoProcessor newPhotoProcessor(byte[] data, boolean forceCropToSquare) in newPhotoProcessor() argument
72 return new PhotoProcessor(data, 256, 96, forceCropToSquare); in newPhotoProcessor()