Home
last modified time | relevance | path

Searched refs:colorResId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/utils/
DShortcutDrawableUtils.java67 public Drawable createCircularDrawable(int colorResId) { in createCircularDrawable() argument
70 int color = mContext.getColor(colorResId); in createCircularDrawable()
87 public Drawable createAdaptiveIconDrawable(int colorResId) { in createAdaptiveIconDrawable() argument
88 Drawable circleLayer = createCircularDrawable(colorResId); in createAdaptiveIconDrawable()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java81 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray; in getDefaultUserIcon() local
84 colorResId = USER_ICON_COLORS[userId % USER_ICON_COLORS.length]; in getDefaultUserIcon()
86 return getDefaultUserIconInColor(resources, resources.getColor(colorResId, null)); in getDefaultUserIcon()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java169 int colorResId = appInfo.metaData.getInt( in getAppNotificationColor() local
171 if (colorResId != 0) { in getAppNotificationColor()
175 return resources.getColor(colorResId, context.getTheme()); in getAppNotificationColor()
177 Log.e(TAG, "Error while loading notification color: " + colorResId + " for " in getAppNotificationColor()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java496 private ColorFilter getColorFilter(@ColorRes int colorResId) { in getColorFilter() argument
497 return new PorterDuffColorFilter(getColorId(colorResId), PorterDuff.Mode.SRC_IN); in getColorFilter()
500 private int getColorId(@ColorRes int colorResId) { in getColorId() argument
501 return mContext.getResources().getColor(colorResId, mContext.getTheme()); in getColorId()