Home | History | Annotate | Download | only in badge

Lines Matching refs:badgeInfo

37  * @see BadgeInfo for the data to draw
89 * {@link BadgeInfo#getNotificationCount()} on top of the circle.
91 * @param badgeInfo Contains data to draw on the badge. Could be null if we are animating out.
96 public void draw(Canvas canvas, IconPalette palette, @Nullable BadgeInfo badgeInfo,
99 IconDrawer iconDrawer = badgeInfo != null && badgeInfo.isIconLarge()
101 Shader icon = badgeInfo == null ? null : badgeInfo.getNotificationIconForBadge(
103 String notificationCount = badgeInfo == null ? "0"
104 : String.valueOf(badgeInfo.getNotificationCount());
117 boolean isText = !DOTS_ONLY && badgeInfo != null && badgeInfo.getNotificationCount() != 0;
130 boolean shouldStack = !isDot && badgeInfo != null
131 && badgeInfo.getNotificationKeys().size() > 1;