Searched refs:mBaseDisplayDensity (Results 1 – 5 of 5) sorted by relevance
223 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()
886 assertEquals(displayContent.mBaseDisplayDensity, expectedBaseDensity); in verifySizes()
319 int mBaseDisplayDensity = 0; field in DisplayContent1567 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 …]
417 dc.mBaseDisplayDensity = entry.mForcedDensity; in applySettingsToDisplayLocked()421 dc.mBaseDisplayDensity); in applySettingsToDisplayLocked()
5091 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()