/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 | 408 Uri photoUri, in loadPhoto() argument 414 if (photoUri == null) { in loadPhoto() 420 if (isDrawableUri(photoUri)) { in loadPhoto() 421 view.setImageURI(photoUri); in loadPhoto() 426 LogUtil.d("ContactPhotoManagerImpl.loadPhoto", "loadPhoto request: " + photoUri); in loadPhoto() 429 if (isDefaultImageUri(photoUri)) { in loadPhoto() 431 view, photoUri, requestedExtent, darkTheme, isCircular, defaultProvider); in loadPhoto() 435 Request.createFromUri(photoUri, requestedExtent, darkTheme, isCircular, defaultProvider)); in loadPhoto()
|
/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/Dialer/java/com/android/dialer/phonenumbercache/ |
D | ContactInfo.java | 57 public Uri photoUri; field in ContactInfo 123 if (!UriUtils.areEqual(photoUri, other.photoUri)) { in equals() 169 + photoUri in toString()
|
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()
|
/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 272 private void startTakePhotoActivity(Uri photoUri) { in startTakePhotoActivity() argument 273 final Intent intent = getTakePhotoIntent(photoUri); in startTakePhotoActivity() 274 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri); in startTakePhotoActivity() 283 private void startPickFromGalleryActivity(Uri photoUri) { in startPickFromGalleryActivity() argument 284 final Intent intent = getPhotoPickIntent(photoUri); in startPickFromGalleryActivity() 285 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri); in startPickFromGalleryActivity()
|
/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/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/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/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/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/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/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/TV/src/com/android/tv/dvr/data/ |
D | SeriesInfo.java | 36 String photoUri) { in SeriesInfo() argument 43 this.mPhotoUri = photoUri; in SeriesInfo()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContactPhotoManager.java | 38 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, in loadPhoto() argument 66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument
|
/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/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/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()
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | PrimaryInfo.java | 48 public abstract Uri photoUri(); in photoUri() method in PrimaryInfo 96 public abstract Builder setPhotoUri(Uri photoUri); in setPhotoUri() argument
|
/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() 391 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, in setPhoto() argument 414 if (photoId == 0 && photoUri != null) { in setPhoto() 415 ContactPhotoManager.getInstance(this).loadPhoto(mContactPhoto, photoUri, in setPhoto()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItem.java | 174 .setPhotoUri(photoUri()) in getPhotoInfo() 305 public abstract String photoUri(); in photoUri() method in SpeedDialUiItem 364 public abstract Builder setPhotoUri(String photoUri); in setPhotoUri() argument
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactTileView.java | 96 configureViewForImage(entry.photoUri == null); 100 entry.photoUri,
|