Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java472 float invertedRatio = applicationInvertedScale; in applyToDisplayMetrics() local
473 inoutDm.density = inoutDm.noncompatDensity * invertedRatio; in applyToDisplayMetrics()
474 inoutDm.densityDpi = (int)((inoutDm.noncompatDensityDpi * invertedRatio) + .5f); in applyToDisplayMetrics()
475 inoutDm.scaledDensity = inoutDm.noncompatScaledDensity * invertedRatio; in applyToDisplayMetrics()
476 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
477 inoutDm.ydpi = inoutDm.noncompatYdpi * invertedRatio; in applyToDisplayMetrics()
478 inoutDm.widthPixels = (int) (inoutDm.widthPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
479 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
497 float invertedRatio = applicationInvertedScale; in applyToConfiguration() local
498 inoutConfig.densityDpi = (int)((inoutConfig.densityDpi * invertedRatio) + .5f); in applyToConfiguration()