Searched defs:badge (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
H A DScoredNetworkTest.java256 private ScoredNetwork buildScoredNetworkWithGivenBadgeForTestRssi(int badge) { argument
258 new RssiCurve(RSSI_START, 10, new byte[] {0, 0, 0, 0, 0, 0, (byte) badge});
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java45 * Converts the user avatar icon to a circularly clipped one with an optional badge and frame
51 private Bitmap mBitmap; // baked representation. Required for transparent border around badge
74 * Gets the system default managed-user badge as a drawable. This drawable is tint-able.
79 * @return drawable containing just the badge
155 public UserIconDrawable setBadge(Drawable badge) { argument
156 mBadge = badge;
173 Drawable badge = null;
177 badge = getDrawableForDisplayDensity(
180 return setBadge(badge);
194 * Sets global padding of icon/frame. Doesn't effect the badge
[all...]
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DIconCompat.java483 public void addToShortcutIntent(@NonNull Intent outIntent, @Nullable Drawable badge, argument
489 if (badge != null) {
490 // Do not modify the original icon when applying a badge
500 if (badge == null) {
525 if (badge != null) {
529 badge.setBounds(w / 2, h / 2, w, h);
530 badge.draw(new Canvas(icon));
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java1115 // We only expose a badge if we have extended info.
1116 // The badge is a higher-priority disambiguation signal
1286 * @return The (small) icon to badge the target with
1291 * @return The content description for the badge icon
1841 if (holder.badge != null) {
1842 final Drawable badge = info.getBadgeIcon();
1843 if (badge != null) {
1844 holder.badge.setImageDrawable(badge);
1845 holder.badge
1914 public ImageView badge; field in class:ResolverActivity.ViewHolder
[all...]

Completed in 117 milliseconds