Home
last modified time | relevance | path

Searched refs:UserIconDrawable (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java27 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()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java40 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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java48 public class UserIconDrawable extends Drawable implements Drawable.Callback { class
103 public UserIconDrawable() { in UserIconDrawable() method in UserIconDrawable
111 public UserIconDrawable(int intrinsicSize) { in UserIconDrawable() method in UserIconDrawable
124 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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java32 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java38 import com.android.settingslib.drawable.UserIconDrawable;
162 avatar = new UserIconDrawable(avatarSize) in queryForUserInformation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java54 import com.android.settingslib.drawable.UserIconDrawable;
395 !(picture instanceof UserIconDrawable)) { in onUserInfoChanged()