Searched refs:mBaseDisplayDensity (Results 1 – 6 of 6) sorted by relevance
227 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()
431 display.mBaseDisplayDensity = (int) (0.7f * display.mBaseDisplayDensity); in testResetNonVisibleActivity()
1475 assertEquals(displayContent.mBaseDisplayDensity, expectedBaseDensity); in verifySizes()
334 int mBaseDisplayDensity = 0; field in DisplayContent1742 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 …]
391 dc.mBaseDisplayDensity = entry.mForcedDensity; in applySettingsToDisplayLocked()395 dc.mBaseDisplayDensity); in applySettingsToDisplayLocked()
5269 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()