Searched defs:viewLoader (Results 1 - 2 of 2) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
H A D | ViewLoaderTest.java | 32 private ViewLoader viewLoader; field in class:ViewLoaderTest 47 viewLoader = new ViewLoader(resourceExtractor, new AttrResourceLoader(resourceExtractor)); 48 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout")); 49 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-land")); 50 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-large-v16")); 51 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-v11")); 52 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-xlarge")); 53 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-xlarge-v11")); 54 new DocumentLoader(viewLoader).loadSystemResourceXmlDir(getSystemResourceDir("layout")); 61 ViewGroup view = (ViewGroup) viewLoader [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
H A D | ResourceLoader.java | 59 private ViewLoader viewLoader; field in class:ResourceLoader 108 if ( viewLoader != null ) { 109 viewLoader.setStrictI18n( strict ); 130 viewLoader = new ViewLoader( resourceExtractor, attrResourceLoader ); 134 viewLoader.setStrictI18n( strictI18n ); 155 viewLoader = null; 198 DocumentLoader viewDocumentLoader = new DocumentLoader( viewLoader ); 374 viewLoader = null; 397 return viewLoader.inflateView( context, resource, viewGroup ); 550 return viewLoader [all...] |
Completed in 561 milliseconds