Home
last modified time | relevance | path

Searched refs:systemResourceTable (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableFactoryTest.java16 private ResourceTable systemResourceTable; field in ResourceTableFactoryTest
24 systemResourceTable = resourceTableFactory.newFrameworkResourceTable(systemResources()); in setUp()
40 …assertThat(systemResourceTable.getResourceId(new ResName("android:id/text1"))).isEqualTo(android.R… in shouldPrefixAllSystemResourcesWithAndroid()
45 …assertThat(systemResourceTable.getResName(android.R.id.text1).getFullyQualifiedName()).isEqualTo("… in shouldRetainPackageNameForFullyQualifiedQueries()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java16 private PackageResourceTable systemResourceTable; field in SdkEnvironment
33 if (systemResourceTable == null) { in getSystemResourceTable()
35 systemResourceTable = new ResourceTableFactory().newFrameworkResourceTable(resourcePath); in getSystemResourceTable()
37 return systemResourceTable; in getSystemResourceTable()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java30 private static ResourceTable systemResourceTable; field in RuntimeEnvironment
179 public static void setSystemResourceTable(ResourceTable systemResourceTable) { in setSystemResourceTable() argument
180 RuntimeEnvironment.systemResourceTable = systemResourceTable; in setSystemResourceTable()
188 return systemResourceTable; in getSystemResourceTable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStyleResolver.java11 private final ResourceTable systemResourceTable; field in StyleResolver
16 …public StyleResolver(ResourceTable appResourceTable, ResourceTable systemResourceTable, StyleData … in StyleResolver() argument
19 this.systemResourceTable = systemResourceTable; in StyleResolver()
91 …ResourceTable resourceProvider = "android".equals(styleRef.packageName) ? systemResourceTable : ap… in getParent()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java252 PackageResourceTable systemResourceTable = apkLoader.getSystemResourceTable(sdkEnvironment); in injectResourceStuffForLegacy() local
255 systemResourceTable); in injectResourceStuffForLegacy()
263 RuntimeEnvironment.setSystemResourceTable(new RoutingResourceTable(systemResourceTable)); in injectResourceStuffForLegacy()