Home
last modified time | relevance | path

Searched refs:avatarIcon (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflater.kt271 var avatarIcon = sender?.icon in loadConversationAvatar() variable
272 if (avatarIcon == null) { in loadConversationAvatar()
273 avatarIcon = builder.getDefaultAvatar(name = conversationText) in loadConversationAvatar()
275 conversationIcon = avatarIcon in loadConversationAvatar()
/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java115 Icon avatarIcon = Icon.createWithResource(mContext, R.drawable.messaging_user); in createAvatarSymbol() local
116 avatarIcon.setTint(findColor(name, layoutColor)); in createAvatarSymbol()
117 return avatarIcon; in createAvatarSymbol()
DConversationLayout.java619 Icon avatarIcon = messagingGroup.getAvatarIcon(); in computeAndSetConversationAvatarAndName() local
620 if (avatarIcon == null) { in computeAndSetConversationAvatarAndName()
621 avatarIcon = mPeopleHelper.createAvatarSymbol(conversationText, "", in computeAndSetConversationAvatarAndName()
624 mConversationIcon = avatarIcon; in computeAndSetConversationAvatarAndName()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java742 Bitmap avatarIcon = style.getMessages().get(0).getSenderPerson().getIcon().getBitmap(); in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() local
743 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()