OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:resourceExtractor
(Results
26 - 32
of
32
) sorted by null
1
2
/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
19
import com.xtremelabs.robolectric.res.
ResourceExtractor
;
57
ResourceExtractor
resourceExtractor
= resourceLoader.getResourceExtractor();
59
index =
resourceExtractor
.getResourceId(defType + "/" + name);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
MenuLoader.java
27
public MenuLoader(
ResourceExtractor
resourceExtractor
, AttrResourceLoader attrResourceLoader) {
28
super(
resourceExtractor
);
102
inflateMenu(context,
resourceExtractor
.getResourceName(resourceId),
138
resourceExtractor
, attrResourceLoader, null, false);
AttrResourceLoader.java
21
public AttrResourceLoader(
ResourceExtractor
resourceExtractor
) {
22
super(
resourceExtractor
);
PreferenceLoader.java
29
public PreferenceLoader(
ResourceExtractor
resourceExtractor
) {
30
super(
resourceExtractor
);
69
return inflatePreferences(context,
resourceExtractor
.getResourceName(resourceId));
ViewLoader.java
33
public ViewLoader(
ResourceExtractor
resourceExtractor
, AttrResourceLoader attrResourceLoader) {
34
super(
resourceExtractor
);
89
return inflateView(context,
resourceExtractor
.getResourceName(resourceId), parent);
208
TestAttributeSet attributeSet = new TestAttributeSet(attributes,
resourceExtractor
, attrResourceLoader, View.class, isSystem);
245
TestAttributeSet attributeSet = new TestAttributeSet(attributes,
resourceExtractor
, attrResourceLoader, clazz, isSystem);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
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
));
Completed in 72 milliseconds
1
2