Home
last modified time | relevance | path

Searched refs:avatarUri (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java260 Uri avatarUri = null; in onEntryCreated() local
270 avatarUri = UriUtil.persistContentToScratchSpace(inputStream); in onEntryCreated()
271 if (avatarUri != null) { in onEntryCreated()
287 if (avatarUri == null) { in onEntryCreated()
301 avatarUri = AvatarUriUtil.createAvatarUri(null, displayName, destination, null); in onEntryCreated()
305 mLoadedVCards.add(new VCardResourceEntry(entry, avatarUri)); in onEntryCreated()
DVCardResourceEntry.java64 public VCardResourceEntry(final CustomVCardEntry vcard, final Uri avatarUri) { in VCardResourceEntry() argument
67 mAvatarUri = avatarUri; in VCardResourceEntry()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetFactory.java168 protected Bitmap getAvatarBitmap(final Uri avatarUri) {
169 final String avatarType = avatarUri == null ?
170 null : AvatarUriUtil.getAvatarType(avatarUri);
173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize);
175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
DWidgetConversationService.java238 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in getViewAt() local
245 getAvatarBitmap(avatarUri) : null); in getViewAt()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java476 final Uri avatarUri = state.mParticipantAvatarsUris.get(0); in processAndSend() local
477 final AvatarRequestDescriptor descriptor = new AvatarRequestDescriptor(avatarUri, in processAndSend()
499 getDisplayPhotoUri(avatarUri)); in processAndSend()
502 new AvatarRequestDescriptor(avatarUri, in processAndSend()
535 private static Uri getThumbnailUri(final Uri avatarUri) { in getThumbnailUri() argument
537 final String avatarType = AvatarUriUtil.getAvatarType(avatarUri); in getThumbnailUri()
539 localUri = AvatarUriUtil.getPrimaryUri(avatarUri); in getThumbnailUri()
540 } else if (UriUtil.isLocalResourceUri(avatarUri)) { in getThumbnailUri()
541 localUri = avatarUri; in getThumbnailUri()
558 private static Uri getDisplayPhotoUri(final Uri avatarUri) { in getDisplayPhotoUri() argument
[all …]
DMessageNotificationState.java230 final Uri avatarUri, in ConversationLineInfo() argument
243 mAvatarUri = avatarUri; in ConversationLineInfo()
880 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in createConversationInfoList() local
894 avatarUri, in createConversationInfoList()
DBugleDatabaseOperations.java442 final Uri avatarUri = AvatarUriUtil.createAvatarUri(participants); in fillParticipantData() local
443 values.put(ConversationColumns.ICON, avatarUri.toString()); in fillParticipantData()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListItemView.java127 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewAppearance() local
129 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
137 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewAppearance() local
139 mContactIconView.setImageResourceUri(avatarUri, mData.getContactId(), in updateViewAppearance()
DContactRecipientPhotoManager.java65 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in populatePhotoBytesAsync()
68 new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize); in populatePhotoBytesAsync()
DAddContactsConfirmationDialog.java38 public AddContactsConfirmationDialog(final Context context, final Uri avatarUri, in AddContactsConfirmationDialog() argument
41 mAvatarUri = avatarUri; in AddContactsConfirmationDialog()
DContactDropdownLayouter.java116 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in bindIconToView() local
118 contactView.setImageResourceUri(avatarUri); in bindIconToView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java58 static Icon loadContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadContactAvatar() argument
59 if (avatarUri == null) { in loadContactAvatar()
64 InputStream input = context.getContentResolver().openInputStream(avatarUri); in loadContactAvatar()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java193 String initials, Uri avatarUri, String typeLabel) { in PhoneNumberInfo() argument
197 mAvatarUri = avatarUri; in PhoneNumberInfo()
400 Uri avatarUri = contact != null ? contact.getAvatarUri() : null; in setContactBitmapAsync() local
405 setContactBitmapAsync(context, icon, avatarUri, initials, identifier); in setContactBitmapAsync()
415 @Nullable final Uri avatarUri, in setContactBitmapAsync() argument
425 .load(avatarUri) in setContactBitmapAsync()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DAbstractConversationListActivity.java211 final Uri avatarUri; in onActionBarAddContact() local
213 avatarUri = Uri.parse(conversation.icon); in onActionBarAddContact()
215 avatarUri = null; in onActionBarAddContact()
218 this, avatarUri, conversation.otherParticipantNormalizedDestination); in onActionBarAddContact()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactRecipientEntryUtils.java66 final Uri avatarUri = contactId == CONTACT_ID_SENDTO_DESTINATION ? in constructSpecialRecipientEntry() local
70 null, contactId, avatarUri, true, null); in constructSpecialRecipientEntry()
DContactUtil.java196 final String contactLookupKey, final Uri avatarUri, in showOrAddContact() argument
207 view.getContext(), avatarUri, normalizedDestination); in showOrAddContact()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java130 Uri avatarUri = contact == null ? null : contact.getAvatarUri(); in onContactChanged() local
133 .load(avatarUri) in onContactChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java476 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewContent() local
481 mContactIconView.setImageResourceUri(avatarUri, mData.getSenderContactId(), in updateViewContent()
DConversationFragment.java817 final Uri avatarUri = AvatarUriUtil.createAvatarUri(participant); in onOptionsItemSelected() local
818 (new AddContactsConfirmationDialog(getActivity(), avatarUri, destination)).show(); in onOptionsItemSelected() local