Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java227 final int originalDensity = mSecondaryDisplay.mBaseDisplayDensity; in testDefaultToOriginalMetrics()
234 assertEquals(originalDensity, mSecondaryDisplay.mBaseDisplayDensity); in testDefaultToOriginalMetrics()
263 assertEquals(600 /* density */, mSecondaryDisplay.mBaseDisplayDensity); in testSetForcedDensity()
267 mSecondaryDisplay.mBaseDisplayDensity); in testSetForcedDensity()
DSizeCompatTests.java431 display.mBaseDisplayDensity = (int) (0.7f * display.mBaseDisplayDensity); in testResetNonVisibleActivity()
DDisplayContentTests.java1475 assertEquals(displayContent.mBaseDisplayDensity, expectedBaseDensity); in verifySizes()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java334 int mBaseDisplayDensity = 0; field in DisplayContent
1742 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
1743 final int longSizeDp = longSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
1795 mDisplayInfo.logicalDensityDpi = mBaseDisplayDensity; in updateDisplayAndOrientation()
2440 final boolean isDisplayDensityForced = mBaseDisplayDensity != mInitialDisplayDensity; in updateBaseDisplayMetricsIfNeeded()
2445 isDisplayDensityForced ? mBaseDisplayDensity : newDensity); in updateBaseDisplayMetricsIfNeeded()
2465 updateBaseDisplayMetrics(mBaseDisplayWidth, mBaseDisplayHeight, mBaseDisplayDensity); in setMaxUiWidth()
2472 mBaseDisplayDensity = baseDensity; in updateBaseDisplayMetrics()
2476 mBaseDisplayDensity = (mMaxUiWidth * mBaseDisplayDensity) / mBaseDisplayWidth; in updateBaseDisplayMetrics()
2481 + mBaseDisplayHeight + " at density:" + mBaseDisplayDensity in updateBaseDisplayMetrics()
[all …]
DDisplayWindowSettings.java391 dc.mBaseDisplayDensity = entry.mForcedDensity; in applySettingsToDisplayLocked()
395 dc.mBaseDisplayDensity); in applySettingsToDisplayLocked()
DWindowManagerService.java5269 displayContent.mBaseDisplayDensity); in applyForcedPropertiesForDefaultDisplay()
5279 if (density != 0 && density != displayContent.mBaseDisplayDensity) { in applyForcedPropertiesForDefaultDisplay()
5280 displayContent.mBaseDisplayDensity = density; in applyForcedPropertiesForDefaultDisplay()
5332 return displayContent.mBaseDisplayDensity; in getBaseDisplayDensity()