HomeSort by relevance Sort by last modified time
    Searched defs:resourceLoader (Results 1 - 21 of 21) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
IntegerResourceLoaderTest.java 14 protected IntegerResourceLoader resourceLoader;
22 resourceLoader = new IntegerResourceLoader( extractor );
23 DocumentLoader documentLoader = new DocumentLoader(resourceLoader);
30 assertThat( resourceLoader.getValue( R.integer.test_integer1 ), equalTo( 2000 ) );
31 assertThat( resourceLoader.getValue( R.integer.test_integer2 ), equalTo( 9 ) );
32 assertThat( resourceLoader.getValue( R.integer.test_large_hex), equalTo( 0xFFFF0000 ) );
MenuResourceLoaderTest.java 23 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu"));
25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu);
31 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu"));
33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu);
ResourceLoaderTest.java 24 assertTrue(ResourceLoader.isLayoutDirectory(File.separator + "layout"));
29 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("assets"));
30 String stringValue = resourceLoader.getStringValue(android.R.string.copy);
33 ViewLoader.ViewNode node = resourceLoader.getLayoutViewNode("android:layout/simple_spinner_item");
39 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("assets"));
40 String stringValue = resourceLoader.getStringValue(R.string.copy)
    [all...]
DrawableResourceLoaderTest.java 29 protected DrawableResourceLoader resourceLoader;
37 resourceLoader = new DrawableResourceLoader(extractor, resourceFile("res"));
38 DocumentLoader documentLoader = new DocumentLoader(resourceLoader);
46 assertTrue("drawable/rainbow", resourceLoader.documents.containsKey("drawable/rainbow"));
47 assertEquals("documents.size", 116, resourceLoader.documents.size());
52 assertTrue(resourceLoader.isXml(R.drawable.rainbow));
57 assertTrue(resourceLoader.isXml(android.R.drawable.ic_popup_sync));
62 boolean result = resourceLoader.isXml(R.drawable.l0_red);
73 int[] result = resourceLoader.getDrawableIds(R.drawable.rainbow);
81 int[] result = resourceLoader.getDrawableIds(android.R.drawable.ic_popup_sync)
    [all...]
TestAttributeSetTest.java 126 AttrResourceLoader resourceLoader = new AttrResourceLoader(resourceExtractor);
127 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, null, resourceLoader, View.class, false);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
ImageViewHasDrawableMatcher.java 4 import com.xtremelabs.robolectric.res.ResourceLoader;
26 ResourceLoader resourceLoader = ResourceLoader.getFrom(actualImageView.getContext());
29 String actualName = nameOrUnset(resourceLoader, actualResourceId);
30 String expectedName = nameOrUnset(resourceLoader, expectedResourceId);
35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) {
36 return resourceId == 0 ? "unset" : resourceLoader.getNameForId(resourceId);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAssetManager.java 6 import com.xtremelabs.robolectric.res.ResourceLoader;
18 static AssetManager bind(AssetManager assetManager, ResourceLoader resourceLoader) {
20 if (shadowAssetManager.resourceLoader != null) throw new RuntimeException("ResourceLoader already set!");
21 shadowAssetManager.resourceLoader = resourceLoader;
25 private ResourceLoader resourceLoader;
29 File file = new File(resourceLoader.getAssetsBase(), path)
    [all...]
ShadowImageView.java 15 import com.xtremelabs.robolectric.res.ResourceLoader;
65 ResourceLoader resourceLoader = shadowOf(Robolectric.application).getResourceLoader();
66 int[] resourceIds = resourceLoader.getDrawableIds(resourceId);
72 if (resourceLoader.isAnimatableXml(resourceId)) {
ShadowResources.java 19 import com.xtremelabs.robolectric.res.ResourceLoader;
40 static Resources bind(Resources resources, ResourceLoader resourceLoader) {
42 if (shadowResources.resourceLoader != null) throw new RuntimeException("ResourceLoader already set!");
43 shadowResources.resourceLoader = resourceLoader;
49 private ResourceLoader resourceLoader;
55 ResourceExtractor resourceExtractor = resourceLoader.getResourceExtractor()
    [all...]
ShadowApplication.java 21 import com.xtremelabs.robolectric.res.ResourceLoader;
71 private ResourceLoader resourceLoader;
100 * Associates a {@code ResourceLoader} with an {@code Application} instance
103 * @param resourceLoader resource loader
107 public static Application bind(Application application, ResourceLoader resourceLoader) {
109 if (shadowApplication.resourceLoader != null) throw new RuntimeException("ResourceLoader already set!");
110 shadowApplication.resourceLoader = resourceLoader
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/
JSilver.java 41 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
85 * @see ResourceLoader
100 private final ResourceLoader defaultResourceLoader;
115 public JSilver(ResourceLoader defaultResourceLoader, JSilverOptions options) {
220 * @deprecated Use {@link #JSilver(ResourceLoader, JSilverOptions)}.
223 public JSilver(ResourceLoader defaultResourceLoader, boolean cacheTemplates) {
234 public JSilver(ResourceLoader defaultResourceLoader) {
245 * @param resourceLoader How to find the template data to render and any included files it depends
250 ResourceLoader resourceLoader) throws IOException, JSilverException
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceLoader.java 33 public class ResourceLoader {
77 public ResourceLoader( int sdkVersion, Class rClass, File resourceDir, File assetsDir ) throws Exception {
81 public ResourceLoader( int sdkVersion, Class rClass, File resourceDir, File assetsDir, String locale ) throws Exception {
370 protected ResourceLoader( StringResourceLoader stringResourceLoader ) {
384 public static ResourceLoader getFrom( Context context ) {
385 ResourceLoader resourceLoader = shadowOf( context.getApplicationContext() ).getResourceLoader();
386 resourceLoader.init();
387 return resourceLoader;
  /external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
JHdf.java 45 private ResourceLoaderAdaptor resourceLoader;
53 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, null);
70 return resourceLoader;
83 dataFactory.loadData(filename, resourceLoader, data);
89 return resourceLoader.getCSFileLoader();
94 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, fileLoader);
117 }, resourceLoader, null, options.getIgnoreAttributes());
  /external/jsilver/src/com/google/clearsilver/jsilver/template/
DefaultRenderingContext.java 28 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
45 private final ResourceLoader resourceLoader;
65 public DefaultRenderingContext(DataContext dataContext, ResourceLoader resourceLoader,
68 this.resourceLoader = resourceLoader;
204 public ResourceLoader getResourceLoader() {
205 return resourceLoader;
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
NewHdfParser.java 19 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
103 final ResourceLoader resourceLoader;
114 ResourceLoader resourceLoader, NewHdfParser hdfParser, String parsedFileName,
120 this.resourceLoader = resourceLoader;
129 ErrorHandler errorHandler, ResourceLoader resourceLoader, NewHdfParser hdfParser
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
flakiness_dashboard.js 65 var resourceLoader;
73 resourceLoader.showErrors();
    [all...]
  /prebuilts/devtools/tools/lib/
jsilver-1.0.0.jar 
monkeyrunner.jar 
  /prebuilts/tools/common/m2/repository/com/google/jsilver/jsilver/1.0.0/
jsilver-1.0.0.jar 
  /prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.pde.core_3.6.1.v20100902_r361.jar 

Completed in 305 milliseconds