Home
last modified time | relevance | path

Searched refs:uniqueNames (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java194 ArrayMap<CharSequence, String> uniqueNames = new ArrayMap<>(); in mapUniqueNamesToPrefix() local
203 if (!uniqueNames.containsKey(senderName)) { in mapUniqueNamesToPrefix()
213 uniqueNames.put(existingName, findNameSplit(existingName)); in mapUniqueNamesToPrefix()
216 uniqueNames.put(senderName, findNameSplit(senderName)); in mapUniqueNamesToPrefix()
218 uniqueNames.put(senderName, charPrefix); in mapUniqueNamesToPrefix()
223 return uniqueNames; in mapUniqueNamesToPrefix()
256 ArrayMap<String, String> uniqueNames = new ArrayMap<>(); in mapUniqueNamesToPrefixWithGroupList() local
269 if (!uniqueNames.containsKey(senderNameString)) { in mapUniqueNamesToPrefixWithGroupList()
279 uniqueNames.put(existingName.toString(), findNameSplit(existingName)); in mapUniqueNamesToPrefixWithGroupList()
282 uniqueNames.put(senderNameString, findNameSplit(senderName)); in mapUniqueNamesToPrefixWithGroupList()
[all …]
DCompactMessagingLayout.java201 @Nullable PeopleHelper.NameToPrefixMap uniqueNames, in getSenderIcon() argument
214 final String symbol = uniqueNames != null ? uniqueNames.getPrefix(senderName) : ""; in getSenderIcon()
DMessagingLayout.java354 Map<CharSequence, String> uniqueNames = mPeopleHelper.mapUniqueNamesToPrefix(mGroups); in updateTitleAndNamesDisplay() local
367 String symbol = uniqueNames.get(senderName); in updateTitleAndNamesDisplay()
387 cachedIcon = createAvatarSymbol(senderName, uniqueNames.get(senderName), in updateTitleAndNamesDisplay()
391 group.setCreatedAvatar(cachedIcon, senderName, uniqueNames.get(senderName), in updateTitleAndNamesDisplay()
DConversationLayout.java987 Map<CharSequence, String> uniqueNames = mPeopleHelper.mapUniqueNamesToPrefix(mGroups); in updateTitleAndNamesDisplay() local
1000 String symbol = uniqueNames.get(senderName); in updateTitleAndNamesDisplay()
1021 uniqueNames.get(senderName), mLayoutColor); in updateTitleAndNamesDisplay()
1024 group.setCreatedAvatar(cachedIcon, senderName, uniqueNames.get(senderName), in updateTitleAndNamesDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflater.kt251 val uniqueNames = peopleHelper.mapUniqueNamesToPrefixWithGroupList(groups) in loadConversationAvatar() constant
309 uniqueNames = uniqueNames in loadConversationAvatar()
317 uniqueNames = uniqueNames in loadConversationAvatar()
373 uniqueNames: PeopleHelper.NameToPrefixMap? = null in getDefaultAvatar()
377 val symbol = uniqueNames?.getPrefix(name) ?: "" in getDefaultAvatar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java608 Set<CharSequence> uniqueNames = new HashSet<>(); in getUniqueSubscriptionDisplayNames() local
611 .filter(info -> !uniqueNames.add(info.originalName)) in getUniqueSubscriptionDisplayNames()
643 uniqueNames.clear(); in getUniqueSubscriptionDisplayNames()
645 .filter(info -> !uniqueNames.add(info.uniqueName)) in getUniqueSubscriptionDisplayNames()