Searched refs:photoBytes (Results 1 – 10 of 10) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | ContactInfo.java | 25 public final byte[] photoBytes; field in ContactInfo 32 public ContactInfo(Uri contactUri, byte[] photoBytes) { in ContactInfo() argument 33 this(contactUri, photoBytes, null); in ContactInfo() 40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) { in ContactInfo() argument 42 this.photoBytes = photoBytes; in ContactInfo() 48 return "{photo=" + (photo != null ? photo : photoBytes) + "}"; in toString()
|
D | SenderInfoLoader.java | 208 byte[] photoBytes = cursor.getBlob(PHOTO_PHOTO_COLUMN); in loadContactPhotos() 209 if (photoBytes == null) { in loadContactPhotos() 220 Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length); in loadContactPhotos() 226 results.put(email, new ContactInfo(prevResult.contactUri, photoBytes)); in loadContactPhotos()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForPhoto.java | 126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); in hasNonNullPhoto() 127 return photoBytes != null && photoBytes.length > 0; in hasNonNullPhoto()
|
D | PhotoStore.java | 198 byte[] photoBytes = photoProcessor.getDisplayPhotoBytes(); in insert() 201 fos.write(photoBytes); in insert() 208 values.put(PhotoFiles.FILESIZE, photoBytes.length); in insert()
|
D | ContactsProvider2.java | 3061 byte[] photoBytes = values.getAsByteArray(StreamItemPhotos.PHOTO); in processStreamItemPhoto() 3062 if (photoBytes == null) { in processStreamItemPhoto() 3070 photoBytes, getMaxDisplayPhotoDim(), getMaxThumbnailDim(), true); in processStreamItemPhoto()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardRequest.java | 266 final byte[] photoBytes = photo.getBytes(); in onEntryCreated() 267 if (photoBytes != null) { in onEntryCreated() 268 final InputStream inputStream = new ByteArrayInputStream(photoBytes); in onEntryCreated()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContactPhotoManager.java | 66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 559 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); in cacheBitmap() argument 1221 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument 1227 BitmapHolder holder = new BitmapHolder(photoBytes, smallerExtent); in cacheBitmap()
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ContactResolver.java | 209 final byte[] photo = contactInfo.photoBytes; in doInBackground()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 7543 private void writePhotoAsync(final Uri uri, final byte[] photoBytes) throws Exception { in writePhotoAsync() argument 7550 os.write(photoBytes); in writePhotoAsync()
|