Searched defs:photoUri (Results 1 - 17 of 17) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntry.java31 public Uri photoUri; field in class:ContactEntry
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetails.java61 public final Uri photoUri; field in class:PhoneCallDetails
80 Uri photoUri, int sourceType) {
93 this.photoUri = photoUri;
76 PhoneCallDetails(CharSequence number, int numberPresentation, CharSequence formattedNumber, String countryIso, String geocode, int[] callTypes, long date, long duration, CharSequence name, int numberType, CharSequence numberLabel, Uri contactUri, Uri photoUri, int sourceType) argument
H A DCallDetailActivity.java470 final Uri photoUri = firstDetails.photoUri;
641 loadContactPhotos(photoUri, displayNameForDefaultImage, lookupKey, contactType);
706 final Uri photoUri;
721 photoUri = null;
729 photoUri = info.photoUri;
736 nameText, numberType, numberLabel, lookupUri, photoUri, sourceType);
745 private void loadContactPhotos(Uri photoUri, String displayName, String lookupKey, argument
749 mContactPhotoManager.loadPhoto(mContactBackgroundView, photoUri,
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactPhotoUtils.java134 * @param photoUri The uri of the file to save the image to.
136 public static void addPhotoPickerExtras(Intent intent, Uri photoUri) { argument
137 intent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri);
140 intent.setClipData(ClipData.newRawUri(MediaStore.EXTRA_OUTPUT, photoUri));
H A DStreamItemPhotoEntry.java37 public StreamItemPhotoEntry(long id, int sortIndex, long photoFileId, String photoUri, argument
42 mPhotoUri = photoUri;
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContactPhotoManager.java37 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, argument
60 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { argument
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java40 public Uri photoUri; field in class:ContactInfo
74 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false;
83 .add("photoUri", photoUri).toString();
H A DCallLogAdapter.java614 final Uri photoUri = info.photoUri;
628 duration, name, ntype, label, lookupUri, photoUri, sourceType);
656 if (photoId == 0 && photoUri != null) {
657 setPhoto(views, photoUri, lookupUri, nameForDefaultImage, lookupKey, contactType);
859 info.photoUri = null; // We do not cache the photo URI.
891 private void setPhoto(CallLogListItemViews views, Uri photoUri, Uri contactUri, argument
896 mContactPhotoManager.loadDirectoryPhoto(views.quickContactView, photoUri,
/packages/apps/Calendar/src/com/android/calendar/
H A DContactsAsyncHelper.java191 AttendeeItem item, Runnable run, Uri photoUri) {
195 if (photoUri == null) {
206 args.uri = photoUri;
190 retrieveContactPhotoAsync(Context context, AttendeeItem item, Runnable run, Uri photoUri) argument
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DPhotoSelectionHandler.java232 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); argument
254 private void startTakePhotoActivity(Uri photoUri) { argument
255 final Intent intent = getTakePhotoIntent(photoUri);
256 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri);
265 private void startPickFromGalleryActivity(Uri photoUri) { argument
266 final Intent intent = getPhotoPickIntent(photoUri);
267 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java73 String photoUri; field in class:GlobalSearchSupport.SearchSuggestion
88 if (photoUri != null) {
89 icon1 = photoUri.toString();
151 photoUri = null;
260 suggestion.photoUri = c.getString(2);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java255 * @param photoUri The URI of the current photo (may be null, in which case the default
269 public static Intent buildIntent(Context context, Uri photoUri, Bitmap photoBitmap, argument
273 if (photoUri != null && photoBitmap != null && photoBytes != null) {
274 intent.putExtra(PHOTO_URI, photoUri);
529 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
531 mCurrentPhotoUri = photoUri;
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java462 Uri photoUri = updatedPhotos.getParcelable(key);
475 if (!saveUpdatedPhoto(rawContactId, photoUri)) succeeded = false;
496 private boolean saveUpdatedPhoto(long rawContactId, Uri photoUri) { argument
501 return ContactPhotoUtils.savePhotoFromUriToUri(this, photoUri, outputUri, true);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java140 String photoUri, String displayName, String altDisplayName, String phoneticName,
156 mPhotoUri = photoUri;
138 Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, long id, long nameRawContactId, int displayNameSource, long photoId, String photoUri, String displayName, String altDisplayName, String phoneticName, boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, boolean isUserProfile) argument
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java1737 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { argument
1751 mUpdatedPhotos.putParcelable(String.valueOf(rawContact), photoUri);
1900 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
1904 mCurrentPhotoUri = photoUri;
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java788 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI);
790 displayName, photoUri));
833 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX);
835 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri);
857 String photoUri) {
863 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null;
856 Member(long rawContactId, String lookupKey, long contactId, String displayName, String photoUri) argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java365 * @param photoUri The uri of the photo to load
373 * @param defaultProvider The provider of default avatars (this is used if photoUri doesn't
376 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, argument
388 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, argument
390 loadPhoto(view, photoUri, requestedExtent, darkTheme, defaultImageRequest, DEFAULT_AVATAR);
401 public final void loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme, argument
403 loadPhoto(view, photoUri, -1, darkTheme, defaultImageRequest, DEFAULT_AVATAR);
431 * @param photoUri The URI of the photo (for future requests).
435 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); argument
685 public void loadPhoto(ImageView view, Uri photoUri, in argument
994 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument
[all...]

Completed in 268 milliseconds