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.java69 ColorStateList csl = getCachedColorStateList(context, resId); in getColorStateList() local
70 if (csl != null) { in getColorStateList()
71 return csl; in getColorStateList()
74 csl = inflateColorStateList(context, resId); in getColorStateList()
75 if (csl != null) { in getColorStateList()
77 addColorStateListToCache(context, resId, csl); in getColorStateList()
78 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.java958 final ColorStateList csl = impl.loadColorStateList(this, value, id, theme); in getColor() local
959 return csl.getDefaultColor(); in getColor()
985 final ColorStateList csl = getColorStateList(id, null); in getColorStateList() local
986 if (csl != null && csl.canApplyTheme()) { in getColorStateList()
992 return csl; in getColorStateList()
DResourcesImpl.java937 ColorStateList csl; in getColorStateListFromInt() local
944 csl = ColorStateList.valueOf(value.data); in getColorStateListFromInt()
949 sPreloadedComplexColors.put(key, csl.getConstantState()); in getColorStateListFromInt()
953 return csl; in getColorStateListFromInt()
DTypedArray.java461 final ColorStateList csl = mResources.loadColorStateList( in getColor() local
463 return csl.getDefaultColor(); in getColor()