/packages/apps/Contacts/src/com/android/contacts/ |
D | PhoneCallDetails.java | 59 public final Uri photoUri; field in PhoneCallDetails 72 Uri photoUri) { in PhoneCallDetails() argument 84 this.photoUri = photoUri; in PhoneCallDetails()
|
D | ContactPhotoManager.java | 188 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 …]
|
D | CallDetailActivity.java | 421 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()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailPhotoSetter.java | 82 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()
|
D | ContactDetailDisplayUtils.java | 230 String photoUri = null; in setSocialSnippet() local 236 photoUri = firstPhoto.getPhotoUri(); in setSocialSnippet() 243 if (photoUri != null) { in setSocialSnippet() 245 statusPhotoView, Uri.parse(photoUri), -1, false, in setSocialSnippet()
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
D | ContactInfo.java | 38 public Uri photoUri; field in ContactInfo 68 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
|
D | ContactInfoHelper.java | 125 info.photoUri = in lookupContactFromUri()
|
D | CallLogAdapter.java | 714 info.photoUri = null; // We do not cache the photo URI. in getContactInfoFromCallLog()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
D | MockContactPhotoManager.java | 37 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/ |
D | GlobalSearchSupport.java | 72 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/ |
D | StreamItemPhotoEntry.java | 37 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/ |
D | ContactsAsyncHelper.java | 191 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/ |
D | ContactTileAdapter.java | 255 String photoUri = cursor.getString(mPhotoUriIndex); in createContactEntryFromCursor() local 262 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null); in createContactEntryFromCursor() 670 public Uri photoUri;
|
D | ContactTileView.java | 128 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(), 136 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
|
D | ContactListAdapter.java | 231 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString); in bindPhoto() local 232 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false); in bindPhoto() local
|
D | ContactEntryListAdapter.java | 652 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/ |
D | GroupEditorFragment.java | 782 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/ |
D | ContactsProvider2Test.java | 2665 Uri photoUri = insertPhoto(rawContactId); in testPhonesWithStatusUpdate() local 2666 long photoId = ContentUris.parseId(photoUri); in testPhonesWithStatusUpdate() 4232 String photoUri = c.getString(1); in testInsertStreamItemsAndPhotosInBatch() local 4234 expectedPhotoBytes, mResolver.openInputStream(Uri.parse(photoUri))); in testInsertStreamItemsAndPhotosInBatch() 4282 Uri photoUri = in testUpdateStreamItemPhotoById() local 4288 mResolver.update(photoUri, photoValues, null, null); in testUpdateStreamItemPhotoById() 4290 assertStoredValues(photoUri, photoValues); in testUpdateStreamItemPhotoById() 4293 String displayPhotoUri = getStoredValue(photoUri, StreamItemPhotos.PHOTO_URI); in testUpdateStreamItemPhotoById() 4311 Uri photoUri = in testUpdateStreamItemPhotoWithContentValues() local 4315 mResolver.update(photoUri, photoValues, null, null); in testUpdateStreamItemPhotoWithContentValues() [all …]
|
D | LegacyContactsProviderTest.java | 726 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in testPhotoUpdate() local 727 mResolver.update(photoUri, values, null, null); in testPhotoUpdate() 729 assertStoredValues(photoUri, values); in testPhotoUpdate() 731 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); in testPhotoUpdate() 739 assertStoredValues(photoUri, values); in testPhotoUpdate() 779 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in assertSearchSuggestion() local 780 mResolver.update(photoUri, values, null, null); in assertSearchSuggestion()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | PhotoSelectionActivity.java | 270 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/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 142 String photoUri, String displayName, String altDisplayName, String phoneticName, in Contact() argument 159 mPhotoUri = photoUri; in Contact()
|
D | ContactLoader.java | 417 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() local 418 if (photoUri != null) { in loadPhotoBinaryData() 421 .openAssetFileDescriptor(Uri.parse(photoUri), "r"); in loadPhotoBinaryData() 509 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); in loadContactHeaderData() local 527 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
|
/packages/apps/Phone/src/com/android/phone/ |
D | CallCard.java | 1569 Uri photoUri = mPhotoTracker.getPhotoUri(); in updatePhotoForCallState() local 1570 if (photoUri == null) { in updatePhotoForCallState() 1581 getContext(), photoUri, this, in updatePhotoForCallState()
|