Home
last modified time | relevance | path

Searched refs:ResourceLoader (Results 1 – 25 of 61) sorted by relevance

123

/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DCompositeResourceLoader.java33 public class CompositeResourceLoader implements ResourceLoader {
35 private final List<ResourceLoader> loaders = new ArrayList<ResourceLoader>();
37 public CompositeResourceLoader(Iterable<ResourceLoader> loaders) { in CompositeResourceLoader()
38 for (ResourceLoader loader : loaders) { in CompositeResourceLoader()
43 public CompositeResourceLoader(ResourceLoader... loaders) { in CompositeResourceLoader()
44 for (ResourceLoader loader : loaders) { in CompositeResourceLoader()
49 public void add(ResourceLoader loader) { in add()
54 for (ResourceLoader loader : loaders) { in open()
97 for (ResourceLoader loader : loaders) { in getResourceVersionId()
112 private final ResourceLoader originalLoader;
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DResourceLoaderTest.java24 assertTrue(ResourceLoader.isLayoutDirectory(File.separator + "layout")); in shouldUseFileSystemSeparatorWhenEvaluatingLayoutDirectories()
29ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldLoadSystemResources()
39ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldLoadLocalResources()
46ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldThrowExceptionOnI18nStrictModeInflateView()
54ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldThrowExceptionOnI18nStrictModeInflateMenu()
61ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldThrowExceptionOnI18nStrictModeInflatePreferences()
68ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath()
87 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader(); in checkForPollutionHelper()
97 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader(); in shouldIdentifyNinePatchDrawables()
DMenuResourceLoaderTest.java23ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldInflateComplexMenu()
31ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile(… in shouldParseSubItemCorrectly()
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/
DClearsilverRenderer.java23 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
40 private final ResourceLoader defaultResourceLoader;
45 public ClearsilverRenderer(ClearsilverFactory factory, ResourceLoader resourceLoader) { in ClearsilverRenderer()
54 public ClearsilverRenderer(ResourceLoader resourceLoader) { in ClearsilverRenderer()
60 final ResourceLoader resourceLoader) throws IOException, JSilverException { in render()
100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render()
135 private String loadResource(String filename, ResourceLoader resourceLoader) throws IOException { in loadResource()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
DImageViewHasDrawableMatcher.java4 import com.xtremelabs.robolectric.res.ResourceLoader;
26 ResourceLoader resourceLoader = ResourceLoader.getFrom(actualImageView.getContext()); in matchesSafely()
35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) { in nameOrUnset()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DDataFactory.java20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
37 void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData()
43 Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException; in loadData()
DHDFDataFactory.java20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
52 public void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData()
71 public Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException { in loadData()
DParser.java19 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
56 void parse(Reader reader, Data output, ErrorHandler errorHandler, ResourceLoader resourceLoader, in parse()
/external/jsilver/src/com/google/clearsilver/jsilver/template/
DTemplate.java21 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
38 void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException; in render()
54 RenderingContext createRenderingContext(Data data, Appendable out, ResourceLoader resourceLoader); in createRenderingContext()
DTemplateLoader.java20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in load()
/external/jsilver/src/com/google/clearsilver/jsilver/
DJSilver.java41 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
100 private final ResourceLoader defaultResourceLoader;
115 public JSilver(ResourceLoader defaultResourceLoader, JSilverOptions options) { in JSilver()
223 public JSilver(ResourceLoader defaultResourceLoader, boolean cacheTemplates) { in JSilver()
234 public JSilver(ResourceLoader defaultResourceLoader) { in JSilver()
250 ResourceLoader resourceLoader) throws IOException, JSilverException { in render()
295 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render()
442 public ResourceLoader getResourceLoader() { in getResourceLoader()
DTemplateRenderer.java21 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
41 void render(String templateName, Data data, Appendable output, ResourceLoader resourceLoader) in render()
68 void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render()
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dmodule_unittest.py39 loader = resource_loader.ResourceLoader(project)
67 loader = resource_loader.ResourceLoader(project)
84 loader = resource_loader.ResourceLoader(project)
116 loader = resource_loader.ResourceLoader(project)
Dstyle_sheet_unittest.py27 loader = resource_loader.ResourceLoader(project)
52 loader = resource_loader.ResourceLoader(project)
64 loader = resource_loader.ResourceLoader(project)
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DResourceLoader.java16 public class ResourceLoader<T> implements ModelLoader<Integer, T> { class
21 public ResourceLoader(Context context, ModelLoader<Uri, T> uriLoader) { in ResourceLoader() method in ResourceLoader
25 public ResourceLoader(Resources resources, ModelLoader<Uri, T> uriLoader) { in ResourceLoader() method in ResourceLoader
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAssetManager.java6 import com.xtremelabs.robolectric.res.ResourceLoader;
18 static AssetManager bind(AssetManager assetManager, ResourceLoader resourceLoader) { in bind()
25 private ResourceLoader resourceLoader;
DShadowResources.java20 import com.xtremelabs.robolectric.res.ResourceLoader;
42 static Resources bind(Resources resources, ResourceLoader resourceLoader) { in bind()
51 private ResourceLoader resourceLoader;
155ResourceLoader resLoader = Robolectric.shadowOf(Robolectric.application).getResourceLoader(); in getDrawable()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DInterpretedMacro.java22 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
72 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render()
78 ResourceLoader resourceLoader) { in createRenderingContext()
DInterpretedTemplate.java25 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
58 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render()
73 ResourceLoader resourceLoader) { in createRenderingContext()
DTemplateFactory.java20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
39 …TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in find()
DLoadingTemplateFactory.java21 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
36 public TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, in find()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java28 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
74 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render()
81 ResourceLoader resourceLoader) { in createRenderingContext()
255 … public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render()
261 ResourceLoader resourceLoader) { in createRenderingContext()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectricTestRunner.java35 import com.xtremelabs.robolectric.res.ResourceLoader;
63 …atic Map<RobolectricConfig, ResourceLoader> resourceLoaderForRootAndDirectory = new HashMap<Robole…
394 ResourceLoader resourceLoader = createResourceLoader(robolectricConfig );
560 private ResourceLoader createResourceLoader(final RobolectricConfig robolectricConfig) {
561 ResourceLoader resourceLoader = resourceLoaderForRootAndDirectory.get(robolectricConfig);
574 …resourceLoader = new ResourceLoader(robolectricConfig.getRealSdkVersion(), rClass, robolectricConf…
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamResourceLoader.java10 import com.bumptech.glide.load.model.ResourceLoader;
17 public class StreamResourceLoader extends ResourceLoader<InputStream> implements StreamModelLoader<…
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorResourceLoader.java11 import com.bumptech.glide.load.model.ResourceLoader;
16 public class FileDescriptorResourceLoader extends ResourceLoader<ParcelFileDescriptor>

123