Searched refs:baseDensity (Results 1 – 3 of 3) sorted by relevance
164 final int baseDensity = mInterface.getBaseDisplayDensity(displayId); in printInitialDisplayDensity() local166 if (initialDensity != baseDensity) { in printInitialDisplayDensity()167 pw.println("Override density: " + baseDensity); in printInitialDisplayDensity()
2301 void updateBaseDisplayMetrics(int baseWidth, int baseHeight, int baseDensity) { in updateBaseDisplayMetrics() argument2304 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
409 final int baseDensity = 300; in testMaxUiWidth() local411 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()415 final int resultingDensity = (maxWidth * baseDensity) / baseWidth; in testMaxUiWidth()421 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()