Searched refs:inoutDm (Results 1 – 1 of 1) sorted by relevance
429 public void applyToDisplayMetrics(DisplayMetrics inoutDm) { in applyToDisplayMetrics() argument433 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()435 inoutDm.widthPixels = inoutDm.noncompatWidthPixels; in applyToDisplayMetrics()436 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics()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()[all …]