Searched refs:systemResources (Results 1 – 6 of 6) sorted by relevance
97 Resources systemResources = Resources.getSystem(); in getQualifiers() local98 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics()); in getQualifiers()132 Resources systemResources = Resources.getSystem(); in setQualifiers() local133 systemResources.updateConfiguration(configuration, displayMetrics); in setQualifiers()
39 Resources systemResources = Resources.getSystem(); in shouldSetUpSystemResources() local42 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()
111 Resources systemResources = Resources.getSystem(); in setQualifiers_updatesSystemAndAppResources() local114 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()120 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
4 import static org.robolectric.util.TestUtil.systemResources;24 systemResourceTable = resourceTableFactory.newFrameworkResourceTable(systemResources()); in setUp()
48 public static ResourcePath systemResources() { in systemResources() method in TestUtil
183 Resources systemResources = Resources.getSystem(); in setUpApplicationState() local184 systemResources.updateConfiguration(configuration, displayMetrics); in setUpApplicationState()