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.java175 final int baseDensity = mInterface.getBaseDisplayDensity(displayId); in printInitialDisplayDensity() local
177 if (initialDensity != baseDensity) { in printInitialDisplayDensity()
178 pw.println("Override density: " + baseDensity); in printInitialDisplayDensity()
DDisplayContent.java2469 void updateBaseDisplayMetrics(int baseWidth, int baseHeight, int baseDensity) { in updateBaseDisplayMetrics() argument
2472 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java546 final int baseDensity = 300; in testMaxUiWidth() local
548 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()
552 final int resultingDensity = (maxWidth * baseDensity) / baseWidth; in testMaxUiWidth()
558 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()