Searched refs:photoBytes (Results 1 - 12 of 12) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | ContactInfo.java | 25 public final byte[] photoBytes; field in class:ContactInfo 32 public ContactInfo(Uri contactUri, byte[] photoBytes) { argument 33 this(contactUri, photoBytes, null); 40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) { argument 42 this.photoBytes = photoBytes; 48 return "{photo=" + (photo != null ? photo : photoBytes) + "}";
|
H A D | SenderInfoLoader.java | 110 * <li>Either {@link ContactInfo#photoBytes} or {@link ContactInfo#photo} is non-null - 112 * <li>Both {@link ContactInfo#photoBytes} and {@link ContactInfo#photo} are null - 208 byte[] photoBytes = cursor.getBlob(PHOTO_PHOTO_COLUMN); 209 if (photoBytes == null) { 220 Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length); 225 // overwrite existing photoBytes-less result 226 results.put(email, new ContactInfo(prevResult.contactUri, photoBytes));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForPhoto.java | 126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); 127 return photoBytes != null && photoBytes.length > 0;
|
H A D | PhotoStore.java | 197 byte[] photoBytes = photoProcessor.getDisplayPhotoBytes(); 200 fos.write(photoBytes); 207 values.put(PhotoFiles.FILESIZE, photoBytes.length);
|
H A D | ContactsProvider2.java | 3105 byte[] photoBytes = values.getAsByteArray(StreamItemPhotos.PHOTO); 3106 if (photoBytes == null) { 3114 photoBytes, getMaxDisplayPhotoDim(), getMaxThumbnailDim(), true);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | PhotoEditorView.java | 125 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); 126 if (photoBytes != null) { 127 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, 128 photoBytes.length);
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
H A D | MockContactPhotoManager.java | 66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { argument
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | VCardRequest.java | 266 final byte[] photoBytes = photo.getBytes(); 267 if (photoBytes != null) { 268 final InputStream inputStream = new ByteArrayInputStream(photoBytes);
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | ContactResolver.java | 209 final byte[] photo = contactInfo.photoBytes;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | ContactPhotoManager.java | 557 * @param photoBytes The bytes that were parsed to create the bitmap. 559 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); argument 1219 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { argument 1225 BitmapHolder holder = new BitmapHolder(photoBytes, smallerExtent);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | QuickContactActivity.java | 504 final byte[] photoBytes = mContactData.getThumbnailPhotoBinaryData(); 505 if (photoBytes != null) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 7556 private void writePhotoAsync(final Uri uri, final byte[] photoBytes) throws Exception { argument 7563 os.write(photoBytes);
|
Completed in 318 milliseconds