Home
last modified time | relevance | path

Searched refs:mBaseDisplayDensity (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java223 final int originalDensity = mSecondaryDisplay.mBaseDisplayDensity; in testDefaultToOriginalMetrics()
230 assertEquals(originalDensity, mSecondaryDisplay.mBaseDisplayDensity); in testDefaultToOriginalMetrics()
259 assertEquals(600 /* density */, mSecondaryDisplay.mBaseDisplayDensity); in testSetForcedDensity()
263 mSecondaryDisplay.mBaseDisplayDensity); in testSetForcedDensity()
DDisplayContentTests.java886 assertEquals(displayContent.mBaseDisplayDensity, expectedBaseDensity); in verifySizes()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java319 int mBaseDisplayDensity = 0; field in DisplayContent
1567 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
1568 final int longSizeDp = longSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
1614 mDisplayInfo.logicalDensityDpi = mBaseDisplayDensity; in updateDisplayAndOrientation()
2272 final boolean isDisplayDensityForced = mBaseDisplayDensity != mInitialDisplayDensity; in updateBaseDisplayMetricsIfNeeded()
2277 isDisplayDensityForced ? mBaseDisplayDensity : newDensity); in updateBaseDisplayMetricsIfNeeded()
2297 updateBaseDisplayMetrics(mBaseDisplayWidth, mBaseDisplayHeight, mBaseDisplayDensity); in setMaxUiWidth()
2304 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
2308 mBaseDisplayDensity = (mMaxUiWidth * mBaseDisplayDensity) / mBaseDisplayWidth; in updateBaseDisplayMetrics()
2313 + mBaseDisplayHeight + " at density:" + mBaseDisplayDensity in updateBaseDisplayMetrics()
[all …]
DDisplayWindowSettings.java417 dc.mBaseDisplayDensity = entry.mForcedDensity; in applySettingsToDisplayLocked()
421 dc.mBaseDisplayDensity); in applySettingsToDisplayLocked()
DWindowManagerService.java5091 displayContent.mBaseDisplayDensity); in applyForcedPropertiesForDefaultDisplay()
5101 if (density != 0 && density != displayContent.mBaseDisplayDensity) { in applyForcedPropertiesForDefaultDisplay()
5102 displayContent.mBaseDisplayDensity = density; in applyForcedPropertiesForDefaultDisplay()
5154 return displayContent.mBaseDisplayDensity; in getBaseDisplayDensity()