Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DColorStateList.java104 ColorStateList csl = ref != null ? ref.get() : null; in valueOf() local
105 if (csl != null) { in valueOf()
106 return csl; in valueOf()
109 csl = new ColorStateList(EMPTY, new int[] { color }); in valueOf()
110 sCache.put(color, new WeakReference<ColorStateList>(csl)); in valueOf()
111 return csl; in valueOf()
DResources.java932 ColorStateList csl = loadColorStateList(value, id); in getColor() local
938 return csl.getDefaultColor(); in getColor()
2545 ColorStateList csl; in loadColorStateList() local
2550 csl = sPreloadedColorStateLists.get(key); in loadColorStateList()
2551 if (csl != null) { in loadColorStateList()
2552 return csl; in loadColorStateList()
2555 csl = ColorStateList.valueOf(value.data); in loadColorStateList()
2559 sPreloadedColorStateLists.put(key, csl); in loadColorStateList()
2563 return csl; in loadColorStateList()
2566 csl = getCachedColorStateList(key); in loadColorStateList()
[all …]
DTypedArray.java395 ColorStateList csl = mResources.loadColorStateList( in getColor() local
397 return csl.getDefaultColor(); in getColor()