Searched refs:TopLevelIcon (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
H A D | TopLevelIconTest.java | 51 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in createIcon_shouldSetBackgroundAndInset() 59 TopLevelIcon icon = spy(new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK))); in setBackgroundColor_shouldUpdateTintList() 71 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorRawValue_shouldSetColor() 80 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 91 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorHintValue_shouldSetColor() 100 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in getConstantState_returnCorrectState() 103 TopLevelIcon.AdaptiveConstantState state = in getConstantState_returnCorrectState() 104 (TopLevelIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | TopLevelIcon.java | 41 public class TopLevelIcon extends LayerDrawable { class 53 public TopLevelIcon(Context context, Drawable foreground) { in TopLevelIcon() method in TopLevelIcon 57 public TopLevelIcon(Context context, Drawable foreground, int insetResId) { in TopLevelIcon() method in TopLevelIcon 149 TopLevelIcon icon = new TopLevelIcon(mContext, mDrawable); in newDrawable()
|
H A D | ExtraSettingsUtil.java | 83 icon = new TopLevelIcon(context, icon, R.dimen.top_level_foreground_icon_inset); in createIcon() 84 ((TopLevelIcon) icon).setBackgroundColor(context, metaData, packageName); in createIcon()
|