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 assertWithMessage("system resources").that(systemResources).isNotNull(); in shouldSetUpSystemResources()44 assertWithMessage("system resource").that(systemResources.getString(android.R.string.copy)) 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
208 Resources systemResources = Resources.getSystem(); in setUpApplicationState() local209 systemResources.updateConfiguration(configuration, displayMetrics); in setUpApplicationState()