Home
last modified time | relevance | path

Searched refs:AvatarUriUtil (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DAvatarRequest.java33 import com.android.messaging.util.AvatarUriUtil;
56 final Uri primaryUri = AvatarUriUtil.getPrimaryUri(mDescriptor.uri); in getInputStreamForResource()
73 String avatarType = AvatarUriUtil.getAvatarType(mDescriptor.uri); in loadMediaInternal()
77 AvatarUriUtil.TYPE_LOCAL_RESOURCE_URI.equals(avatarType); in loadMediaInternal()
99 generatedUri = AvatarUriUtil.getFallbackUri(mDescriptor.uri); in loadMediaInternal()
102 generatedUri = AvatarUriUtil.DEFAULT_BACKGROUND_AVATAR; in loadMediaInternal()
106 avatarType = AvatarUriUtil.getAvatarType(generatedUri); in loadMediaInternal()
107 if (AvatarUriUtil.TYPE_LETTER_TILE_URI.equals(avatarType)) { in loadMediaInternal()
108 final String name = AvatarUriUtil.getName(generatedUri); in loadMediaInternal()
DSimSelectorAvatarRequest.java34 import com.android.messaging.util.AvatarUriUtil;
54 final String avatarType = AvatarUriUtil.getAvatarType(mDescriptor.uri); in loadMediaInternal()
55 if (AvatarUriUtil.TYPE_SIM_SELECTOR_URI.equals(avatarType)){ in loadMediaInternal()
58 final String identifier = AvatarUriUtil.getIdentifier(mDescriptor.uri); in loadMediaInternal()
59 final boolean simSelected = AvatarUriUtil.getSimSelected(mDescriptor.uri); in loadMediaInternal()
60 final int simColor = AvatarUriUtil.getSimColor(mDescriptor.uri); in loadMediaInternal()
61 final boolean incoming = AvatarUriUtil.getSimIncoming(mDescriptor.uri); in loadMediaInternal()
DAvatarRequestDescriptor.java23 import com.android.messaging.util.AvatarUriUtil;
47 AvatarUriUtil.isAvatarUri(uri)); in AvatarRequestDescriptor()
53 final String avatarType = uri == null ? null : AvatarUriUtil.getAvatarType(uri); in buildSyncMediaRequest()
54 if (AvatarUriUtil.TYPE_SIM_SELECTOR_URI.equals(avatarType)) { in buildSyncMediaRequest()
DAvatarGroupRequestDescriptor.java23 import com.android.messaging.util.AvatarUriUtil;
45 final List<String> participantUriStrings = AvatarUriUtil.getGroupParticipantUris(uri); in convertToDescriptor()
DVCardRequest.java24 import com.android.messaging.util.AvatarUriUtil;
301 avatarUri = AvatarUriUtil.createAvatarUri(null, displayName, destination, null); in onEntryCreated()
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java63 public class AvatarUriUtil { class
110 return AvatarUriUtil.joinAvatarUriToGroup(avatarUris); in createAvatarUri()
125 Assert.isTrue(AvatarUriUtil.isAvatarUri(firstAvatar)); in joinAvatarUriToGroup()
137 Assert.isTrue(UriUtil.isLocalResourceUri(uri) || AvatarUriUtil.isAvatarUri(uri)); in joinAvatarUriToGroup()
165 generatedUri = AvatarUriUtil.fromName(name, contactLookupKey); in createAvatarUri()
169 generatedUri = AvatarUriUtil.fromIdentifier(identifier); in createAvatarUri()
DContactRecipientEntryUtils.java67 AvatarUriUtil.DEFAULT_BACKGROUND_AVATAR : null; in constructSpecialRecipientEntry()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java24 import com.android.messaging.util.AvatarUriUtil;
75 AvatarUriUtil.createAvatarUri(selfParticipantData, iconIdentifier, in fromSelfParticipantData()
77 AvatarUriUtil.createAvatarUri(selfParticipantData, iconIdentifier, in fromSelfParticipantData()
DParticipantListItemData.java25 import com.android.messaging.util.AvatarUriUtil;
42 mAvatarUri = AvatarUriUtil.createAvatarUri(participant); in ParticipantListItemData()
DVCardContactItemData.java33 import com.android.messaging.util.AvatarUriUtil;
51 AvatarUriUtil.createAvatarUri(null, null, null, null);
/packages/apps/Messaging/src/com/android/messaging/ui/
DContactIconView.java32 import com.android.messaging.util.AvatarUriUtil;
116 final String avatarType = AvatarUriUtil.getAvatarType(uri); in setImageResourceUri()
117 if (AvatarUriUtil.TYPE_GROUP_URI.equals(avatarType)) { in setImageResourceUri()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetFactory.java40 import com.android.messaging.util.AvatarUriUtil;
170 null : AvatarUriUtil.getAvatarType(avatarUri);
172 if (AvatarUriUtil.TYPE_GROUP_URI.equals(avatarType)) {
DWidgetConversationService.java49 import com.android.messaging.util.AvatarUriUtil;
238 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in getViewAt()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListItemView.java36 import com.android.messaging.util.AvatarUriUtil;
127 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewAppearance()
137 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewAppearance()
DContactRecipientPhotoManager.java32 import com.android.messaging.util.AvatarUriUtil;
65 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in populatePhotoBytesAsync()
DContactDropdownLayouter.java35 import com.android.messaging.util.AvatarUriUtil;
116 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in bindIconToView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java65 import com.android.messaging.util.AvatarUriUtil;
620 return self == null ? null : AvatarUriUtil.createAvatarUri(self); in getSelfSendButtonIconUri()
1002 return AvatarUriUtil.TYPE_GROUP_URI.equals(AvatarUriUtil.getAvatarType(overridenSelfUri)); in isOverriddenAvatarAGroup()
DSimIconView.java28 import com.android.messaging.util.AvatarUriUtil;
DConversationMessageView.java66 import com.android.messaging.util.AvatarUriUtil;
476 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in updateViewContent()
DConversationFragment.java97 import com.android.messaging.util.AvatarUriUtil;
817 final Uri avatarUri = AvatarUriUtil.createAvatarUri(participant); in onOptionsItemSelected()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java67 import com.android.messaging.util.AvatarUriUtil;
537 final String avatarType = AvatarUriUtil.getAvatarType(avatarUri); in getThumbnailUri()
538 if (TextUtils.equals(avatarType, AvatarUriUtil.TYPE_LOCAL_RESOURCE_URI)) { in getThumbnailUri()
539 localUri = AvatarUriUtil.getPrimaryUri(avatarUri); in getThumbnailUri()
DMessageNotificationState.java52 import com.android.messaging.util.AvatarUriUtil;
880 final Uri avatarUri = AvatarUriUtil.createAvatarUri( in createConversationInfoList()
DBugleDatabaseOperations.java45 import com.android.messaging.util.AvatarUriUtil;
442 final Uri avatarUri = AvatarUriUtil.createAvatarUri(participants); in fillParticipantData()