Lines Matching refs:PHOTO
32 import android.provider.ContactsContract.Contacts.Photo;
47 * A {@link Loader} to look up presence, contact URI, and photo data for a set of email
62 private static final String[] PHOTO_COLS = new String[] { Photo._ID, Photo.PHOTO };
104 * {@link ContactInfo}. Otherwise, just put the raw bytes of the photo
110 * <li>Either {@link ContactInfo#photoBytes} or {@link ContactInfo#photo} is non-null -
111 * Photo loaded successfully.</li>
112 * <li>Both {@link ContactInfo#photoBytes} and {@link ContactInfo#photo} are null -
113 * Photo load failed.</li>
152 Trace.beginSection("get photo id");
187 // based on photo batch-select code in ContactPhotoManager
190 query.append(Photo._ID).append(" IN (");
205 Trace.beginSection("get photo blob");
220 Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length);
222 // overwrite existing photo-less result
223 results.put(email, new ContactInfo(prevResult.contactUri, photo));