Home
last modified time | relevance | path

Searched refs:csl (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatResources.java66 ColorStateList csl = getCachedColorStateList(context, resId); in getColorStateList() local
67 if (csl != null) { in getColorStateList()
68 return csl; in getColorStateList()
71 csl = inflateColorStateList(context, resId); in getColorStateList()
72 if (csl != null) { in getColorStateList()
74 addColorStateListToCache(context, resId, csl); in getColorStateList()
75 return csl; in getColorStateList()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemeUtils.java82 final ColorStateList csl = getThemeAttrColorStateList(context, attr); in getDisabledThemeAttrColor() local
83 if (csl != null && csl.isStateful()) { in getDisabledThemeAttrColor()
85 return csl.getColorForState(DISABLED_STATE_SET, csl.getDefaultColor()); in getDisabledThemeAttrColor()
/frameworks/base/core/java/android/content/res/
DColorStateList.java185 final ColorStateList csl = new ColorStateList(EMPTY, new int[] { color }); in valueOf() local
186 sCache.put(color, new WeakReference<>(csl)); in valueOf()
187 return csl; in valueOf()
DResources.java927 final ColorStateList csl = impl.loadColorStateList(this, value, id, theme); in getColor() local
928 return csl.getDefaultColor(); in getColor()
954 final ColorStateList csl = getColorStateList(id, null); in getColorStateList() local
955 if (csl != null && csl.canApplyTheme()) { in getColorStateList()
961 return csl; in getColorStateList()
DResourcesImpl.java847 ColorStateList csl; in getColorStateListFromInt() local
854 csl = ColorStateList.valueOf(value.data); in getColorStateListFromInt()
859 sPreloadedComplexColors.put(key, csl.getConstantState()); in getColorStateListFromInt()
863 return csl; in getColorStateListFromInt()
DTypedArray.java451 final ColorStateList csl = mResources.loadColorStateList( in getColor() local
453 return csl.getDefaultColor(); in getColor()