Home
last modified time | relevance | path

Searched refs:badge (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DConversationIconFactory.java99 Drawable badge = null; in getAppBadge() local
103 badge = Utils.getBadgedIcon(mContext, appInfo); in getAppBadge()
105 badge = mPackageManager.getDefaultActivityIcon(); in getAppBadge()
107 return badge; in getAppBadge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleStoryIconFactory.java73 Drawable badge = null; in getAppBadge() local
77 badge = Utils.getBadgedIcon(mContext, appInfo); in getAppBadge()
79 badge = mPackageManager.getDefaultActivityIcon(); in getAppBadge()
81 return badge; in getAppBadge()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java156 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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java325 public void badgeWithDrawable(Bitmap target, Drawable badge) { in badgeWithDrawable() argument
327 badgeWithDrawable(mCanvas, badge); in badgeWithDrawable()
334 public void badgeWithDrawable(Canvas target, Drawable badge) { in badgeWithDrawable() argument
337 badge.setBounds(0, mIconBitmapSize - badgeSize, badgeSize, mIconBitmapSize); in badgeWithDrawable()
339 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize, in badgeWithDrawable()
342 badge.draw(target); in badgeWithDrawable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBadgedImageView.java326 Bitmap badge = mBubble.getAppBadge(); in showBadge() local
327 if (badge == null) { in showBadge()
345 bubbleCanvas.drawBitmap(badge, null /* src */, dest, mPaint); in showBadge()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java318 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/
DScoredNetworkTest.java262 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/proto/android/service/
Dnotification.proto249 optional State badge= 13; field
324 optional State badge = 14; field
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1648 Drawable badge = new LauncherIcons(mContext).getBadgeDrawable( in getUserBadgedIcon() local
1651 return getBadgedDrawable(icon, badge, null, true); in getUserBadgedIcon()
1688 Drawable badge = new LayerDrawable(new Drawable[] {badgeColor, badgeForeground }); in getUserBadgeForDensity() local
1689 return badge; in getUserBadgeForDensity()
1700 Drawable badge = getDrawableForDensity( in getUserBadgeForDensityNoBackground() local
1702 if (badge != null) { in getUserBadgeForDensityNoBackground()
1703 badge.setTint(getUserBadgeColor(user, true)); in getUserBadgeForDensityNoBackground()
1705 return badge; in getUserBadgeForDensityNoBackground()
DNotification.java5046 Drawable badge = getProfileBadgeDrawable(); in getProfileBadge() local
5047 if (badge == null) { in getProfileBadge()
5054 badge.setBounds(0, 0, size, size); in getProfileBadge()
5055 badge.draw(canvas); in getProfileBadge()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java651 QuickContactBadge badge = (QuickContactBadge) view; in postInflateProcess() local
652 badge.setImageToDefault(); in postInflateProcess()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java609 assertEquals(policy.getVisualEffectBadge(), proto.badge); in assertProtoMatches()
/frameworks/proto_logging/stats/
Datoms.proto7356 optional State badge = 14; field