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

/frameworks/base/core/tests/coretests/src/android/net/
H A DScoredNetworkTest.java207 private ScoredNetwork buildScoredNetworkWithGivenBadgeForTestRssi(int badge) { argument
209 new RssiCurve(RSSI_START, 10, new byte[] {0, 0, 0, 0, 0, 0, (byte) badge});
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java277 * <p>The first layer contains the Wifi pie and the second layer contains the badge. Callers
282 * @param badge The badge enum {@see android.net.ScoredNetwork}
284 * @throws IllegalArgumentException if an invalid badge enum is given
289 public static LayerDrawable getBadgedWifiIcon(Context context, int level, int badge) { argument
293 context.getDrawable(getWifiBadgeResource(badge))
297 private static int getWifiBadgeResource(int badge) { argument
298 switch (badge) {
309 "No badge resource found for badge valu
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java43 * Converts the user avatar icon to a circularly clipped one with an optional badge and frame
49 private Bitmap mBitmap; // baked representation. Required for transparent border around badge
72 * Gets the system default managed-user badge as a drawable
74 * @return drawable containing just the badge
145 public UserIconDrawable setBadge(Drawable badge) { argument
146 mBadge = badge;
163 Drawable badge = null;
167 badge = getManagedUserBadgeDrawable(context);
169 return setBadge(badge);
183 * Sets global padding of icon/frame. Doesn't effect the badge
[all...]
/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 232 milliseconds