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.java164 final int baseDensity = mInterface.getBaseDisplayDensity(displayId); in printInitialDisplayDensity() local
166 if (initialDensity != baseDensity) { in printInitialDisplayDensity()
167 pw.println("Override density: " + baseDensity); in printInitialDisplayDensity()
DDisplayContent.java2301 void updateBaseDisplayMetrics(int baseWidth, int baseHeight, int baseDensity) { in updateBaseDisplayMetrics() argument
2304 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java409 final int baseDensity = 300; in testMaxUiWidth() local
411 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()
415 final int resultingDensity = (maxWidth * baseDensity) / baseWidth; in testMaxUiWidth()
421 displayContent.updateBaseDisplayMetrics(baseWidth, baseHeight, baseDensity); in testMaxUiWidth()