Home
last modified time | relevance | path

Searched refs:photoUri (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DPhoneCallDetails.java59 public final Uri photoUri; field in PhoneCallDetails
72 Uri photoUri) { in PhoneCallDetails() argument
84 this.photoUri = photoUri; in PhoneCallDetails()
DContactPhotoManager.java188 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument
195 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument
197 loadPhoto(view, photoUri, requestedExtent, darkTheme, DEFAULT_AVATAR); in loadPhoto()
204 public final void loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme) { in loadDirectoryPhoto() argument
205 loadPhoto(view, photoUri, -1, darkTheme, DEFAULT_AVATAR); in loadDirectoryPhoto()
237 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); in cacheBitmap() argument
487 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, in loadPhoto() argument
489 if (photoUri == null) { in loadPhoto()
494 if (DEBUG) Log.d(TAG, "loadPhoto request: " + photoUri); in loadPhoto()
495 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, darkTheme, in loadPhoto()
[all …]
DCallDetailActivity.java421 final Uri photoUri = firstDetails.photoUri; in updateData() local
580 loadContactPhotos(photoUri); in updateData()
614 final Uri photoUri; in getPhoneCallDetailsForUri() local
627 photoUri = null; in getPhoneCallDetailsForUri()
634 photoUri = info.photoUri; in getPhoneCallDetailsForUri()
639 nameText, numberType, numberLabel, lookupUri, photoUri); in getPhoneCallDetailsForUri()
648 private void loadContactPhotos(Uri photoUri) { in loadContactPhotos() argument
649 mContactPhotoManager.loadPhoto(mContactBackgroundView, photoUri, in loadContactPhotos()
DContactLoader.java203 String photoUri, String displayName, String altDisplayName, String phoneticName, in Result() argument
220 mPhotoUri = photoUri; in Result()
835 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() local
836 if (photoUri != null) { in loadPhotoBinaryData()
839 .openAssetFileDescriptor(Uri.parse(photoUri), "r"); in loadPhotoBinaryData()
929 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); in loadContactHeaderData() local
947 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailPhotoSetter.java82 Uri photoUri = null; in onClick() local
84 photoUri = Uri.parse(mContactData.getPhotoUri()); in onClick()
87 photoUri, mPhotoBitmap, mPhotoBytes, rect, delta, mContactData.isUserProfile(), in onClick()
93 photoUri, mPhotoBitmap, mPhotoBytes); in onClick()
DContactDetailDisplayUtils.java235 String photoUri = null; in setSocialSnippet() local
241 photoUri = firstPhoto.getPhotoUri(); in setSocialSnippet()
248 if (photoUri != null) { in setSocialSnippet()
250 statusPhotoView, Uri.parse(photoUri), -1, false, in setSocialSnippet()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DContactInfo.java38 public Uri photoUri; field in ContactInfo
68 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
DContactInfoHelper.java125 info.photoUri = in lookupContactFromUri()
DCallLogAdapter.java715 info.photoUri = null; // We do not cache the photo URI. in getContactInfoFromCallLog()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockContactPhotoManager.java37 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, in loadPhoto() argument
60 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java72 String photoUri; field in GlobalSearchSupport.SearchSuggestion
87 if (photoUri != null) { in asList()
88 icon1 = photoUri.toString(); in asList()
150 photoUri = null; in reset()
257 suggestion.photoUri = c.getString(2); in addSearchSuggestionsBasedOnFilter()
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemPhotoEntry.java37 public StreamItemPhotoEntry(long id, int sortIndex, long photoFileId, String photoUri, in StreamItemPhotoEntry() argument
42 mPhotoUri = photoUri; in StreamItemPhotoEntry()
/packages/apps/Calendar/src/com/android/calendar/
DContactsAsyncHelper.java191 AttendeeItem item, Runnable run, Uri photoUri) { in retrieveContactPhotoAsync() argument
195 if (photoUri == null) { in retrieveContactPhotoAsync()
206 args.uri = photoUri; in retrieveContactPhotoAsync()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileAdapter.java255 String photoUri = cursor.getString(mPhotoUriIndex); in createContactEntryFromCursor() local
262 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null); in createContactEntryFromCursor()
675 public Uri photoUri;
DContactTileView.java128 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(),
136 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
DContactListAdapter.java231 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString); in bindPhoto() local
232 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false); in bindPhoto() local
DContactEntryListAdapter.java652 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString); in bindQuickContact() local
653 getPhotoLoader().loadPhoto(quickContact, photoUri, -1, mDarkTheme); in bindQuickContact()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java782 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI);
784 displayName, photoUri));
827 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX);
829 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri);
850 String photoUri) { in Member() argument
855 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null; in Member()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2504 Uri photoUri = insertPhoto(rawContactId); in testPhonesWithStatusUpdate() local
2505 long photoId = ContentUris.parseId(photoUri); in testPhonesWithStatusUpdate()
4071 String photoUri = c.getString(1); in testInsertStreamItemsAndPhotosInBatch() local
4073 expectedPhotoBytes, mResolver.openInputStream(Uri.parse(photoUri))); in testInsertStreamItemsAndPhotosInBatch()
4121 Uri photoUri = in testUpdateStreamItemPhotoById() local
4127 mResolver.update(photoUri, photoValues, null, null); in testUpdateStreamItemPhotoById()
4129 assertStoredValues(photoUri, photoValues); in testUpdateStreamItemPhotoById()
4132 String displayPhotoUri = getStoredValue(photoUri, StreamItemPhotos.PHOTO_URI); in testUpdateStreamItemPhotoById()
4150 Uri photoUri = in testUpdateStreamItemPhotoWithContentValues() local
4154 mResolver.update(photoUri, photoValues, null, null); in testUpdateStreamItemPhotoWithContentValues()
[all …]
DLegacyContactsProviderTest.java728 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in testPhotoUpdate() local
729 mResolver.update(photoUri, values, null, null); in testPhotoUpdate()
731 assertStoredValues(photoUri, values); in testPhotoUpdate()
733 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); in testPhotoUpdate()
741 assertStoredValues(photoUri, values); in testPhotoUpdate()
781 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in assertSearchSuggestion() local
782 mResolver.update(photoUri, values, null, null); in assertSearchSuggestion()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPhotoSelectionActivity.java270 public static Intent buildIntent(Context context, Uri photoUri, Bitmap photoBitmap, in buildIntent() argument
274 if (photoUri != null && photoBitmap != null && photoBytes != null) { in buildIntent()
275 intent.putExtra(PHOTO_URI, photoUri); in buildIntent()
/packages/apps/Phone/src/com/android/phone/
DCallCard.java1528 Uri photoUri = mPhotoTracker.getPhotoUri(); in updatePhotoForCallState() local
1529 if (photoUri == null) { in updatePhotoForCallState()
1540 getContext(), photoUri, this, in updatePhotoForCallState()