Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java461 public void applyToDisplayMetrics(DisplayMetrics inoutDm) { in applyToDisplayMetrics() argument
465 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()
467 inoutDm.widthPixels = inoutDm.noncompatWidthPixels; in applyToDisplayMetrics()
468 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics()
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()
[all …]