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.java231 final Uri avatarUri, in ConversationLineInfo() argument
244 mAvatarUri = avatarUri; in ConversationLineInfo()
878 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in createConversationInfoList() local
892 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()
DAddContactsConfirmationDialog.java38 public AddContactsConfirmationDialog(final Context context, final Uri avatarUri, in AddContactsConfirmationDialog() argument
41 mAvatarUri = avatarUri; in AddContactsConfirmationDialog()
DContactRecipientPhotoManager.java65 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in populatePhotoBytesAsync()
68 new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize); in populatePhotoBytesAsync()
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.java56 static Icon loadRoundedContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadRoundedContactAvatar() argument
57 if (avatarUri == null) { in loadRoundedContactAvatar()
62 InputStream input = context.getContentResolver().openInputStream(avatarUri); in loadRoundedContactAvatar()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java298 Uri avatarUri = contact != null ? contact.getAvatarUri() : null; in setContactBitmapAsync() local
301 setContactBitmapAsync(context, icon, avatarUri, displayName); in setContactBitmapAsync()
311 final Uri avatarUri, in setContactBitmapAsync() argument
315 if (avatarUri != null) { in setContactBitmapAsync()
317 .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/common/entity/
DUiCallLog.java38 public UiCallLog(String title, String text, String number, Uri avatarUri, in UiCallLog() argument
43 mAvatarUri = avatarUri; in UiCallLog()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java475 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewContent() local
480 mContactIconView.setImageResourceUri(avatarUri, mData.getSenderContactId(), in updateViewContent()
DConversationFragment.java807 final Uri avatarUri = AvatarUriUtil.createAvatarUri(participant); in onOptionsItemSelected() local
808 (new AddContactsConfirmationDialog(getActivity(), avatarUri, destination)).show(); in onOptionsItemSelected() local