Searched refs:baseDensity (Results 1 – 3 of 3) sorted by relevance
140 int baseDensity = mInterface.getBaseDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() local142 if (initialDensity != baseDensity) { in runDisplayDensity()143 pw.println("Override density: " + baseDensity); in runDisplayDensity()
1805 void updateBaseDisplayMetrics(int baseWidth, int baseHeight, int baseDensity) { in updateBaseDisplayMetrics() argument1808 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
354 final int baseDensity = 300; in testMaxUiWidth() local356 mDisplayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()360 final int resultingDensity = (maxWidth * baseDensity) / baseWidth; in testMaxUiWidth()366 mDisplayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()