HomeSort by relevance Sort by last modified time
    Searched refs:photoUri (Results 1 - 25 of 30) sorted by null

1 2

  /packages/apps/Dialer/src/com/android/dialer/
PhoneCallDetails.java 59 public final Uri photoUri;
72 Uri photoUri) {
84 this.photoUri = photoUri;
CallDetailActivity.java 425 final Uri photoUri = firstDetails.photoUri;
584 loadContactPhotos(photoUri);
618 final Uri photoUri;
631 photoUri = null;
638 photoUri = info.photoUri;
643 nameText, numberType, numberLabel, lookupUri, photoUri);
652 private void loadContactPhotos(Uri photoUri) {
653 mContactPhotoManager.loadPhoto(mContactBackgroundView, photoUri,
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockContactPhotoManager.java 37 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme,
60 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) {
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ContactInfo.java 38 public Uri photoUri;
68 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false;
ContactInfoHelper.java 125 info.photoUri =
  /frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
PhotoPagerAdapter.java 46 final String photoUri = cursor.getString(mContentUriIndex);
55 if(photoUri == null && loading) {
63 .setResolvedPhotoUri(photoUri)
  /frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
PhotoBitmapLoader.java 38 public PhotoBitmapLoader(Context context, String photoUri) {
40 mPhotoUri = photoUri;
43 public void setPhotoUri(String photoUri) {
44 mPhotoUri = photoUri;
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailPhotoSetter.java 82 Uri photoUri = null;
84 photoUri = Uri.parse(mContactData.getPhotoUri());
87 photoUri, mPhotoBitmap, mPhotoBytes, rect, delta, mContactData.isUserProfile(),
93 photoUri, mPhotoBitmap, mPhotoBytes);
ContactDetailDisplayUtils.java 230 String photoUri = null;
236 photoUri = firstPhoto.getPhotoUri();
243 if (photoUri != null) {
245 statusPhotoView, Uri.parse(photoUri), -1, false,
  /frameworks/ex/chips/tests/src/com/android/ex/chips/
RecipientAlternatesAdapterTest.java 79 String photoUri,
83 contactId, dataId, photoUri, displayNameSource});
94 String photoUri,
104 assertEquals(photoUri, c.getString(6));
  /packages/apps/Contacts/src/com/android/contacts/util/
StreamItemPhotoEntry.java 37 public StreamItemPhotoEntry(long id, int sortIndex, long photoFileId, String photoUri,
42 mPhotoUri = photoUri;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 73 String photoUri;
88 if (photoUri != null) {
89 icon1 = photoUri.toString();
151 photoUri = null;
260 suggestion.photoUri = c.getString(2);
  /packages/apps/Gallery2/tests/src/com/android/photos/data/
PhotoProviderTest.java 131 Uri photoUri = ContentUris.withAppendedId(Photos.CONTENT_URI, mPhotoId);
132 assertEquals(1, mResolver.delete(photoUri, null, null));
136 assertEquals(0, mResolver.delete(photoUri, null, null));
177 Uri photoUri = ContentUris.withAppendedId(Photos.CONTENT_URI, mPhotoId);
178 mResolver.delete(photoUri, null, null);
179 assertTrue(mNotifications.isNotified(photoUri));
342 Uri photoUri = ContentUris.withAppendedId(Photos.CONTENT_URI, mPhotoId);
345 mResolver.update(photoUri, values, null, null);
346 assertTrue(mNotifications.isNotified(photoUri));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileView.java 127 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(),
135 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
ContactTileAdapter.java 251 String photoUri = cursor.getString(mPhotoUriIndex);
258 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null);
663 public Uri photoUri;
ContactListAdapter.java 231 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString);
232 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false);
  /packages/apps/Calendar/src/com/android/calendar/
ContactsAsyncHelper.java 191 AttendeeItem item, Runnable run, Uri photoUri) {
195 if (photoUri == null) {
206 args.uri = photoUri;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 174 * @param photoUri The uri of the photo to load
180 * @param defaultProvider The provider of default avatars (this is used if photoUri doesn't
183 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent,
190 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent,
192 loadPhoto(view, photoUri, requestedExtent, darkTheme, DEFAULT_AVATAR);
199 public final void loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme) {
200 loadPhoto(view, photoUri, -1, darkTheme, DEFAULT_AVATAR);
228 * @param photoUri The URI of the photo (for future requests).
232 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes);
482 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupEditorFragment.java 786 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI);
788 displayName, photoUri));
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
PhotoSelectionActivity.java 256 * @param photoUri The URI of the current photo (may be null, in which case the default
270 public static Intent buildIntent(Context context, Uri photoUri, Bitmap photoBitmap,
274 if (photoUri != null && photoBitmap != null && photoBytes != null) {
275 intent.putExtra(PHOTO_URI, photoUri);
  /packages/apps/Contacts/src/com/android/contacts/model/
Contact.java 141 String photoUri, String displayName, String altDisplayName, String phoneticName,
158 mPhotoUri = photoUri;
ContactLoader.java 418 String photoUri = contactData.getPhotoUri();
419 if (photoUri != null) {
422 .openAssetFileDescriptor(Uri.parse(photoUri), "r");
510 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI);
528 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName,
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java     [all...]
LegacyContactsProviderTest.java 726 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY);
727 mResolver.update(photoUri, values, null, null);
729 assertStoredValues(photoUri, values);
731 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID));
739 assertStoredValues(photoUri, values);
779 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY);
780 mResolver.update(photoUri, values, null, null);
    [all...]
  /frameworks/base/core/java/android/provider/
Contacts.java 593 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY);
596 cr.update(photoUri, values, null, null);
607 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY);
608 Cursor cursor = cr.query(photoUri, new String[]{Photos.DATA}, null, null, null);
    [all...]

Completed in 536 milliseconds

1 2