Searched refs:badge (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | IconDrawableFactory.java | 105 int badge = um.getManagedProfileBadge(userId); in getUserBadgeColor() local 106 if (badge < 0) { in getUserBadgeColor() 107 badge = 0; in getUserBadgeColor() 109 int resourceId = CORP_BADGE_COLORS[badge % CORP_BADGE_COLORS.length]; in getUserBadgeColor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 156 public UserIconDrawable setBadge(Drawable badge) { in setBadge() argument 157 mBadge = badge; in setBadge() 174 Drawable badge = null; in setBadgeIfManagedUser() local 179 badge = getDrawableForDisplayDensity( in setBadgeIfManagedUser() 183 return setBadge(badge); in setBadgeIfManagedUser()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 318 Drawable badge = mPm.getUserBadgeForDensity(new UserHandle(userId), 0 /* dpi */); in getUserBadge() local 319 mBadges.put(userId, badge); in getUserBadge() 320 return badge; in getUserBadge()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 262 private ScoredNetwork buildScoredNetworkWithGivenBadgeForTestRssi(int badge) { in buildScoredNetworkWithGivenBadgeForTestRssi() argument 264 new RssiCurve(RSSI_START, 10, new byte[] {0, 0, 0, 0, 0, 0, (byte) badge}); in buildScoredNetworkWithGivenBadgeForTestRssi()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1440 Drawable badge = new LauncherIcons(mContext).getBadgeDrawable( in getUserBadgedIcon() local 1443 return getBadgedDrawable(icon, badge, null, true); in getUserBadgedIcon() 1477 Drawable badge = new LayerDrawable(new Drawable[] {badgeColor, badgeForeground }); in getUserBadgeForDensity() local 1478 return badge; in getUserBadgeForDensity() 1483 Drawable badge = getManagedProfileIconForDensity(user, in getUserBadgeForDensityNoBackground() local 1485 if (badge != null) { in getUserBadgeForDensityNoBackground() 1486 badge.setTint(getUserBadgeColor(user)); in getUserBadgeForDensityNoBackground() 1488 return badge; in getUserBadgeForDensityNoBackground() 1508 int badge = getUserManager().getManagedProfileBadge(user.getIdentifier()); in getUserBadgedLabel() local 1509 int resourceId = CORP_BADGE_LABEL_RES_ID[badge % CORP_BADGE_LABEL_RES_ID.length]; in getUserBadgedLabel()
|
D | Notification.java | 4591 Drawable badge = getProfileBadgeDrawable(); in getProfileBadge() local 4592 if (badge == null) { in getProfileBadge() 4599 badge.setBounds(0, 0, size, size); in getProfileBadge() 4600 badge.draw(canvas); in getProfileBadge()
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 249 optional State badge= 13; field
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 635 QuickContactBadge badge = (QuickContactBadge) view; in postInflateProcess() local 636 badge.setImageToDefault(); in postInflateProcess()
|