Searched refs:senderAvatarModel (Results 1 – 2 of 2) sorted by relevance
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | SendersFormattingTests.java | 135 final ConversationItemViewModel.SenderAvatarModel senderAvatarModel = in testSenderAvatarIsSenderOfFirstUnreadMessage() local 140 senderAvatarModel, account, false, false); in testSenderAvatarIsSenderOfFirstUnreadMessage() local 143 assertEquals("b@b.com", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsSenderOfFirstUnreadMessage() 144 assertEquals("b", senderAvatarModel.getName()); in testSenderAvatarIsSenderOfFirstUnreadMessage() 155 final ConversationItemViewModel.SenderAvatarModel senderAvatarModel = in testSenderAvatarDoesNotChooseEmptyEmailAddress() local 160 senderAvatarModel, account, false, false); in testSenderAvatarDoesNotChooseEmptyEmailAddress() local 163 assertEquals("b", senderAvatarModel.getEmailAddress()); in testSenderAvatarDoesNotChooseEmptyEmailAddress() 164 assertEquals("b", senderAvatarModel.getName()); in testSenderAvatarDoesNotChooseEmptyEmailAddress() 175 final ConversationItemViewModel.SenderAvatarModel senderAvatarModel = in testSenderAvatarIsLastSenderIfAllMessagesAreRead() local 180 senderAvatarModel, account, false, false); in testSenderAvatarIsLastSenderIfAllMessagesAreRead() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SendersView.java | 236 ConversationItemViewModel.SenderAvatarModel senderAvatarModel, in format() argument 241 displayableSenderNames, senderAvatarModel, account, in format() 253 ConversationItemViewModel.SenderAvatarModel senderAvatarModel, in format() argument 260 displayableSenderNames, senderAvatarModel, account, in format() 272 ConversationItemViewModel.SenderAvatarModel senderAvatarModel, in handlePriority() argument 276 final boolean shouldSelectAvatar = senderAvatarModel != null; in handlePriority() 401 if (shouldSelectAvatar && senderAvatarModel.isNotPopulated() && in handlePriority() 403 senderAvatarModel.populate(currentName, senderEmail); in handlePriority() 417 if (shouldSelectAvatar && senderAvatarModel.isNotPopulated()) { in handlePriority() 426 senderAvatarModel.populate(participant.name, senderEmail); in handlePriority() [all …]
|