Home
last modified time | relevance | path

Searched refs:photoBytes (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForPhoto.java126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); in hasNonNullPhoto()
127 return photoBytes != null && photoBytes.length > 0; in hasNonNullPhoto()
DPhotoStore.java198 byte[] photoBytes = photoProcessor.getDisplayPhotoBytes(); in insert()
201 fos.write(photoBytes); in insert()
208 values.put(PhotoFiles.FILESIZE, photoBytes.length); in insert()
DContactsProvider2.java3141 byte[] photoBytes = values.getAsByteArray(StreamItemPhotos.PHOTO); in processStreamItemPhoto()
3142 if (photoBytes == null) { in processStreamItemPhoto()
3150 photoBytes, getMaxDisplayPhotoDim(), getMaxThumbnailDim(), true); in processStreamItemPhoto()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java266 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/
DMockContactPhotoManager.java66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java559 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java7159 private void writePhotoAsync(final Uri uri, final byte[] photoBytes) throws Exception { in writePhotoAsync() argument
7166 os.write(photoBytes); in writePhotoAsync()