Searched refs:PHOTO (Results 1 - 25 of 26) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
H A DPhotoDataItem.java40 return getContentValues().getAsByteArray(Photo.PHOTO);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForPhoto.java108 if (values.containsKey(Photo.PHOTO)) {
118 values.putNull(Photo.PHOTO);
126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO);
146 byte[] originalPhoto = values.getAsByteArray(Photo.PHOTO);
157 values.put(Photo.PHOTO, processor.getThumbnailPhotoBytes());
H A DLegacyApiSupport.java750 Tables.DATA + "." + Photo.PHOTO
1187 mValues.put(Photo.PHOTO, bytes);
1220 mValues.put(Photo.PHOTO, bytes);
H A DContactsProvider2.java2721 * Processes the photo contained in the {@link ContactsContract.StreamItemPhotos#PHOTO}
2732 if (!values.containsKey(StreamItemPhotos.PHOTO)) {
2735 byte[] photoBytes = values.getAsByteArray(StreamItemPhotos.PHOTO);
2746 values.remove(StreamItemPhotos.PHOTO);
7379 "SELECT " + Photo.PHOTO + " FROM " + Views.DATA +
7486 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes());
7501 insertValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes());
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DPhotoEditorView.java104 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO);
135 mEntry.put(Photo.PHOTO, (byte[])null);
H A DAggregationSuggestionEngine.java279 Photo.PHOTO,
294 public static final int PHOTO = 9; field in class:AggregationSuggestionEngine.DataQuery
424 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) {
425 suggestion.photo = mDataCursor.getBlob(DataQuery.PHOTO);
/packages/apps/Email/src/com/android/email/activity/
H A DContactStatusLoader.java54 Photo.PHOTO
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java125 Photo.PHOTO
128 int PHOTO = 0; field in interface:ContactHeaderWidget.PhotoQuery
245 && !cursor.isNull(PhotoQuery.PHOTO)) {
246 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java163 Photo.PHOTO
166 final int PHOTO = 0; field in interface:ConfirmAddDetailActivity.PhotoQuery
464 && !cursor.isNull(PhotoQuery.PHOTO)) {
465 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DResultActivity.java147 new String[]{Photo.PHOTO}, null, null, null);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DSuggestedMemberListAdapter.java68 Photo.PHOTO, // 4
/packages/apps/Contacts/src/com/android/contacts/model/
H A DContact.java442 photo.put(Photo.PHOTO, mPhotoBinaryData);
H A DRawContactDelta.java999 put(Photo.PHOTO, value);
1003 return getAsByteArray(Photo.PHOTO);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
H A DStreamItemPopulatorActivity.java291 values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource(imageIndex));
/packages/apps/Contacts/src/com/android/contacts/list/
H A DShortcutIntentBuilder.java74 Photo.PHOTO,
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java168 new String[] { Photo.PHOTO },
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java3973 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing.
3998 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing.
4002 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource(
4005 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing.
4030 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing.
4034 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource(
4038 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing.
4238 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource(
4247 photoValues.remove(StreamItemPhotos.PHOTO); // Removed during processing.
4267 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResourc
[all...]
H A DBaseContactsProvider2Test.java403 values.put(Photo.PHOTO, loadTestPhoto());
412 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL));
1528 values.put(Photo.PHOTO, photo);
/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DExchangeAccountType.java291 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
H A DBaseAccountType.java389 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
1314 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DExchangeSource.java275 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
H A DFallbackSource.java379 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java1344 builder.withValue(Photo.PHOTO, pic);
1694 if (cv.containsKey(Photo.PHOTO)) {
1695 byte[] bytes = cv.getAsByteArray(Photo.PHOTO);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java280 private static final String[] COLUMNS = new String[] { Photo._ID, Photo.PHOTO };
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java1723 + " AND " + Photo.PHOTO + " NOT NULL)"
2045 + Photo.PHOTO + " NOT NULL))";

Completed in 2721 milliseconds

12