Home
last modified time | relevance | path

Searched refs:baseDensity (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java140 int baseDensity = mInterface.getBaseDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() local
142 if (initialDensity != baseDensity) { in runDisplayDensity()
143 pw.println("Override density: " + baseDensity); in runDisplayDensity()
DDisplayContent.java1805 void updateBaseDisplayMetrics(int baseWidth, int baseHeight, int baseDensity) { in updateBaseDisplayMetrics() argument
1808 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java354 final int baseDensity = 300; in testMaxUiWidth() local
356 mDisplayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()
360 final int resultingDensity = (maxWidth * baseDensity) / baseWidth; in testMaxUiWidth()
366 mDisplayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()