Home
last modified time | relevance | path

Searched refs:unreadCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt153 if (increment) unreadCount + 1 else unreadCount in onEntryReinflated()
156 }!!.unreadCount in onEntryReinflated()
175 if (expanded.contains(key)) state.copy(unreadCount = 0) in onNotificationPanelExpandStateChanged()
184 states.compute(key) { _, state -> state?.copy(unreadCount = 0) } in resetCount()
197 private data class ConversationState(val unreadCount: Int, val notification: Notification) constant in com.android.systemui.statusbar.notification.ConversationNotificationManager.ConversationState
/frameworks/base/core/java/com/android/internal/widget/
DConversationLayout.java459 int unreadCount = extras.getInt(Notification.EXTRA_CONVERSATION_UNREAD_MESSAGE_COUNT); in setData() local
460 setUnreadCount(unreadCount); in setData()
469 public void setUnreadCount(int unreadCount) { in setUnreadCount() argument
470 boolean visible = mIsCollapsed && unreadCount > 1; in setUnreadCount()
473 CharSequence text = unreadCount >= 100 in setUnreadCount()
475 : String.format(Locale.getDefault(), "%d", unreadCount); in setUnreadCount()