Searched refs:colorResourceLoader (Results 1 – 2 of 2) sorted by relevance
14 private ColorResourceLoader colorResourceLoader; field in ColorResourceLoaderTest20 colorResourceLoader = new ColorResourceLoader(resourceExtractor); in setUp()21 new DocumentLoader(colorResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()22 … new DocumentLoader(colorResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values")); in setUp()27 assertThat(colorResourceLoader.getValue(R.drawable.l0_red), equalTo(-0x000001)); in shouldHandleNonColorResourcesWithoutCrashing()32 assertThat(colorResourceLoader.getValue(R.color.black), equalTo(0x000000)); in testStringsAreResolved()33 assertThat(colorResourceLoader.getValue(R.color.white), equalTo(0xffffff)); in testStringsAreResolved()38 assertThat(colorResourceLoader.getValue(R.color.clear), equalTo(0x000001)); in shouldHandleColorsWithAlpha()43 assertThat(colorResourceLoader.getValue(R.color.foreground), equalTo(0xf5f5f5)); in shouldHandleColorForwardReferences()48 assertThat(colorResourceLoader.getValue(R.color.background), equalTo(0xf5f5f5)); in shouldHandleColorBackwardReferences()[all …]
66 private final ColorResourceLoader colorResourceLoader; field in ResourceLoader96 colorResourceLoader = new ColorResourceLoader( resourceExtractor ); in ResourceLoader()182 …entLoader valueResourceLoader = new DocumentLoader( stringArrayResourceLoader, colorResourceLoader, in loadValueResources()377 colorResourceLoader = null; in ResourceLoader()402 return colorResourceLoader.getValue( id ); in getColorValue()