Searched refs:colorResId (Results 1 – 4 of 4) sorted by relevance
67 public Drawable createCircularDrawable(int colorResId) { in createCircularDrawable() argument70 int color = mContext.getColor(colorResId); in createCircularDrawable()87 public Drawable createAdaptiveIconDrawable(int colorResId) { in createAdaptiveIconDrawable() argument88 Drawable circleLayer = createCircularDrawable(colorResId); in createAdaptiveIconDrawable()
81 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray; in getDefaultUserIcon() local84 colorResId = USER_ICON_COLORS[userId % USER_ICON_COLORS.length]; in getDefaultUserIcon()86 return getDefaultUserIconInColor(resources, resources.getColor(colorResId, null)); in getDefaultUserIcon()
169 int colorResId = appInfo.metaData.getInt( in getAppNotificationColor() local171 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()
496 private ColorFilter getColorFilter(@ColorRes int colorResId) { in getColorFilter() argument497 return new PorterDuffColorFilter(getColorId(colorResId), PorterDuff.Mode.SRC_IN); in getColorFilter()500 private int getColorId(@ColorRes int colorResId) { in getColorId() argument501 return mContext.getResources().getColor(colorResId, mContext.getTheme()); in getColorId()