Searched refs:avatarIcon (Results 1 – 4 of 4) sorted by relevance
271 var avatarIcon = sender?.icon in loadConversationAvatar() variable272 if (avatarIcon == null) { in loadConversationAvatar()273 avatarIcon = builder.getDefaultAvatar(name = conversationText) in loadConversationAvatar()275 conversationIcon = avatarIcon in loadConversationAvatar()
115 Icon avatarIcon = Icon.createWithResource(mContext, R.drawable.messaging_user); in createAvatarSymbol() local116 avatarIcon.setTint(findColor(name, layoutColor)); in createAvatarSymbol()117 return avatarIcon; in createAvatarSymbol()
619 Icon avatarIcon = messagingGroup.getAvatarIcon(); in computeAndSetConversationAvatarAndName() local620 if (avatarIcon == null) { in computeAndSetConversationAvatarAndName()621 avatarIcon = mPeopleHelper.createAvatarSymbol(conversationText, "", in computeAndSetConversationAvatarAndName()624 mConversationIcon = avatarIcon; in computeAndSetConversationAvatarAndName()
742 Bitmap avatarIcon = style.getMessages().get(0).getSenderPerson().getIcon().getBitmap(); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() local743 assertThat((float) avatarIcon.getWidth()).isWithin(3f).of(targetSize); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()744 assertThat((float) avatarIcon.getHeight()).isWithin(3f).of(targetSize); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()