HomeSort by relevance Sort by last modified time
    Searched refs:attrResourceLoader (Results 1 - 6 of 6) sorted by null

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
AttrResourceLoaderTest.java 17 private AttrResourceLoader attrResourceLoader;
24 attrResourceLoader = new AttrResourceLoader(resourceExtractor);
25 new DocumentLoader(attrResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
26 new DocumentLoader(attrResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values"));
31 assertThat(attrResourceLoader.convertValueToEnum(CustomView.class, "xxx", "itemType", "integer"), equalTo("0"));
32 assertThat(attrResourceLoader.hasAttributeFor(CustomView.class, "xxx", "itemType"), equalTo(true));
34 assertThat(attrResourceLoader.convertValueToEnum(CustomView.class, "xxx", "itemType", "string"), equalTo("1"));
35 assertThat(attrResourceLoader.hasAttributeFor(CustomView.class, "xxx", "otherItemType"), equalTo(false))
    [all...]
TestAttributeSetTest.java 126 AttrResourceLoader resourceLoader = new AttrResourceLoader(resourceExtractor);
135 AttrResourceLoader attrResourceLoader = new AttrResourceLoader(resourceExtractor);
136 new DocumentLoader(attrResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
137 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, null, attrResourceLoader, CustomView.class, false);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestAttributeSet.java 5 import com.xtremelabs.robolectric.res.AttrResourceLoader;
14 private AttrResourceLoader attrResourceLoader;
33 AttrResourceLoader attrResourceLoader, Class<? extends View> viewClass, boolean isSystem) {
36 this.attrResourceLoader = attrResourceLoader;
44 this.attrResourceLoader = new AttrResourceLoader(this.resourceExtractor);
68 if (attrResourceLoader.hasAttributeFor(viewClass, "xxx", attribute))
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
MenuLoader.java 25 private AttrResourceLoader attrResourceLoader;
27 public MenuLoader(ResourceExtractor resourceExtractor, AttrResourceLoader attrResourceLoader) {
29 this.attrResourceLoader = attrResourceLoader;
138 resourceExtractor, attrResourceLoader, null, false);
ViewLoader.java 30 private AttrResourceLoader attrResourceLoader;
33 public ViewLoader(ResourceExtractor resourceExtractor, AttrResourceLoader attrResourceLoader) {
35 this.attrResourceLoader = attrResourceLoader;
208 TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, View.class, isSystem);
245 TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, clazz, isSystem);
ResourceLoader.java 65 private final AttrResourceLoader attrResourceLoader;
97 attrResourceLoader = new AttrResourceLoader( resourceExtractor );
130 viewLoader = new ViewLoader( resourceExtractor, attrResourceLoader );
131 menuLoader = new MenuLoader( resourceExtractor, attrResourceLoader );
183 attrResourceLoader );
376 attrResourceLoader = null;

Completed in 1513 milliseconds