Home | History | Annotate | Download | only in provider

Lines Matching defs:PHOTO

375          * Reference to the row in the data table holding the photo.
736 * <td>Reference to the row in the {@link ContactsContract.Data} table holding the photo.
738 * {@link CommonDataKinds.Photo#CONTENT_ITEM_TYPE}. The value of this field
740 * {@link CommonDataKinds.Photo#IS_SUPER_PRIMARY} field of the data rows of
1102 * the contact's primary photo.
1109 * Uri photoUri = Uri.withAppendedPath(contactUri, Contacts.Photo.CONTENT_DIRECTORY);
1111 * new String[] {Contacts.Photo.PHOTO}, null, null, null);
1135 public static final class Photo implements BaseColumns, DataColumns {
1139 private Photo() {}
1144 public static final String CONTENT_DIRECTORY = "photo";
1147 * Thumbnail photo of the raw contact. This is the raw bytes of an image
1153 public static final String PHOTO = DATA15;
1157 * Opens an InputStream for the contacts's default photo and returns the
1158 * photo as a byte stream. If there is not photo null will be returned.
1160 * @param contactUri the contact whose photo should be used
1161 * @return an InputStream of the photo, or null if no photo is present
1164 Uri photoUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY);
1169 new String[]{ContactsContract.CommonDataKinds.Photo.PHOTO}, null, null, null);
2303 * <li>{@link CommonDataKinds.Photo Photo.CONTENT_ITEM_TYPE}</li>
2392 * <td>Generic columns for use by sync adapters. For example, a Photo row
4630 * A data kind representing an photo for the contact.
4637 * of the image. It is allowed for the {@link #PHOTO} to be null.
4651 * <td>{@link #PHOTO}</td>
4657 public static final class Photo implements DataColumnsWithJoins {
4661 private Photo() {}
4664 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/photo";
4667 * Thumbnail photo of the raw contact. This is the raw bytes of an image
4672 public static final String PHOTO = DATA15;
5541 * information, such as a photo.