OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stringResourceLoader
(Results
1 - 9
of
9
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
StringResourceLoaderTest.java
12
private
StringResourceLoader
stringResourceLoader
;
17
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
18
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
23
assertThat(
stringResourceLoader
.getValue(R.string.hello), equalTo("Hello"));
24
assertThat(
stringResourceLoader
.getValue(R.string.howdy), equalTo("Howdy"));
29
assertThat(
stringResourceLoader
.getValue(R.string.some_html), equalTo("Hello, world"));
34
assertThat(
stringResourceLoader
.getValue(R.string.greeting), equalTo("Howdy"));
StringArrayResourceLoaderTest.java
26
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
27
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceXmlDir);
28
new DocumentLoader(
stringResourceLoader
).loadSystemResourceXmlDir(systemResourceXmlDir);
30
stringArrayResourceLoader = new StringArrayResourceLoader(resourceExtractor,
stringResourceLoader
);
PluralResourceLoaderTest.java
19
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
20
pluralResourceLoader = new PluralResourceLoader(resourceExtractor,
stringResourceLoader
);
22
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
PreferenceLoaderTest.java
37
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
38
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
59
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
60
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
MenuLoaderTest.java
41
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
42
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
43
new DocumentLoader(
stringResourceLoader
).loadSystemResourceXmlDir(getSystemResourceDir("values"));
ViewLoaderTest.java
43
StringResourceLoader
stringResourceLoader
= new
StringResourceLoader
(resourceExtractor);
44
new DocumentLoader(
stringResourceLoader
).loadResourceXmlDir(resourceFile("res", "values"));
45
new DocumentLoader(
stringResourceLoader
).loadSystemResourceXmlDir(getSystemResourceDir("values"));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
StringArrayResourceLoader.java
17
private
StringResourceLoader
stringResourceLoader
;
19
public StringArrayResourceLoader(ResourceExtractor resourceExtractor,
StringResourceLoader
stringResourceLoader
) {
21
this.
stringResourceLoader
=
stringResourceLoader
;
38
arrayValues.add(
stringResourceLoader
.getValue(value , isSystem));
PluralResourceLoader.java
17
private
StringResourceLoader
stringResourceLoader
;
19
public PluralResourceLoader(ResourceExtractor resourceExtractor,
StringResourceLoader
stringResourceLoader
) {
21
this.
stringResourceLoader
=
stringResourceLoader
;
46
rules.add(new Plural(quantity,
stringResourceLoader
.getValue(value, isSystem)));
ResourceLoader.java
62
private final
StringResourceLoader
stringResourceLoader
;
93
stringResourceLoader
= new
StringResourceLoader
( resourceExtractor );
94
pluralResourceLoader = new PluralResourceLoader( resourceExtractor,
stringResourceLoader
);
95
stringArrayResourceLoader = new StringArrayResourceLoader( resourceExtractor,
stringResourceLoader
);
172
DocumentLoader stringResourceDocumentLoader = new DocumentLoader( this.
stringResourceLoader
);
370
protected ResourceLoader(
StringResourceLoader
stringResourceLoader
) {
372
this.
stringResourceLoader
= stringResourceLoader
[
all
...]
Completed in 89 milliseconds