/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManager.java | 119 public static Uri removeContactType(Uri photoUri) { in removeContactType() argument 120 String encodedFragment = photoUri.getEncodedFragment(); in removeContactType() 122 Builder builder = photoUri.buildUpon(); in removeContactType() 126 return photoUri; in removeContactType() 135 public static boolean isBusinessContactUri(Uri photoUri) { in isBusinessContactUri() argument 136 if (photoUri == null) { in isBusinessContactUri() 140 String encodedFragment = photoUri.getEncodedFragment(); in isBusinessContactUri() 235 Uri photoUri, in loadDialerThumbnailOrPhoto() argument 248 if (photoId == 0 && photoUri != null) { in loadDialerThumbnailOrPhoto() 249 loadDirectoryPhoto(badge, photoUri, false /* darkTheme */, true /* isCircular */, request); in loadDialerThumbnailOrPhoto() [all …]
|
D | ContactPhotoManagerImpl.java | 407 Uri photoUri, in loadPhoto() argument 413 if (photoUri == null) { in loadPhoto() 419 if (isDrawableUri(photoUri)) { in loadPhoto() 420 view.setImageURI(photoUri); in loadPhoto() 425 LogUtil.d("ContactPhotoManagerImpl.loadPhoto", "loadPhoto request: " + photoUri); in loadPhoto() 428 if (isDefaultImageUri(photoUri)) { in loadPhoto() 430 view, photoUri, requestedExtent, darkTheme, isCircular, defaultProvider); in loadPhoto() 434 Request.createFromUri(photoUri, requestedExtent, darkTheme, isCircular, defaultProvider)); in loadPhoto()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/ |
D | ContactDetails.java | 26 final Uri photoUri; field in ContactDetails 29 ContactDetails(String displayName, String photoUri, Uri lookupUri) { in ContactDetails() argument 31 this.photoUri = photoUri == null ? null : Uri.parse(photoUri); in ContactDetails()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 201 public static Uri removeContactType(Uri photoUri) { in removeContactType() argument 202 String encodedFragment = photoUri.getEncodedFragment(); in removeContactType() 204 Builder builder = photoUri.buildUpon(); in removeContactType() 208 return photoUri; in removeContactType() 217 public static boolean isBusinessContactUri(Uri photoUri) { in isBusinessContactUri() argument 218 if (photoUri == null) { in isBusinessContactUri() 222 String encodedFragment = photoUri.getEncodedFragment(); in isBusinessContactUri() 494 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument 506 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, in loadPhoto() argument 508 loadPhoto(view, photoUri, requestedExtent, darkTheme, isCircular, in loadPhoto() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 105 final String photoUri = adapter.getPhotoUri(cursor); in updateShareActionProvider() local 115 shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(photoUri)); in updateShareActionProvider() 126 final Uri photoUri = Uri.parse(getAdapter().getPhotoUri(cursor)); in isTempFile() local 127 return MediaScratchFileProvider.isMediaScratchSpaceUri(photoUri); in isTempFile() 161 final String photoUri = adapter.getPhotoUri(cursor); in onOptionsItemSelected() local 163 Uri.parse(photoUri), adapter.getContentType(cursor)).executeOnThreadPool(); in onOptionsItemSelected()
|
D | BuglePhotoBitmapLoader.java | 45 public BuglePhotoBitmapLoader(Context context, String photoUri) { in BuglePhotoBitmapLoader() argument 47 mPhotoUri = photoUri; in BuglePhotoBitmapLoader() 51 public void setPhotoUri(String photoUri) { in setPhotoUri() argument 52 mPhotoUri = photoUri; in setPhotoUri()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 238 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); in startPhotoActivity() argument 270 private void startTakePhotoActivity(Uri photoUri) { in startTakePhotoActivity() argument 271 final Intent intent = getTakePhotoIntent(photoUri); in startTakePhotoActivity() 272 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri); in startTakePhotoActivity() 281 private void startPickFromGalleryActivity(Uri photoUri) { in startPickFromGalleryActivity() argument 282 final Intent intent = getPhotoPickIntent(photoUri); in startPickFromGalleryActivity() 283 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri); in startPickFromGalleryActivity()
|
/packages/apps/Dialer/java/com/android/incallui/callpending/ |
D | CallPendingActivity.java | 99 Uri photoUri, in getIntent() argument 107 intent.putExtra(EXTRA_PHOTO_URI, photoUri); in getIntent() 169 Uri photoUri = getPhotoUri(); in createPrimaryInfo() local 172 InputStream is = getContentResolver().openInputStream(photoUri); in createPrimaryInfo() 173 photo = Drawable.createFromStream(is, photoUri.toString()); in createPrimaryInfo() 188 .setPhotoUri(photoUri) in createPrimaryInfo()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
D | ContactInfoHelper.java | 181 info.photoUri = in getContactInfo() 367 info.photoUri = UriUtils.parseUriOrNull(phoneLookupCursor.getString(PhoneQuery.PHOTO_URI)); in createPhoneLookupContactInfo() 517 final Uri updatedPhotoUriContactsOnly = UriUtils.nullForNonContactsUri(updatedInfo.photoUri); in updateCallLogContactInfo() 518 if (!UriUtils.areEqual(updatedPhotoUriContactsOnly, callLogInfo.photoUri)) { in updateCallLogContactInfo() 543 UriUtils.uriToString(UriUtils.nullForNonContactsUri(updatedInfo.photoUri))); in updateCallLogContactInfo() 636 if (!info.contactExists && info.photoUri == null && cequintCallerIdContact.photoUri() != null) { in updateFromCequintCallerId() 637 info.photoUri = UriUtils.parseUriOrNull(cequintCallerIdContact.photoUri()); in updateFromCequintCallerId()
|
D | ContactInfo.java | 57 public Uri photoUri; field in ContactInfo 123 if (!UriUtils.areEqual(photoUri, other.photoUri)) { in equals() 169 + photoUri in toString()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | AccountImageHelper.java | 63 String photoUri = null; in getAccountPictureUri() local 73 photoUri = c.getString(4); in getAccountPictureUri() 82 if (contactId != -1 && !TextUtils.isEmpty(lookupKey) && !TextUtils.isEmpty(photoUri)) { in getAccountPictureUri() 88 return photoUri; in getAccountPictureUri()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactViewHolder.java | 116 String photoUri = cursor.getString(Projections.PHOTO_URI); in bind() local 122 photoUri == null ? null : Uri.parse(photoUri), in bind() 289 String photoUri = cursor.getString(Projections.PHOTO_URI); in getDialerContact() local 290 if (photoUri != null) { in getDialerContact() 291 contact.setPhotoUri(photoUri); in getDialerContact()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 128 final Uri photoUri = ContactsContract.DisplayPhoto.CONTENT_URI.buildUpon() in setPhoto() local 130 setFullSizedPhoto(photoUri); in setPhoto() 200 public void setFullSizedPhoto(Uri photoUri) { in setFullSizedPhoto() argument 201 mPhotoImageView.setImageURI(photoUri); in setFullSizedPhoto()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintCallerIdManager.java | 92 public abstract String photoUri(); in photoUri() method in CequintCallerIdManager.CequintCallerIdContact 104 abstract Builder setPhotoUri(@Nullable String photoUri); in setPhotoUri() argument 223 String photoUri = getString(cursor, cursor.getColumnIndex(CequintColumnNames.PHOTO_URI)); in lookup() local 238 photoUri); in lookup() 242 .setPhotoUri(photoUri) in lookup()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 73 String photoUri; field in GlobalSearchSupport.SearchSuggestion 88 if (photoUri != null) { in asList() 89 icon1 = photoUri.toString(); in asList() 151 photoUri = null; in reset() 261 suggestion.photoUri = c.getString(2); in addSearchSuggestionsBasedOnFilter()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2Projections.java | 93 String photoUri = cursor.getString(CP2_INFO_PHOTO_URI_INDEX); in buildCp2ContactInfoFromCursor() local 107 if (!TextUtils.isEmpty(photoUri)) { in buildCp2ContactInfoFromCursor() 108 infoBuilder.setPhotoUri(photoUri); in buildCp2ContactInfoFromCursor()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
D | NearbyPlaceViewHolder.java | 71 String photoUri = cursor.getString(Projections.PHOTO_URI); in bind() local 77 photoUri == null ? null : Uri.parse(photoUri), in bind()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 132 final String photoUri = json.optString(Contacts.PHOTO_URI, null); in loadEncodedContactEntity() local 144 photoUri, in loadEncodedContactEntity() 327 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() local 328 if (photoUri != null) { in loadPhotoBinaryData() 332 final Uri uri = Uri.parse(photoUri); in loadPhotoBinaryData() 336 inputStream = new URL(photoUri).openStream(); in loadPhotoBinaryData() 428 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); in loadContactHeaderData() local 457 photoUri, in loadContactHeaderData()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 368 final String photoUri = json.optString(Contacts.PHOTO_URI, null); in loadEncodedContactEntity() local 378 photoUri, in loadEncodedContactEntity() 515 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() local 516 if (photoUri != null) { in loadPhotoBinaryData() 520 final Uri uri = Uri.parse(photoUri); in loadPhotoBinaryData() 524 inputStream = new URL(photoUri).openStream(); in loadPhotoBinaryData() 593 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); in loadContactHeaderData() local 611 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
|
/packages/apps/Contacts/src/com/android/contacts/dialog/ |
D | CallSubjectDialog.java | 237 public static void start(Activity activity, long photoId, Uri photoUri, Uri contactUri, in start() argument 242 arguments.putParcelable(ARG_PHOTO_URI, photoUri); in start() 390 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, in setPhoto() argument 413 if (photoId == 0 && photoUri != null) { in setPhoto() 414 ContactPhotoManager.getInstance(this).loadPhoto(mContactPhoto, photoUri, in setPhoto()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactPhotoUtils.java | 138 public static void addPhotoPickerExtras(Intent intent, Uri photoUri) { in addPhotoPickerExtras() argument 139 intent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri); in addPhotoPickerExtras() 142 intent.setClipData(ClipData.newRawUri(MediaStore.EXTRA_OUTPUT, photoUri)); in addPhotoPickerExtras()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterpriseContactsCursorWrapper.java | 196 final String photoUri = originalCursor.getString(photoUriIndex); in getCorpDisplayPhotoUri() local 197 if (photoUri == null) { in getCorpDisplayPhotoUri() 201 final int uriCode = sUriMatcher.match(Uri.parse(photoUri)); in getCorpDisplayPhotoUri()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 90 String photoUri = cursor.getString(Projections.PHOTO_URI); in bind() local 96 photoUri == null ? null : Uri.parse(photoUri), in bind()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 234 final String photoUri = cursor.getString(photoUriColumn); in saveCursorToCache() local 251 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null); in saveCursorToCache() 281 if (photoUri != null) { in saveCursorToCache()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsAdapter.java | 191 String photoUri = cursor.getString(ContactsCursorLoader.CONTACT_PHOTO_URI); in getPhotoUri() local 192 return photoUri == null ? null : Uri.parse(photoUri); in getPhotoUri()
|