Home
last modified time | relevance | path

Searched refs:senderName (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java273 CharSequence senderName = group.getSenderName(); in updateTitleAndNamesDisplay() local
274 if (!group.needsGeneratedAvatar() || TextUtils.isEmpty(senderName)) { in updateTitleAndNamesDisplay()
277 if (!uniqueNames.containsKey(senderName)) { in updateTitleAndNamesDisplay()
280 .matcher(senderName).replaceAll("" /* replacement */); in updateTitleAndNamesDisplay()
290 uniqueNames.put(senderName, findNameSplit((String) senderName)); in updateTitleAndNamesDisplay()
292 uniqueNames.put(senderName, Character.toString(c)); in updateTitleAndNamesDisplay()
304 CharSequence senderName = group.getSenderName(); in updateTitleAndNamesDisplay() local
305 if (!group.needsGeneratedAvatar() || TextUtils.isEmpty(senderName) in updateTitleAndNamesDisplay()
309 String symbol = uniqueNames.get(senderName); in updateTitleAndNamesDisplay()
310 Icon cachedIcon = group.getAvatarSymbolIfMatching(senderName, in updateTitleAndNamesDisplay()
[all …]
DConversationLayout.java843 CharSequence senderName = group.getSenderName(); in updateTitleAndNamesDisplay() local
844 if (!group.needsGeneratedAvatar() || TextUtils.isEmpty(senderName)) { in updateTitleAndNamesDisplay()
847 if (!uniqueNames.containsKey(senderName)) { in updateTitleAndNamesDisplay()
850 .matcher(senderName).replaceAll("" /* replacement */); in updateTitleAndNamesDisplay()
860 uniqueNames.put(senderName, findNameSplit((String) senderName)); in updateTitleAndNamesDisplay()
862 uniqueNames.put(senderName, Character.toString(c)); in updateTitleAndNamesDisplay()
874 CharSequence senderName = group.getSenderName(); in updateTitleAndNamesDisplay() local
875 if (!group.needsGeneratedAvatar() || TextUtils.isEmpty(senderName) in updateTitleAndNamesDisplay()
879 String symbol = uniqueNames.get(senderName); in updateTitleAndNamesDisplay()
880 Icon cachedIcon = group.getAvatarSymbolIfMatching(senderName, in updateTitleAndNamesDisplay()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java57 mFlyoutMessage.senderName = "Josh"; in setUp()
DBubbleTest.java140 assertEquals("Mady", BubbleViewInfoTask.extractFlyoutMessage(mEntry).senderName); in testGetUpdateMessage_messagingStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java242 if (!TextUtils.isEmpty(flyoutMessage.senderName)) { in setupFlyoutStartingAsDot()
244 mSenderText.setText(flyoutMessage.senderName); in setupFlyoutStartingAsDot()
DBubbleViewInfoTask.java244 bubbleMessage.senderName = sender != null ? sender.getName() : null; in extractFlyoutMessage()
DBubble.java89 @Nullable public CharSequence senderName; field in Bubble.FlyoutMessage
/frameworks/base/core/java/android/app/
DNotification.java8013 CharSequence senderName = bundle.getCharSequence(KEY_SENDER); in getMessageFromBundle() local
8014 if (senderName != null) { in getMessageFromBundle()
8015 senderPerson = new Person.Builder().setName(senderName).build(); in getMessageFromBundle()