Searched refs:colorRes (Results 1 – 4 of 4) sorted by relevance
114 public void setBackgroundColorRes(int colorRes) { in setBackgroundColorRes() argument115 setBackgroundColor(ContextCompat.getColor(getContext(), colorRes)); in setBackgroundColorRes() local
522 public void setProgressBackgroundColor(int colorRes) { in setProgressBackgroundColor() argument523 setProgressBackgroundColorSchemeResource(colorRes); in setProgressBackgroundColor()531 public void setProgressBackgroundColorSchemeResource(@ColorRes int colorRes) { in setProgressBackgroundColorSchemeResource() argument532 setProgressBackgroundColorSchemeColor(ContextCompat.getColor(getContext(), colorRes)); in setProgressBackgroundColorSchemeResource() local562 int[] colorRes = new int[colorResIds.length]; in setColorSchemeResources() local564 colorRes[i] = ContextCompat.getColor(context, colorResIds[i]); in setColorSchemeResources()566 setColorSchemeColors(colorRes); in setColorSchemeResources()
329 int colorRes = res.getIdentifier(name, "color", "android"); in getColor() local330 if (colorRes != 0) { in getColor()331 ColorStateList colors = res.getColorStateList(colorRes, null); in getColor()
867 final int colorRes = com.android.internal.R.color.system_notification_accent_color; in notifyUserAboutHiddenNotifications() local874 .setColor(mContext.getColor(colorRes)) in notifyUserAboutHiddenNotifications()