Searched refs:csl (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | AppCompatResources.java | 69 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/ |
D | ThemeUtils.java | 82 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/ |
D | ColorStateList.java | 185 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()
|
D | Resources.java | 958 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()
|
D | ResourcesImpl.java | 937 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()
|
D | TypedArray.java | 461 final ColorStateList csl = mResources.loadColorStateList( in getColor() local 463 return csl.getDefaultColor(); in getColor()
|