Searched refs:badgeBitmap (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DrawableFactory.java | 88 Bitmap badgeBitmap = getUserBadge(user, context, badgeSize); in getBadgeForUser() local 89 FastBitmapDrawable d = new FastBitmapDrawable(badgeBitmap); in getBadgeForUser() 91 d.setBounds(0, 0, badgeBitmap.getWidth(), badgeBitmap.getHeight()); in getBadgeForUser() 96 Bitmap badgeBitmap = mUserBadges.get(user); in getUserBadge() local 97 if (badgeBitmap != null) { in getUserBadge() 98 return badgeBitmap; in getUserBadge() 102 badgeBitmap = Bitmap.createBitmap(badgeSize, badgeSize, Bitmap.Config.ARGB_8888); in getUserBadge() 105 new BitmapDrawable(res, badgeBitmap), user, new Rect(0, 0, badgeSize, badgeSize), in getUserBadge() 108 badgeBitmap = ((BitmapDrawable) drawable).getBitmap(); in getUserBadge() 110 badgeBitmap.eraseColor(Color.TRANSPARENT); in getUserBadge() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | FolderAdaptiveIcon.java | 103 Bitmap badgeBitmap, Point dragViewSize) { in createDrawableOnUiThread() argument 111 c.setBitmap(badgeBitmap); in createDrawableOnUiThread() 139 ShiftedBitmapDrawable badge = new ShiftedBitmapDrawable(badgeBitmap, margin, margin); in createDrawableOnUiThread()
|