/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 227 private static void inflateBitmap(BitmapHolder holder, int requestedExtent) { in inflateBitmap() argument 229 BitmapUtil.findOptimalSampleSize(holder.originalSmallerExtent, requestedExtent); in inflateBitmap() 408 int requestedExtent, in loadPhoto() argument 415 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, defaultImageRequest); in loadPhoto() 430 view, photoUri, requestedExtent, darkTheme, isCircular, defaultProvider); in loadPhoto() 434 Request.createFromUri(photoUri, requestedExtent, darkTheme, isCircular, defaultProvider)); in loadPhoto() 448 int requestedExtent, in createAndApplyDefaultImageForUri() argument 454 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, request); in createAndApplyDefaultImageForUri() 695 private void cacheBitmap(Object key, byte[] bytes, boolean preloading, int requestedExtent) { in cacheBitmap() argument 718 inflateBitmap(holder, requestedExtent); in cacheBitmap() [all …]
|
D | ContactPhotoManager.java | 275 int requestedExtent, in loadPhoto() argument 292 int requestedExtent, in loadPhoto() argument 299 requestedExtent, in loadPhoto()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 494 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument 506 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument 508 loadPhoto(view, photoUri, requestedExtent, darkTheme, isCircular, in loadPhoto() 838 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, in loadPhoto() argument 843 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, in loadPhoto() 849 createAndApplyDefaultImageForUri(view, photoUri, requestedExtent, darkTheme, in loadPhoto() 852 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, in loadPhoto() 858 private void createAndApplyDefaultImageForUri(ImageView view, Uri uri, int requestedExtent, in createAndApplyDefaultImageForUri() argument 862 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, request); in createAndApplyDefaultImageForUri() 1014 private static void inflateBitmap(BitmapHolder holder, int requestedExtent) { in inflateBitmap() argument [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContactPhotoManager.java | 38 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, in loadPhoto() argument 41 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, null); in loadPhoto()
|