Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DPriorityOnboardingDialogController.kt61 val badge : Drawable in <lambda>() constant in com.android.systemui.statusbar.notification.row.PriorityOnboardingDialogController
100 private lateinit var badge : Drawable in <lambda>() variable in com.android.systemui.statusbar.notification.row.PriorityOnboardingDialogController.Builder
126 fun setBadge(badge : Drawable) : Builder { in <lambda>()
127 this.badge = badge in <lambda>()
139 onConversationSettingsClickListener, badge) in <lambda>()
167 findViewById<ImageView>(R.id.icon)?.setImageDrawable(badge) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DConversationIconFactory.java98 Drawable badge = null; in getAppBadge() local
102 badge = mIconDrawableFactory.getBadgedIcon(appInfo, userId); in getAppBadge()
104 badge = mPackageManager.getDefaultActivityIcon(); in getAppBadge()
106 return badge; in getAppBadge()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java259 public void badgeWithDrawable(Bitmap target, Drawable badge) { in badgeWithDrawable() argument
261 badgeWithDrawable(mCanvas, badge); in badgeWithDrawable()
268 public void badgeWithDrawable(Canvas target, Drawable badge) { in badgeWithDrawable() argument
271 badge.setBounds(0, mIconBitmapSize - badgeSize, badgeSize, mIconBitmapSize); in badgeWithDrawable()
273 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize, in badgeWithDrawable()
276 badge.draw(target); in badgeWithDrawable()
/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/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleIconFactory.java116 BitmapInfo getBubbleBitmap(Drawable bubble, BitmapInfo badge) { in getBubbleBitmap() argument
122 new BitmapDrawable(mContext.getResources(), badge.icon)); in getBubbleBitmap()
/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.java1579 Drawable badge = new LauncherIcons(mContext).getBadgeDrawable( in getUserBadgedIcon() local
1582 return getBadgedDrawable(icon, badge, null, true); in getUserBadgedIcon()
1619 Drawable badge = new LayerDrawable(new Drawable[] {badgeColor, badgeForeground }); in getUserBadgeForDensity() local
1620 return badge; in getUserBadgeForDensity()
1631 Drawable badge = getDrawableForDensity( in getUserBadgeForDensityNoBackground() local
1633 if (badge != null) { in getUserBadgeForDensityNoBackground()
1634 badge.setTint(getUserBadgeColor(user, true)); in getUserBadgeForDensityNoBackground()
1636 return badge; in getUserBadgeForDensityNoBackground()
DNotification.java4721 Drawable badge = getProfileBadgeDrawable(); in getProfileBadge() local
4722 if (badge == null) { in getProfileBadge()
4729 badge.setBounds(0, 0, size, size); in getProfileBadge()
4730 badge.draw(canvas); in getProfileBadge()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java656 QuickContactBadge badge = (QuickContactBadge) view; in postInflateProcess() local
657 badge.setImageToDefault(); in postInflateProcess()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java609 assertEquals(policy.getVisualEffectBadge(), proto.badge); in assertProtoMatches()
/frameworks/base/cmds/statsd/src/
Datoms.proto6292 optional State badge = 14; field