Home
last modified time | relevance | path

Searched refs:complexColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/res/
DResourcesImpl.java968 ComplexColor complexColor = cache.getInstance(key, wrapper, theme); in loadComplexColorFromName() local
969 if (complexColor != null) { in loadComplexColorFromName()
970 return complexColor; in loadComplexColorFromName()
977 complexColor = factory.newInstance(wrapper, theme); in loadComplexColorFromName()
979 if (complexColor == null) { in loadComplexColorFromName()
980 complexColor = loadComplexColorForCookie(wrapper, value, id, theme); in loadComplexColorFromName()
983 if (complexColor != null) { in loadComplexColorFromName()
984 complexColor.setBaseChangingConfigurations(value.changingConfigurations); in loadComplexColorFromName()
987 if (verifyPreloadConfig(complexColor.getChangingConfigurations(), in loadComplexColorFromName()
989 sPreloadedComplexColors.put(key, complexColor.getConstantState()); in loadComplexColorFromName()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java2160 private boolean canComplexColorApplyTheme(ComplexColor complexColor) { in canComplexColorApplyTheme() argument
2161 return complexColor != null && complexColor.canApplyTheme(); in canComplexColorApplyTheme()