/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
D | loader_unittests.js | 37 var resourceLoader = new loader.Loader(); 40 resourceLoader.load(); 44 resourceLoader.load(); 47 resourceLoader._loadingSteps = [loadingStep1, loadingStep2]; 48 resourceLoader.load(); 57 var resourceLoader = new loader.Loader(); 58 resourceLoader._loadNext = function() { 76 resourceLoader._loadResultsFiles(); 86 var resourceLoader = new loader.Loader(); 88 resourceLoader._handleResourceLoad = function() { [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | ResourceLoaderTest.java | 29 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldLoadSystemResources() local 30 String stringValue = resourceLoader.getStringValue(android.R.string.copy); in shouldLoadSystemResources() 33 … ViewLoader.ViewNode node = resourceLoader.getLayoutViewNode("android:layout/simple_spinner_item"); in shouldLoadSystemResources() 39 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldLoadLocalResources() local 40 String stringValue = resourceLoader.getStringValue(R.string.copy); in shouldLoadLocalResources() 46 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldThrowExceptionOnI18nStrictModeInflateView() local 47 resourceLoader.setStrictI18n(true); in shouldThrowExceptionOnI18nStrictModeInflateView() 49 resourceLoader.inflateView(Robolectric.application, R.layout.text_views, vg); in shouldThrowExceptionOnI18nStrictModeInflateView() 54 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldThrowExceptionOnI18nStrictModeInflateMenu() local 55 resourceLoader.setStrictI18n(true); in shouldThrowExceptionOnI18nStrictModeInflateMenu() [all …]
|
D | DrawableResourceLoaderTest.java | 29 protected DrawableResourceLoader resourceLoader; field in DrawableResourceLoaderTest 37 resourceLoader = new DrawableResourceLoader(extractor, resourceFile("res")); in setup() 38 DocumentLoader documentLoader = new DocumentLoader(resourceLoader); in setup() 46 assertTrue("drawable/rainbow", resourceLoader.documents.containsKey("drawable/rainbow")); in testProcessResourceXml() 47 assertEquals("documents.size", 116, resourceLoader.documents.size()); in testProcessResourceXml() 52 assertTrue(resourceLoader.isXml(R.drawable.rainbow)); in testIsXml_rainbow() 57 assertTrue(resourceLoader.isXml(android.R.drawable.ic_popup_sync)); in testIsXml_shouldWorkWithSystem() 62 boolean result = resourceLoader.isXml(R.drawable.l0_red); in testIsXml_red() 73 int[] result = resourceLoader.getDrawableIds(R.drawable.rainbow); in testGetDrawableIds() 81 int[] result = resourceLoader.getDrawableIds(android.R.drawable.ic_popup_sync); in testGetDrawableIds_shouldWorkWithSystem() [all …]
|
D | IntegerResourceLoaderTest.java | 14 protected IntegerResourceLoader resourceLoader; field in IntegerResourceLoaderTest 22 resourceLoader = new IntegerResourceLoader( extractor ); in setup() 23 DocumentLoader documentLoader = new DocumentLoader(resourceLoader); in setup() 30 assertThat( resourceLoader.getValue( R.integer.test_integer1 ), equalTo( 2000 ) ); in testIntegersAreResolved() 31 assertThat( resourceLoader.getValue( R.integer.test_integer2 ), equalTo( 9 ) ); in testIntegersAreResolved() 32 assertThat( resourceLoader.getValue( R.integer.test_large_hex), equalTo( 0xFFFF0000 ) ); in testIntegersAreResolved()
|
D | MenuResourceLoaderTest.java | 23 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldInflateComplexMenu() local 25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldInflateComplexMenu() 31 …ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldParseSubItemCorrectly() local 33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldParseSubItemCorrectly()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAssetManager.java | 18 static AssetManager bind(AssetManager assetManager, ResourceLoader resourceLoader) { in bind() argument 20 …if (shadowAssetManager.resourceLoader != null) throw new RuntimeException("ResourceLoader already … in bind() 21 shadowAssetManager.resourceLoader = resourceLoader; in bind() 25 private ResourceLoader resourceLoader; field in ShadowAssetManager 29 File file = new File(resourceLoader.getAssetsBase(), path); in list() 38 return new FileInputStream(new File(resourceLoader.getAssetsBase(), fileName)); in open()
|
D | ShadowResources.java | 40 static Resources bind(Resources resources, ResourceLoader resourceLoader) { in bind() argument 42 …if (shadowResources.resourceLoader != null) throw new RuntimeException("ResourceLoader already set… in bind() 43 shadowResources.resourceLoader = resourceLoader; in bind() 49 private ResourceLoader resourceLoader; field in ShadowResources 55 ResourceExtractor resourceExtractor = resourceLoader.getResourceExtractor(); in getIdentifier() 66 return resourceLoader.getColorValue(id); in getColor() 83 return resourceLoader.getStringValue(id); in getString() 100 return resourceLoader.getPluralStringValue(id, quantity); in getQuantityString() 105 return resourceLoader.getRawValue(id); in openRawResource() 110 String[] arrayValue = resourceLoader.getStringArrayValue(id); in getStringArray() [all …]
|
D | ShadowApplication.java | 71 private ResourceLoader resourceLoader; field in ShadowApplication 107 public static Application bind(Application application, ResourceLoader resourceLoader) { in bind() argument 109 …if (shadowApplication.resourceLoader != null) throw new RuntimeException("ResourceLoader already s… in bind() 110 shadowApplication.resourceLoader = resourceLoader; in bind() 111 …lication.resources = ShadowResources.bind(new Resources(null, null, null), resourceLoader); in bind() 133 resources = ShadowResources.bind(new Resources(null, null, null), resourceLoader); in getResources() 310 return resourceLoader; in getResourceLoader()
|
D | ShadowImageView.java | 65 ResourceLoader resourceLoader = shadowOf(Robolectric.application).getResourceLoader(); in buildDrawable() local 66 int[] resourceIds = resourceLoader.getDrawableIds(resourceId); in buildDrawable() 72 if (resourceLoader.isAnimatableXml(resourceId)) { in buildDrawable()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/ |
D | ClearsilverRenderer.java | 45 public ClearsilverRenderer(ClearsilverFactory factory, ResourceLoader resourceLoader) { in ClearsilverRenderer() argument 47 this.defaultResourceLoader = resourceLoader; in ClearsilverRenderer() 54 public ClearsilverRenderer(ResourceLoader resourceLoader) { in ClearsilverRenderer() argument 55 this(new JniClearsilverFactory(), resourceLoader); in ClearsilverRenderer() 60 final ResourceLoader resourceLoader) throws IOException, JSilverException { in render() argument 64 return loadResource(filename, resourceLoader); in render() 100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument 135 private String loadResource(String filename, ResourceLoader resourceLoader) throws IOException { in loadResource() argument 136 Reader reader = resourceLoader.open(filename); in loadResource()
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | HDFDataFactory.java | 52 public void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData() argument 54 Reader reader = resourceLoader.open(dataFileName); in loadData() 64 }, resourceLoader, dataFileName, ignoreAttributes); in loadData() 66 resourceLoader.close(reader); in loadData() 71 public Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException { in loadData() argument 73 loadData(dataFileName, resourceLoader, result); in loadData()
|
D | DataFactory.java | 37 void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData() argument 43 Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException; in loadData() argument
|
D | NewHdfParser.java | 103 final ResourceLoader resourceLoader; field in NewHdfParser.ParseState 114 ResourceLoader resourceLoader, NewHdfParser hdfParser, String parsedFileName, in ParseState() argument 120 this.resourceLoader = resourceLoader; in ParseState() 129 ErrorHandler errorHandler, ResourceLoader resourceLoader, NewHdfParser hdfParser, in createNewParseState() argument 138 return new ParseState(output, new LineNumberReader(reader), errorHandler, resourceLoader, in createNewParseState() 145 originalState.errorHandler, originalState.resourceLoader, originalState.hdfParser, in createParseStateForIncludedFile() 191 ResourceLoader resourceLoader, String dataFileName, boolean ignoreAttributes) in parse() argument 194 parse(ParseState.createNewParseState(output, reader, errorHandler, resourceLoader, this, in parse() 574 Reader reader = state.resourceLoader.open(includeFileName); in handleInclude()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
D | ImageViewHasDrawableMatcher.java | 26 ResourceLoader resourceLoader = ResourceLoader.getFrom(actualImageView.getContext()); in matchesSafely() local 29 String actualName = nameOrUnset(resourceLoader, actualResourceId); in matchesSafely() 30 String expectedName = nameOrUnset(resourceLoader, expectedResourceId); in matchesSafely() 35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) { in nameOrUnset() argument 36 return resourceId == 0 ? "unset" : resourceLoader.getNameForId(resourceId); in nameOrUnset()
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
D | JHdf.java | 45 private ResourceLoaderAdaptor resourceLoader; field in JHdf 53 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, null); in JHdf() 70 return resourceLoader; in getResourceLoaderAdaptor() 83 dataFactory.loadData(filename, resourceLoader, data); in readFile() 89 return resourceLoader.getCSFileLoader(); in getFileLoader() 94 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, fileLoader); in setFileLoader() 117 }, resourceLoader, null, options.getIgnoreAttributes()); in readString()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | BaseCompiledTemplate.java | 74 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument 76 render(createRenderingContext(data, out, resourceLoader)); in render() 81 ResourceLoader resourceLoader) { in createRenderingContext() argument 83 return new DefaultRenderingContext(dataContext, resourceLoader, out, functionExecutor, in createRenderingContext() 255 … public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument 256 render(createRenderingContext(data, out, resourceLoader)); in render() 261 ResourceLoader resourceLoader) { in createRenderingContext() argument 262 return BaseCompiledTemplate.this.createRenderingContext(data, out, resourceLoader); in createRenderingContext()
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | InterpretedTemplate.java | 58 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument 59 render(createRenderingContext(data, out, resourceLoader)); in render() 73 ResourceLoader resourceLoader) { in createRenderingContext() argument 75 return new DefaultRenderingContext(dataContext, resourceLoader, out, functionExecutor, in createRenderingContext()
|
D | InterpretedMacro.java | 72 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument 73 render(createRenderingContext(data, out, resourceLoader)); in render() 78 ResourceLoader resourceLoader) { in createRenderingContext() argument 79 return owningTemplate.createRenderingContext(data, out, resourceLoader); in createRenderingContext()
|
D | LoadingTemplateFactory.java | 36 public TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, in find() argument 39 Reader reader = resourceLoader.openOrFail(templateName); in find()
|
D | OptimizingTemplateFactory.java | 65 public TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, in find() argument 67 TemplateSyntaxTree result = wrapped.find(templateName, resourceLoader, escapeMode); in find()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
D | RobolectricTestRunner.java | 394 ResourceLoader resourceLoader = createResourceLoader(robolectricConfig ); 399 resourceLoader.setLayoutQualifierSearchPath(); 405 Robolectric.application = ShadowApplication.bind(createApplication(), resourceLoader); 561 ResourceLoader resourceLoader = resourceLoaderForRootAndDirectory.get(robolectricConfig); 563 if (resourceLoader == null || robolectricConfig.isLocaleChanged() ) { 574 …resourceLoader = new ResourceLoader(robolectricConfig.getRealSdkVersion(), rClass, robolectricConf… 575 resourceLoaderForRootAndDirectory.put(robolectricConfig, resourceLoader); 581 resourceLoader.setStrictI18n(robolectricConfig.getStrictI18n()); 582 return resourceLoader;
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
D | Template.java | 38 void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException; in render() argument 54 RenderingContext createRenderingContext(Data data, Appendable out, ResourceLoader resourceLoader); in createRenderingContext() argument
|
D | DefaultRenderingContext.java | 45 private final ResourceLoader resourceLoader; field in DefaultRenderingContext 65 public DefaultRenderingContext(DataContext dataContext, ResourceLoader resourceLoader, in DefaultRenderingContext() argument 68 this.resourceLoader = resourceLoader; in DefaultRenderingContext() 205 return resourceLoader; in getResourceLoader()
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
D | PrecompiledTemplateLoader.java | 104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument 105 Object key = resourceLoader.getKey(templateName); in load() 111 return nextLoader.load(templateName, resourceLoader, escapeMode); in load()
|
/external/jsilver/src/com/google/clearsilver/jsilver/ |
D | TemplateRenderer.java | 41 void render(String templateName, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument 68 void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument
|