Searched refs:UserIconDrawable (Results 1 – 6 of 6) sorted by relevance
28 import com.android.settingslib.drawable.UserIconDrawable;36 private final UserIconDrawable mDrawable = new UserIconDrawable();128 if (d instanceof UserIconDrawable) { in setDrawable()136 if (d instanceof UserIconDrawable) { in setDrawableWithBadge()
18 import com.android.settingslib.drawable.UserIconDrawable;80 public static UserIconDrawable getUserIcon(Context context, UserManager um, UserInfo user) { in getUserIcon()81 final int iconSize = UserIconDrawable.getSizeForList(context); in getUserIcon()86 return new UserIconDrawable(iconSize).setIcon(b).bake(); in getUserIcon()91 return new UserIconDrawable(iconSize).setIcon(icon).bake(); in getUserIcon()94 return new UserIconDrawable(iconSize).setIconDrawable( in getUserIcon()
44 public class UserIconDrawable extends Drawable implements Drawable.Callback { class91 public UserIconDrawable() { in UserIconDrawable() method in UserIconDrawable99 public UserIconDrawable(int intrinsicSize) { in UserIconDrawable() method in UserIconDrawable112 public UserIconDrawable setIcon(Bitmap icon) { in setIcon()129 public UserIconDrawable setIconDrawable(Drawable icon) { in setIconDrawable()144 public UserIconDrawable setBadge(Drawable badge) { in setBadge()161 public UserIconDrawable setBadgeIfManagedUser(Context context, int userId) { in setBadgeIfManagedUser()281 public UserIconDrawable bake() { in bake()
36 import com.android.settingslib.drawable.UserIconDrawable;74 return new UserIconDrawable(UserIconDrawable.getSizeForList(context)) in encircle()
39 import com.android.settingslib.drawable.UserIconDrawable;151 avatar = new UserIconDrawable(avatarSize) in queryForUserInformation()
33 import com.android.settingslib.drawable.UserIconDrawable;