Home
last modified time | relevance | path

Searched refs:PHOTO (Results 1 – 25 of 33) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForPhoto.java108 if (values.containsKey(Photo.PHOTO)) { in preProcessPhoto()
118 values.putNull(Photo.PHOTO); in preProcessPhoto()
126 byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); in hasNonNullPhoto()
146 byte[] originalPhoto = values.getAsByteArray(Photo.PHOTO); in processPhoto()
157 values.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in processPhoto()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java125 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO); in setValues()
134 if (values.getAfter() == null || values.getAfter().get(Photo.PHOTO) == null) { in setValues()
177 mEntry.put(Photo.PHOTO, (byte[])null); in setPhotoEntry()
DAggregationSuggestionEngine.java302 Photo.PHOTO,
317 public static final int PHOTO = 9; field in AggregationSuggestionEngine.DataQuery
475 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) { in getSuggestions()
476 suggestion.photo = mDataCursor.getBlob(DataQuery.PHOTO); in getSuggestions()
DEditorUiUtils.java249 if (valuesDelta.getAfter() == null || valuesDelta.getAfter().get(Photo.PHOTO) == null) { in getPhotoFileId()
274 final byte[] bytes = valuesDelta.getAsByteArray(Photo.PHOTO); in getPhotoBitmap()
/packages/apps/Camera2/src/com/android/camera/module/
DModulesInfo.java51 registerPhotoModule(moduleManager, photoModuleId, SettingsScopeNamespaces.PHOTO, in setupModules()
69 SettingsScopeNamespaces.PHOTO, in setupModules()
74 SettingsScopeNamespaces.PHOTO, config.isUsingCaptureModule()); in setupModules()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java125 Photo.PHOTO
128 int PHOTO = 0; field
245 && !cursor.isNull(PhotoQuery.PHOTO)) { in onQueryComplete()
246 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO); in onQueryComplete()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemType.java25 PHOTO, enumConstant
DPhotoItem.java161 return FilmstripItemType.PHOTO; in getItemViewType()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsScopeNamespaces.java27 public static final String PHOTO = "PhotoModule"; field in SettingsScopeNamespaces
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java167 Photo.PHOTO
170 final int PHOTO = 0; field
471 && !cursor.isNull(PhotoQuery.PHOTO)) { in onQueryComplete()
472 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO); in onQueryComplete()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DPhotoDataItem.java38 return getContentValues().getAsByteArray(Photo.PHOTO); in getPhoto()
/packages/apps/Email/src/com/android/email/activity/
DContactStatusLoader.java54 Photo.PHOTO
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java67 new String[]{ContactsContract.Contacts.Photo.PHOTO}, in getContact()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java494 put(ContactsContract.CommonDataKinds.Photo.PHOTO, value); in setPhoto()
498 return getAsByteArray(ContactsContract.CommonDataKinds.Photo.PHOTO); in getPhoto()
DContact.java447 photo.put(Photo.PHOTO, mPhotoBinaryData); in getContentValues()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java147 new String[]{Photo.PHOTO}, null, null, null); in addRowWithPhoto()
/packages/apps/UnifiedEmail/src/com/android/mail/
DSenderInfoLoader.java62 private static final String[] PHOTO_COLS = new String[] { Photo._ID, Photo.PHOTO };
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java750 PHOTO( 3, "PHOTO", false, false), enumConstant
792 return isFilteredIn(FilterBit.PHOTO, false); in isPhotoEnabled()
/packages/apps/Contacts/src/com/android/contacts/group/
DSuggestedMemberListAdapter.java69 Photo.PHOTO, // 4
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java1139 values.remove(Photo.PHOTO);// Remove byte[] value. in testDataInsert()
5670 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoWithSelection()
5695 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemId()
5699 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemId()
5702 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemId()
5727 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemPhotoId()
5731 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemPhotoId()
5735 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemPhotoId()
5922 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoById()
5931 photoValues.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testUpdateStreamItemPhotoById()
[all …]
DBaseContactsProvider2Test.java378 values.put(Photo.PHOTO, loadTestPhoto()); in insertPhoto()
387 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL)); in insertPhoto()
1626 values.put(Photo.PHOTO, photo);
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java168 new String[] { Photo.PHOTO }, in loadContactPhoto()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DShortcutIntentBuilder.java83 Photo.PHOTO,
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java275 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1)); in inflatePhoto()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExchangeAccountType.java293 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1)); in addDataKindPhoto()

12