Home
last modified time | relevance | path

Searched refs:PHOTO (Results 1 – 25 of 35) 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()
DLegacyApiSupport.java721 Tables.DATA + "." + Photo.PHOTO in createViews()
1122 mValues.put(Photo.PHOTO, bytes); in updatePhoto()
1155 mValues.put(Photo.PHOTO, bytes); in updatePhotoByDataId()
/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/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java232 if (valuesDelta.getAfter() == null || valuesDelta.getAfter().get(Photo.PHOTO) == null) { in getPhotoFileId()
257 final byte[] bytes = valuesDelta.getAsByteArray(Photo.PHOTO); in getPhotoBitmap()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java496 put(ContactsContract.CommonDataKinds.Photo.PHOTO, value); in setPhoto()
500 return getAsByteArray(ContactsContract.CommonDataKinds.Photo.PHOTO); in getPhoto()
DContact.java434 photo.put(Photo.PHOTO, mPhotoBinaryData); in getContentValues()
/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/model/dataitem/
DPhotoDataItem.java38 return getContentValues().getAsByteArray(Photo.PHOTO); in getPhoto()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DPhotoDataItem.java37 return getContentValues().getAsByteArray(Photo.PHOTO); in getPhoto()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java1018 PHOTO( 3, "PHOTO", false, false), enumConstant
1060 return isFilteredIn(FilterBit.PHOTO, false); in isPhotoEnabled()
1110 PHOTO(3, "PHOTO"), enumConstant
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java1164 values.remove(Photo.PHOTO);// Remove byte[] value. in testDataInsert()
5762 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoWithSelection()
5787 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemId()
5791 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemId()
5794 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemId()
5819 photo1Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemPhotoId()
5823 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemPhotoId()
5827 photo2Values.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testQueryStreamItemPhotoByStreamItemPhotoId()
6014 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoById()
6023 photoValues.remove(StreamItemPhotos.PHOTO); // Removed during processing. in testUpdateStreamItemPhotoById()
[all …]
DBaseContactsProvider2Test.java386 values.put(Photo.PHOTO, loadTestPhoto()); in insertPhoto()
395 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL)); in insertPhoto()
1654 values.put(Photo.PHOTO, photo); in insertPhoto()
/packages/apps/Email/src/com/android/email/activity/
DContactStatusLoader.java54 Photo.PHOTO
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java71 new String[]{ContactsContract.Contacts.Photo.PHOTO}, in getContact()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java147 new String[]{Photo.PHOTO}, null, null, null); in addRowWithPhoto()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java340 photo.put(Photo.PHOTO, mPhotoBinaryData); in getContentValues()
/packages/apps/UnifiedEmail/src/com/android/mail/
DSenderInfoLoader.java62 private static final String[] PHOTO_COLS = new String[] { Photo._ID, Photo.PHOTO };
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorContacts.java161 ContactsContract.CommonDataKinds.Photo.PHOTO, in addContact()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java168 new String[] { Photo.PHOTO }, in loadContactPhoto()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DExchangeAccountType.java262 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1)); in addDataKindPhoto()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java275 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1)); in inflatePhoto()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DExchangeAccountType.java308 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1)); in addDataKindPhoto()

12