OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:resourceExtractor
(Results
1 - 19
of
19
) sorted by null
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
XmlLoader.java
8
protected
ResourceExtractor
resourceExtractor
;
11
public XmlLoader(
ResourceExtractor
resourceExtractor
) {
12
this.
resourceExtractor
=
resourceExtractor
;
RawResourceLoader.java
10
private
ResourceExtractor
resourceExtractor
;
13
public RawResourceLoader(
ResourceExtractor
resourceExtractor
, File resourceDir) {
14
this.
resourceExtractor
=
resourceExtractor
;
19
String resourceFileName =
resourceExtractor
.getResourceName(resourceId);
ResourceLoader.java
58
private final
ResourceExtractor
resourceExtractor
;
87
resourceExtractor
= new
ResourceExtractor
();
89
resourceExtractor
.addLocalRClass( rClass );
91
resourceExtractor
.addSystemRClass( R.class );
93
stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
94
pluralResourceLoader = new PluralResourceLoader(
resourceExtractor
, stringResourceLoader );
95
stringArrayResourceLoader = new StringArrayResourceLoader(
resourceExtractor
, stringResourceLoader );
96
colorResourceLoader = new ColorResourceLoader(
resourceExtractor
);
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DimenResourceLoaderTest.java
18
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
19
resourceExtractor
.addLocalRClass(R.class);
20
dimenResourceLoader = new DimenResourceLoader(
resourceExtractor
);
PluralResourceLoaderTest.java
16
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
17
resourceExtractor
.addLocalRClass(R.class);
19
StringResourceLoader stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
20
pluralResourceLoader = new PluralResourceLoader(
resourceExtractor
, stringResourceLoader);
ResourceExtractorTest.java
12
private
ResourceExtractor
resourceExtractor
;
16
resourceExtractor
= new
ResourceExtractor
();
17
resourceExtractor
.addLocalRClass(R.class);
18
resourceExtractor
.addSystemRClass(android.R.class);
23
assertThat(
resourceExtractor
.getLocalResourceId("id/textStyle"), equalTo(R.id.textStyle));
24
assertThat(
resourceExtractor
.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
29
assertThat(
resourceExtractor
.getResourceId("android:id/text1"), equalTo(android.R.id.text1));
34
assertThat(
resourceExtractor
.getLocalResourceId("@null"), equalTo(0))
[
all
...]
StringArrayResourceLoaderTest.java
19
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
20
resourceExtractor
.addLocalRClass(R.class);
21
resourceExtractor
.addSystemRClass(android.R.class);
26
StringResourceLoader stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
30
stringArrayResourceLoader = new StringArrayResourceLoader(
resourceExtractor
, stringResourceLoader);
StringResourceLoaderTest.java
15
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
16
resourceExtractor
.addLocalRClass(R.class);
17
stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
AttrResourceLoaderTest.java
21
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
22
resourceExtractor
.addLocalRClass(R.class);
23
resourceExtractor
.addSystemRClass(android.R.class);
24
attrResourceLoader = new AttrResourceLoader(
resourceExtractor
);
RawResourceLoaderTest.java
26
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
27
resourceExtractor
.addLocalRClass(R.class);
28
rawResourceLoader = new RawResourceLoader(
resourceExtractor
, resourceFile("res"));
ColorResourceLoaderTest.java
17
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
18
resourceExtractor
.addLocalRClass(R.class);
19
resourceExtractor
.addSystemRClass(android.R.class);
20
colorResourceLoader = new ColorResourceLoader(
resourceExtractor
);
PreferenceLoaderTest.java
35
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
36
resourceExtractor
.addLocalRClass(R.class);
37
StringResourceLoader stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
39
prefLoader = new PreferenceLoader(
resourceExtractor
);
57
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
58
resourceExtractor
.addLocalRClass(R.class)
[
all
...]
TestAttributeSetTest.java
22
private
ResourceExtractor
resourceExtractor
;
28
resourceExtractor
= new
ResourceExtractor
();
29
resourceExtractor
.addLocalRClass(R.class);
30
resourceExtractor
.addSystemRClass(android.R.class);
36
TestAttributeSet testAttributeSet = new TestAttributeSet(attributes,
resourceExtractor
, null, null, false);
43
TestAttributeSet testAttributeSet = new TestAttributeSet(attributes,
resourceExtractor
, null, null, false);
50
TestAttributeSet testAttributeSet = new TestAttributeSet(attributes,
resourceExtractor
, null, null, false);
58
TestAttributeSet testAttributeSet = new TestAttributeSet(attributes,
resourceExtractor
, null, null, true)
[
all
...]
MenuLoaderTest.java
37
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
38
resourceExtractor
.addLocalRClass(R.class);
39
resourceExtractor
.addSystemRClass(android.R.class);
41
StringResourceLoader stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
45
menuLoader = new MenuLoader(
resourceExtractor
, new AttrResourceLoader(
resourceExtractor
));
ViewLoaderTest.java
39
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
40
resourceExtractor
.addLocalRClass(R.class);
41
resourceExtractor
.addSystemRClass(android.R.class);
43
StringResourceLoader stringResourceLoader = new StringResourceLoader(
resourceExtractor
);
47
viewLoader = new ViewLoader(
resourceExtractor
, new AttrResourceLoader(
resourceExtractor
));
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
BrowserStartupController.java
266
ResourceExtractor
resourceExtractor
=
ResourceExtractor
.get(mContext);
267
resourceExtractor
.startExtractingResources();
278
resourceExtractor
.waitForCompletion();
289
ResourceExtractor
resourceExtractor
=
ResourceExtractor
.get(mContext);
290
resourceExtractor
.startExtractingResources();
291
resourceExtractor
.waitForCompletion()
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewStub.java
12
import com.xtremelabs.robolectric.res.
ResourceExtractor
;
41
ResourceExtractor
resourceExtractor
= Robolectric.getShadowApplication().getResourceLoader().getResourceExtractor();
42
return
resourceExtractor
.getResourceId(inflatedId, false);
ShadowResources.java
18
import com.xtremelabs.robolectric.res.
ResourceExtractor
;
55
ResourceExtractor
resourceExtractor
= resourceLoader.getResourceExtractor();
57
index =
resourceExtractor
.getResourceId(defType + "/" + name);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestAttributeSet.java
6
import com.xtremelabs.robolectric.res.
ResourceExtractor
;
13
private
ResourceExtractor
resourceExtractor
;
32
public TestAttributeSet(Map<String, String> attributes,
ResourceExtractor
resourceExtractor
,
35
this.
resourceExtractor
=
resourceExtractor
;
43
this.
resourceExtractor
= new
ResourceExtractor
();
44
this.attrResourceLoader = new AttrResourceLoader(this.
resourceExtractor
);
[
all
...]
Completed in 251 milliseconds