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.java744 ComplexColor complexColor = cache.getInstance(key, wrapper, theme); in loadComplexColorFromName() local
745 if (complexColor != null) { in loadComplexColorFromName()
746 return complexColor; in loadComplexColorFromName()
753 complexColor = factory.newInstance(wrapper, theme); in loadComplexColorFromName()
755 if (complexColor == null) { in loadComplexColorFromName()
756 complexColor = loadComplexColorForCookie(wrapper, value, id, theme); in loadComplexColorFromName()
759 if (complexColor != null) { in loadComplexColorFromName()
760 complexColor.setBaseChangingConfigurations(value.changingConfigurations); in loadComplexColorFromName()
763 if (verifyPreloadConfig(complexColor.getChangingConfigurations(), in loadComplexColorFromName()
765 sPreloadedComplexColors.put(key, complexColor.getConstantState()); in loadComplexColorFromName()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1673 private boolean canComplexColorApplyTheme(ComplexColor complexColor) { in canComplexColorApplyTheme() argument
1674 return complexColor != null && complexColor.canApplyTheme(); in canComplexColorApplyTheme()