OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResourceExtractor
(Results
1 - 25
of
52
) sorted by null
1
2
3
/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);
DimenResourceLoader.java
11
public DimenResourceLoader(
ResourceExtractor
resourceExtractor
) {
12
super(
resourceExtractor
, "/resources/dimen");
16
return dimenResolver.getValue(
resourceExtractor
.getResourceName(resourceId));
20
return getValue(
resourceExtractor
.getResourceId(resourceName, isSystem));
StringResourceLoader.java
8
public StringResourceLoader(
ResourceExtractor
resourceExtractor
) {
9
super(
resourceExtractor
, "/resources/string");
13
return stringResolver.getValue(
resourceExtractor
.getResourceName(resourceId));
17
return getValue(
resourceExtractor
.getResourceId(resourceName, isSystem));
IntegerResourceLoader.java
9
public IntegerResourceLoader(
ResourceExtractor
resourceExtractor
) {
10
super(
resourceExtractor
, "integer" );
15
String resourceName =
resourceExtractor
.getResourceName(resourceId);
28
Integer resourceId =
resourceExtractor
.getResourceId(resourceName, isSystem);
XTagXmlResourceLoader.java
32
public XTagXmlResourceLoader(
ResourceExtractor
resourceExtractor
, String tag ) {
33
super(
resourceExtractor
);
XpathResourceXmlLoader.java
16
public XpathResourceXmlLoader(
ResourceExtractor
resourceExtractor
, String expression) {
17
super(
resourceExtractor
);
/external/chromium_org/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/
ContentBrowserTestsApplication.java
10
import org.chromium.content.browser.
ResourceExtractor
;
27
ResourceExtractor
.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
/external/chromium_org/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/
ChromiumLinkerTestApplication.java
10
import org.chromium.content.browser.
ResourceExtractor
;
36
ResourceExtractor
.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
/external/chromium_org/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/
ContentShellApplication.java
9
import org.chromium.content.browser.
ResourceExtractor
;
35
ResourceExtractor
.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/shell/
AwShellApplication.java
15
import org.chromium.content.browser.
ResourceExtractor
;
40
ResourceExtractor
.setMandatoryPaksToExtract(MANDATORY_PAKS);
41
ResourceExtractor
.setExtractImplicitLocaleForTesting(false);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
IntegerResourceLoaderTest.java
18
ResourceExtractor
extractor = new
ResourceExtractor
();
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
...]
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
...]
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);
RawResourceLoaderTest.java
26
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
27
resourceExtractor
.addLocalRClass(R.class);
28
rawResourceLoader = new RawResourceLoader(
resourceExtractor
, resourceFile("res"));
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
);
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);
ColorResourceLoaderTest.java
17
ResourceExtractor
resourceExtractor
= new
ResourceExtractor
();
18
resourceExtractor
.addLocalRClass(R.class);
19
resourceExtractor
.addSystemRClass(android.R.class);
20
colorResourceLoader = new ColorResourceLoader(
resourceExtractor
);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
BrowserStartupController.java
269
ResourceExtractor
resourceExtractor
=
ResourceExtractor
.get(mContext);
270
resourceExtractor
.startExtractingResources();
281
resourceExtractor
.waitForCompletion();
292
ResourceExtractor
resourceExtractor
=
ResourceExtractor
.get(mContext);
293
resourceExtractor
.startExtractingResources();
294
resourceExtractor
.waitForCompletion()
[
all
...]
ResourceExtractor.java
34
public class
ResourceExtractor
{
36
private static final String LOGTAG = "
ResourceExtractor
";
236
private static
ResourceExtractor
sInstance;
238
public static
ResourceExtractor
get(Context context) {
240
sInstance = new
ResourceExtractor
(context);
259
* By default the
ResourceExtractor
will attempt to extract a pak resource for the users
272
private
ResourceExtractor
(Context context) {
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
ChromeShellApplication.java
17
import org.chromium.content.browser.
ResourceExtractor
;
51
ResourceExtractor
.setMandatoryPaksToExtract(CHROME_MANDATORY_PAKS);
/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);
Completed in 233 milliseconds
1
2
3