/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/ContactsCommon/src/com/android/contacts/common/ |
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/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 237 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); in startPhotoActivity() argument 269 private void startTakePhotoActivity(Uri photoUri) { in startTakePhotoActivity() argument 270 final Intent intent = getTakePhotoIntent(photoUri); in startTakePhotoActivity() 271 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri); in startTakePhotoActivity() 280 private void startPickFromGalleryActivity(Uri photoUri) { in startPickFromGalleryActivity() argument 281 final Intent intent = getPhotoPickIntent(photoUri); in startPickFromGalleryActivity() 282 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri); in startPickFromGalleryActivity()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | ContactInfo.java | 56 public Uri photoUri; field in ContactInfo 92 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals() 105 .add("photoUri", photoUri).add("objectId", objectId) in toString()
|
D | ContactInfoHelper.java | 204 info.photoUri = UriUtils.parseUriOrNull(phoneLookupCursor.getString(PhoneQuery.PHOTO_URI)); in createPhoneLookupContactInfo() 348 UriUtils.nullForNonContactsUri(updatedInfo.photoUri); in updateCallLogContactInfo() 350 !UriUtils.areEqual(updatedPhotoUriContactsOnly, callLogInfo.photoUri)) { in updateCallLogContactInfo() 371 UriUtils.nullForNonContactsUri(updatedInfo.photoUri))); in updateCallLogContactInfo() 447 info.photoUri = DialerCompatUtils.isCallsCachedPhotoUriCompatible() ? in getContactInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | AccountImageHelper.java | 65 String photoUri = null; in getAccountPictureUri() local 75 photoUri = c.getString(4); in getAccountPictureUri() 84 if (contactId != -1 && !TextUtils.isEmpty(lookupKey) && !TextUtils.isEmpty(photoUri)) { in getAccountPictureUri() 90 return photoUri; in getAccountPictureUri()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 141 final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon() in setValues() local 143 setFullSizedPhoto(photoUri); in setValues() 207 public void setFullSizedPhoto(Uri photoUri) { in setFullSizedPhoto() argument 208 if (photoUri != null) { in setFullSizedPhoto() 217 mContactPhotoManager.loadPhoto(mPhotoImageView, photoUri, in setFullSizedPhoto()
|
D | CompactPhotoEditorView.java | 131 final Uri photoUri = ContactsContract.DisplayPhoto.CONTENT_URI.buildUpon() in setPhoto() local 133 setFullSizedPhoto(photoUri); in setPhoto() 212 public void setFullSizedPhoto(Uri photoUri) { in setFullSizedPhoto() argument 214 mPhotoImageView, photoUri); in setFullSizedPhoto() local
|
D | ContactEditorFragment.java | 246 final Uri photoUri = updatedPhotoUriForRawContact(rawContactId); in bindEditors() local 247 if (photoUri != null) editor.setFullSizedPhoto(photoUri); in bindEditors() 469 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { in setPhoto() argument 494 mUpdatedPhotos.putParcelable(String.valueOf(rawContact), photoUri); in setPhoto() local 576 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { in startPhotoActivity() argument 580 mCurrentPhotoUri = photoUri; in startPhotoActivity()
|
/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/Contacts/src/com/android/contacts/util/ |
D | ContactPhotoUtils.java | 139 public static void addPhotoPickerExtras(Intent intent, Uri photoUri) { in addPhotoPickerExtras() argument 140 intent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri); in addPhotoPickerExtras() 143 intent.setClipData(ClipData.newRawUri(MediaStore.EXTRA_OUTPUT, photoUri)); in addPhotoPickerExtras()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/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/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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileView.java | 130 configureViewForImage(entry.photoUri == null); 132 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(), 140 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
|
D | ContactTileAdapter.java | 241 String photoUri = cursor.getString(mPhotoUriIndex); in createContactEntryFromCursor() local 248 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null); in createContactEntryFromCursor()
|
D | ContactListAdapter.java | 257 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString); in bindPhoto() local 259 if (photoUri == null) { in bindPhoto() 264 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false, in bindPhoto() local
|
/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/ContactsCommon/src/com/android/contacts/common/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/Dialer/tests/src/com/android/dialer/contactinfo/ |
D | ContactPhotoLoaderTest.java | 71 info.photoUri = getResourceUri(R.drawable.phone_icon); in testGetIcon_Photo() 78 info.photoUri = Uri.parse("file://invalid/uri"); in testGetIcon_Photo_Invalid()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupEditorFragment.java | 770 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI); 772 displayName, photoUri)); 815 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX); 817 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri); 839 String photoUri) { in Member() argument 845 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null; in Member()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 398 final String photoUri = json.optString(Contacts.PHOTO_URI, null); in loadEncodedContactEntity() local 408 photoUri, in loadEncodedContactEntity() 545 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() local 546 if (photoUri != null) { in loadPhotoBinaryData() 550 final Uri uri = Uri.parse(photoUri); in loadPhotoBinaryData() 554 inputStream = new URL(photoUri).openStream(); in loadPhotoBinaryData() 652 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); in loadContactHeaderData() local 670 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
|
/packages/apps/Dialer/src/com/android/dialer/contactinfo/ |
D | ContactPhotoLoader.java | 80 if (mContactInfo.photoUri == null) { in createPhotoIconDrawable() 85 mContactInfo.photoUri); in createPhotoIconDrawable()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
D | EmergencyContactManager.java | 63 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, in getContact() local 66 photoUri, in getContact()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapter.java | 279 final String photoUri = cursor.getString(mPhotoUriIndex); in saveCursorToCache() local 295 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null); in saveCursorToCache()
|