Home
last modified time | relevance | path

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

/frameworks/support/core-ui/java/android/support/v4/widget/
DCircleImageView.java115 public void setBackgroundColorRes(int colorRes) { in setBackgroundColorRes() argument
116 setBackgroundColor(ContextCompat.getColor(getContext(), colorRes)); in setBackgroundColorRes() local
DSwipeRefreshLayout.java503 public void setProgressBackgroundColor(int colorRes) { in setProgressBackgroundColor() argument
504 setProgressBackgroundColorSchemeResource(colorRes); in setProgressBackgroundColor()
512 public void setProgressBackgroundColorSchemeResource(@ColorRes int colorRes) { in setProgressBackgroundColorSchemeResource() argument
513 setProgressBackgroundColorSchemeColor(ContextCompat.getColor(getContext(), colorRes)); in setProgressBackgroundColorSchemeResource() local
543 int[] colorRes = new int[colorResIds.length]; in setColorSchemeResources() local
545 colorRes[i] = ContextCompat.getColor(context, colorResIds[i]); in setColorSchemeResources()
547 setColorSchemeColors(colorRes); in setColorSchemeResources()
/frameworks/base/core/java/android/content/res/
DStringBlock.java329 int colorRes = res.getIdentifier(name, "color", "android"); in getColor() local
330 if (colorRes != 0) { in getColor()
331 ColorStateList colors = res.getColorStateList(colorRes, null); in getColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java5759 final int colorRes = com.android.internal.R.color.system_notification_accent_color; in notifyUserAboutHiddenNotifications() local
5767 .setColor(mContext.getColor(colorRes)) in notifyUserAboutHiddenNotifications()