/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 | 109 * <li>Either {@link ContactInfo#photoBytes} or {@link ContactInfo#photo} is non-null - 111 * <li>Both {@link ContactInfo#photoBytes} and {@link ContactInfo#photo} are null - 207 byte[] photoBytes = cursor.getBlob(PHOTO_PHOTO_COLUMN); 208 if (photoBytes == null) { 219 Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length); 224 // overwrite existing photoBytes-less result 225 results.put(email, new ContactInfo(prevResult.contactUri, photoBytes));
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | PhotoEditorView.java | 105 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); 106 if (photoBytes != null) { 107 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, 108 photoBytes.length);
|
/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 | 2918 byte[] photoBytes = values.getAsByteArray(StreamItemPhotos.PHOTO); 2919 if (photoBytes == null) { 2927 photoBytes, getMaxDisplayPhotoDim(), getMaxThumbnailDim(), true);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailPhotoSetter.java | 54 byte[] photoBytes, boolean expandPhotoOnClick) { 58 mPhotoBytes = photoBytes; 53 PhotoClickListener(Context context, Contact contactData, Bitmap photoBitmap, byte[] photoBytes, boolean expandPhotoOnClick) argument
|
/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/Contacts/src/com/android/contacts/activities/ |
H A D | PhotoSelectionActivity.java | 259 * @param photoBytes The bytes for the current photo (may be null, in which case the default 270 byte[] photoBytes, Rect photoBounds, RawContactDeltaList delta, boolean isProfile, 273 if (photoUri != null && photoBitmap != null && photoBytes != null) { 269 buildIntent(Context context, Uri photoUri, Bitmap photoBitmap, byte[] photoBytes, Rect photoBounds, RawContactDeltaList delta, boolean isProfile, boolean isDirectoryContact, boolean expandPhotoOnClick) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | ContactResolver.java | 205 final byte[] photo = contactInfo.photoBytes;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | ContactPhotoManager.java | 542 * @param photoBytes The bytes that were parsed to create the bitmap. 544 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); argument 1172 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { argument 1178 BitmapHolder holder = new BitmapHolder(photoBytes, smallerExtent);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 6704 private void writePhotoAsync(final Uri uri, final byte[] photoBytes) throws Exception { argument 6711 os.write(photoBytes);
|