Searched refs:UserIconDrawable (Results 1 – 6 of 6) sorted by relevance
27 import com.android.settingslib.drawable.UserIconDrawable;35 private final UserIconDrawable mDrawable = new UserIconDrawable();120 if (d instanceof UserIconDrawable) { in setDrawable()128 if (d instanceof UserIconDrawable) { in setDrawableWithBadge()
40 private UserIconDrawable mDrawable;47 mDrawable = new UserIconDrawable(100 /* size */).setIcon(b).bake(); in getConstantState_shouldNotBeNull()57 UserIconDrawable drawable = new UserIconDrawable().setIcon(b); in setTintList_shouldBeApplied()
48 public class UserIconDrawable extends Drawable implements Drawable.Callback { class103 public UserIconDrawable() { in UserIconDrawable() method in UserIconDrawable111 public UserIconDrawable(int intrinsicSize) { in UserIconDrawable() method in UserIconDrawable124 public UserIconDrawable setIcon(Bitmap icon) { in setIcon()141 public UserIconDrawable setIconDrawable(Drawable icon) { in setIconDrawable()156 public UserIconDrawable setBadge(Drawable badge) { in setBadge()173 public UserIconDrawable setBadgeIfManagedUser(Context context, int userId) { in setBadgeIfManagedUser()310 public UserIconDrawable bake() { in bake()
32 import com.android.settingslib.drawable.UserIconDrawable;133 final int iconSize = UserIconDrawable.getSizeForList(context); in getUserIcon()135 Drawable drawable = UserIconDrawable.getManagedUserDrawable(context); in getUserIcon()142 return new UserIconDrawable(iconSize).setIcon(icon).bake(); in getUserIcon()145 return new UserIconDrawable(iconSize).setIconDrawable( in getUserIcon()
38 import com.android.settingslib.drawable.UserIconDrawable;162 avatar = new UserIconDrawable(avatarSize) in queryForUserInformation()
54 import com.android.settingslib.drawable.UserIconDrawable;395 !(picture instanceof UserIconDrawable)) { in onUserInfoChanged()