Home | History | Annotate | Download | only in graphics

Lines Matching defs:badge

271      * Adds the {@param badge} on top of {@param target} using the badge dimensions.
273 public void badgeWithDrawable(Bitmap target, Drawable badge) {
275 badgeWithDrawable(mCanvas, badge);
280 * Adds the {@param badge} on top of {@param target} using the badge dimensions.
282 private void badgeWithDrawable(Canvas target, Drawable badge) {
284 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize,
286 badge.draw(target);
385 final ItemInfoWithIcon badge = getShortcutInfoBadge(shortcutInfo, cache);
387 result.color = badge.iconColor;
390 badgeWithDrawable(c, new FastBitmapDrawable(badge));