Searched refs:getSystem (Results 1 – 15 of 15) sorted by relevance
97 Resources systemResources = Resources.getSystem(); in getQualifiers()125 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers()126 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics()); in setQualifiers()132 Resources systemResources = Resources.getSystem(); in setQualifiers()
82 Configuration configuration = Resources.getSystem().getConfiguration(); in checkForPollutionHelper()89 Resources.getSystem().updateConfiguration(configuration, null); in checkForPollutionHelper()
51 assertNotNull(Resources.getSystem().getDrawable(android.R.drawable.ic_menu_help)); in testGetDrawable_red()
39 Resources systemResources = Resources.getSystem(); in shouldSetUpSystemResources()
111 Resources systemResources = Resources.getSystem(); in setQualifiers_updatesSystemAndAppResources()
74 protected static Resources getSystem() { in getSystem() method in ShadowResources76 AssetManager assetManager = AssetManager.getSystem(); in getSystem()
1025 …return new StyleResolver(resourceTable, legacyShadowOf(AssetManager.getSystem()).getResourceTable(… in resolveStyle()
1420 return Resources.getSystem().getDrawable(com.android.internal.R.drawable.sym_def_app_icon); in getDefaultActivityIcon()
163 resources = Resources.getSystem(); in setFixedTextSize()
109 Resources.getSystem().newTheme().applyStyle(-1, false); in forSystemResources_unknownResourceIdsShouldReportPackagesSearched()
227 Configuration configuration = Resources.getSystem().getConfiguration(); in whenDimensAndSizeSpecified_setQualifiers_should()
221 dpScale = Resources.getSystem().getDisplayMetrics().density; in dpScale()
208 Resources systemResources = Resources.getSystem(); in setUpApplicationState()
1032 …private val Number.dp get() = this.toFloat() / (Resources.getSystem().displayMetrics.densityDpi.to… in <lambda>()
2188 Configuration config = Resources.getSystem().getConfiguration(); in getSystemLocales()