Home
last modified time | relevance | path

Searched refs:systemResources (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java97 Resources systemResources = Resources.getSystem(); in getQualifiers() local
98 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics()); in getQualifiers()
132 Resources systemResources = Resources.getSystem(); in setQualifiers() local
133 systemResources.updateConfiguration(configuration, displayMetrics); in setQualifiers()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerSelfTest.java39 Resources systemResources = Resources.getSystem(); in shouldSetUpSystemResources() local
42 assertThat(systemResources).named("system resources").isNotNull(); in shouldSetUpSystemResources()
44 assertThat(systemResources.getString(android.R.string.copy)).named("system resource") in shouldSetUpSystemResources()
50 systemResources.getString(R.string.howdy); in shouldSetUpSystemResources()
DQualifiersTest.java111 Resources systemResources = Resources.getSystem(); in setQualifiers_updatesSystemAndAppResources() local
114 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
120 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableFactoryTest.java4 import static org.robolectric.util.TestUtil.systemResources;
24 systemResourceTable = resourceTableFactory.newFrameworkResourceTable(systemResources()); in setUp()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java48 public static ResourcePath systemResources() { in systemResources() method in TestUtil
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java183 Resources systemResources = Resources.getSystem(); in setUpApplicationState() local
184 systemResources.updateConfiguration(configuration, displayMetrics); in setUpApplicationState()