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.java440 float invertedRatio = applicationInvertedScale; in applyToDisplayMetrics() local
441 inoutDm.density = inoutDm.noncompatDensity * invertedRatio; in applyToDisplayMetrics()
442 inoutDm.densityDpi = (int)((inoutDm.noncompatDensityDpi * invertedRatio) + .5f); in applyToDisplayMetrics()
443 inoutDm.scaledDensity = inoutDm.noncompatScaledDensity * invertedRatio; in applyToDisplayMetrics()
444 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
445 inoutDm.ydpi = inoutDm.noncompatYdpi * invertedRatio; in applyToDisplayMetrics()
446 inoutDm.widthPixels = (int) (inoutDm.widthPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
447 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
465 float invertedRatio = applicationInvertedScale; in applyToConfiguration() local
466 inoutConfig.densityDpi = (int)((inoutConfig.densityDpi * invertedRatio) + .5f); in applyToConfiguration()