Home
last modified time | relevance | path

Searched refs:PhotoProcessor (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java37 /* package-protected */ final class PhotoProcessor { class
120 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) in PhotoProcessor() method in PhotoProcessor
132 public PhotoProcessor(byte[] originalBytes, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) in PhotoProcessor() method in PhotoProcessor
149 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, in PhotoProcessor() method in PhotoProcessor
169 public PhotoProcessor(byte[] originalBytes, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, in PhotoProcessor() method in PhotoProcessor
DDataRowHandlerForPhoto.java149 PhotoProcessor processor = new PhotoProcessor( in processPhoto()
DPhotoStore.java172 public long insert(PhotoProcessor photoProcessor) { in insert()
186 public long insert(PhotoProcessor photoProcessor, boolean allowSmallImageStorage) { in insert()
DContactsProvider2.java2085 return PhotoProcessor.getMaxThumbnailSize(); in getMaxThumbnailDim()
2093 return PhotoProcessor.getMaxDisplayPhotoSize(); in getMaxDisplayPhotoDim()
3113 final PhotoProcessor processor = new PhotoProcessor( in processStreamItemPhoto()
9050 PhotoProcessor processor = in doInBackground()
9051 new PhotoProcessor(b, getMaxDisplayPhotoDim(), getMaxThumbnailDim()); in doInBackground()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java47 PhotoProcessor processor = newPhotoProcessor(original, false); in PhotoEntry()
70 protected PhotoProcessor newPhotoProcessor(byte[] data, boolean forceCropToSquare) in newPhotoProcessor()
72 return new PhotoProcessor(data, 256, 96, forceCropToSquare); in newPhotoProcessor()
DPhotoProcessorTest.java44 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); in testTransparency()
DPhotoStoreTest.java205 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), in testCleanup()
DContactsProvider2Test.java7641 long bogusPhotoId = photoStore.insert(new PhotoProcessor(loadPhotoFromResource( in testPhotoStoreCleanup()