Searched refs:colorRes (Results 1 – 4 of 4) sorted by relevance
115 public void setBackgroundColorRes(int colorRes) { in setBackgroundColorRes() argument116 setBackgroundColor(ContextCompat.getColor(getContext(), colorRes)); in setBackgroundColorRes() local
503 public void setProgressBackgroundColor(int colorRes) { in setProgressBackgroundColor() argument504 setProgressBackgroundColorSchemeResource(colorRes); in setProgressBackgroundColor()512 public void setProgressBackgroundColorSchemeResource(@ColorRes int colorRes) { in setProgressBackgroundColorSchemeResource() argument513 setProgressBackgroundColorSchemeColor(ContextCompat.getColor(getContext(), colorRes)); in setProgressBackgroundColorSchemeResource() local543 int[] colorRes = new int[colorResIds.length]; in setColorSchemeResources() local545 colorRes[i] = ContextCompat.getColor(context, colorResIds[i]); in setColorSchemeResources()547 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()
5759 final int colorRes = com.android.internal.R.color.system_notification_accent_color; in notifyUserAboutHiddenNotifications() local5767 .setColor(mContext.getColor(colorRes)) in notifyUserAboutHiddenNotifications()