HomeSort by relevance Sort by last modified time
    Searched refs:photoBytes (Results 1 - 17 of 17) sorted by null

  /packages/apps/UnifiedEmail/src/com/android/mail/
ContactInfo.java 25 public final byte[] photoBytes;
32 public ContactInfo(Uri contactUri, byte[] photoBytes) {
33 this(contactUri, photoBytes, null);
40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) {
42 this.photoBytes = photoBytes;
48 return "{photo=" + (photo != null ? photo : photoBytes) + "}";
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));
  /frameworks/opt/chips/src/com/android/ex/chips/
DefaultPhotoManager.java 67 final byte[] photoBytes = mPhotoCacheMap.get(photoThumbnailUri);
68 if (photoBytes != null) {
69 entry.setPhotoBytes(photoBytes);
131 protected void onPostExecute(final byte[] photoBytes) {
132 entry.setPhotoBytes(photoBytes);
133 if (photoBytes != null) {
134 mPhotoCacheMap.put(photoThumbnailUri, photoBytes);
DropdownChipLayouter.java 188 byte[] photoBytes = entry.getPhotoBytes();
189 if (photoBytes != null && photoBytes.length > 0) {
190 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0,
191 photoBytes.length);
RecipientEntry.java 231 public synchronized void setPhotoBytes(byte[] photoBytes) {
232 mPhotoBytes = photoBytes;
  /packages/apps/Contacts/src/com/android/contacts/editor/
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/
DataRowHandlerForPhoto.java 126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO);
127 return photoBytes != null && photoBytes.length > 0;
PhotoStore.java 197 byte[] photoBytes = photoProcessor.getDisplayPhotoBytes();
200 fos.write(photoBytes);
207 values.put(PhotoFiles.FILESIZE, photoBytes.length);
ContactsProvider2.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailPhotoSetter.java 54 byte[] photoBytes, boolean expandPhotoOnClick) {
58 mPhotoBytes = photoBytes;
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockContactPhotoManager.java 66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) {
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardEntryTests.java 264 byte[] photoBytes = new byte[] {1};
265 property.setByteValue(photoBytes);
267 PhotoData photoData = new PhotoData("PNG", photoBytes, false);
  /packages/apps/Contacts/src/com/android/contacts/activities/
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) {
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ContactResolver.java 205 final byte[] photo = contactInfo.photoBytes;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
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);
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardEntry.java     [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java     [all...]

Completed in 8466 milliseconds