/packages/apps/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetails.java | 61 public final Uri photoUri; field in class:PhoneCallDetails 76 Uri photoUri) { 89 this.photoUri = photoUri; 72 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) argument
|
H A D | CallDetailActivity.java | 430 final Uri photoUri = firstDetails.photoUri; 593 loadContactPhotos(photoUri); 629 final Uri photoUri; 643 photoUri = null; 650 photoUri = info.photoUri; 656 nameText, numberType, numberLabel, lookupUri, photoUri); 665 private void loadContactPhotos(Uri photoUri) { argument 666 mContactPhotoManager.loadPhoto(mContactBackgroundView, photoUri, [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
H A D | MockContactPhotoManager.java | 37 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/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactEntry.java | 31 public Uri photoUri; field in class:ContactEntry
|
H A D | ContactTileView.java | 128 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(), 136 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
|
H A D | ContactTileAdapter.java | 251 String photoUri = cursor.getString(mPhotoUriIndex); 258 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null);
|
H A D | ContactListAdapter.java | 243 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString); 244 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | ContactInfo.java | 39 public Uri photoUri; field in class:ContactInfo 73 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; 82 .add("photoUri", photoUri).toString();
|
H A D | CallLogAdapter.java | 598 final Uri photoUri = info.photoUri; 611 duration, name, ntype, label, lookupUri, photoUri); 620 if (photoId == 0 && photoUri != null) { 621 setPhoto(views, photoUri, lookupUri); 826 info.photoUri = null; // We do not cache the photo URI. 854 private void setPhoto(CallLogListItemViews views, Uri photoUri, Uri contactUri) { argument 856 mContactPhotoManager.loadDirectoryPhoto(views.quickContactView, photoUri,
|
H A D | ContactInfoHelper.java | 170 info.photoUri =
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailPhotoSetter.java | 82 Uri photoUri = null; 84 photoUri = Uri.parse(mContactData.getPhotoUri()); 87 photoUri, mPhotoBitmap, mPhotoBytes, rect, delta, mContactData.isUserProfile(), 93 photoUri, mPhotoBitmap, mPhotoBytes);
|
H A D | PhotoSelectionHandler.java | 227 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); argument 249 private void startTakePhotoActivity(Uri photoUri) { argument 250 final Intent intent = getTakePhotoIntent(photoUri); 251 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri); 260 private void startPickFromGalleryActivity(Uri photoUri) { argument 261 final Intent intent = getPhotoPickIntent(photoUri); 262 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri);
|
H A D | ContactDetailDisplayUtils.java | 235 String photoUri = null; 241 photoUri = firstPhoto.getPhotoUri(); 248 if (photoUri != null) { 250 statusPhotoView, Uri.parse(photoUri), -1, false,
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | StreamItemPhotoEntry.java | 37 public StreamItemPhotoEntry(long id, int sortIndex, long photoFileId, String photoUri, argument 42 mPhotoUri = photoUri;
|
H A D | ContactPhotoUtils.java | 134 * @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));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | GlobalSearchSupport.java | 73 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/Dialer/src/com/android/dialer/list/ |
H A D | RegularSearchListAdapter.java | 50 info.photoUri = photoUriStr == null ? null : Uri.parse(photoUriStr);
|
H A D | PhoneFavoritesTileAdapter.java | 286 final String photoUri = cursor.getString(mPhotoUriIndex); 298 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ContactsAsyncHelper.java | 191 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/ContactsCommon/src/com/android/contacts/common/ |
H A D | ContactPhotoManager.java | 175 * @param photoUri The uri of the photo to load 181 * @param defaultProvider The provider of default avatars (this is used if photoUri doesn't 184 public abstract void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, argument 191 public final void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, argument 193 loadPhoto(view, photoUri, requestedExtent, darkTheme, DEFAULT_AVATAR); 200 public final void loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme) { argument 201 loadPhoto(view, photoUri, -1, darkTheme, DEFAULT_AVATAR); 229 * @param photoUri The URI of the photo (for future requests). 233 public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes); argument 483 public void loadPhoto(ImageView view, Uri photoUri, in argument 779 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | PhotoSelectionActivity.java | 260 * @param photoUri The URI of the current photo (may be null, in which case the default 274 public static Intent buildIntent(Context context, Uri photoUri, Bitmap photoBitmap, argument 278 if (photoUri != null && photoBitmap != null && photoBytes != null) { 279 intent.putExtra(PHOTO_URI, photoUri); 534 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument 536 mCurrentPhotoUri = photoUri;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | ContactLoader.java | 366 final String photoUri = json.optString(Contacts.PHOTO_URI, null); 376 photoUri, 511 String photoUri = contactData.getPhotoUri(); 512 if (photoUri != null) { 516 final Uri uri = Uri.parse(photoUri); 520 inputStream = new URL(photoUri).openStream(); 614 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI); 632 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName,
|
H A D | Contact.java | 140 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/group/ |
H A D | GroupEditorFragment.java | 786 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI); 788 displayName, photoUri)); 831 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX); 833 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri); 854 String photoUri) { 859 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null; 853 Member(long rawContactId, String lookupKey, long contactId, String displayName, String photoUri) argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | LegacyContactsProviderTest.java | 726 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); 727 mResolver.update(photoUri, values, null, null); 729 assertStoredValues(photoUri, values); 731 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); 739 assertStoredValues(photoUri, values); 779 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); 780 mResolver.update(photoUri, values, null, null);
|