Searched refs:xdpi (Results 1 – 15 of 15) sorted by relevance
167 public float xdpi; field in DisplayMetrics225 xdpi = o.xdpi; in setTo()242 xdpi = DENSITY_DEVICE; in setToDefaults()249 noncompatXdpi = xdpi; in setToDefaults()285 && xdpi == other.xdpi in equalsPhysical()304 ", xdpi=" + xdpi + ", ydpi=" + ydpi + "}"; in toString()
350 return value * metrics.xdpi * (1.0f/72); in applyDimension()352 return value * metrics.xdpi; in applyDimension()354 return value * metrics.xdpi * (1.0f/25.4f); in applyDimension()
31 float xdpi; member
177 config.xdpi = mFbDev->xdpi; in HWComposer()381 config.xdpi = values[i] / 1000.0f; in queryDisplayProperties()393 if (config.xdpi == 0.0f || config.ydpi == 0.0f) { in queryDisplayProperties()395 config.xdpi = dpi; in queryDisplayProperties()419 config.xdpi = config.ydpi = getDefaultDensity(w, h); in setVirtualDisplayProperties()487 return mDisplayData[disp].configs[currentConfig].xdpi; in getDpiX()1137 config.xdpi, config.ydpi, config.refresh); in dump()
256 float xdpi; member
142 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi; in FramebufferNativeWindow()
240 public ConfigGenerator setXdpi(int xdpi) { in setXdpi() argument241 mXdpi = xdpi; in setXdpi()
117 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()
444 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
550 float xdpi = hwConfig.xdpi; in getDisplayConfigs() local560 density = xdpi / 160.0f; in getDisplayConfigs()564 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()581 info.xdpi = xdpi; in getDisplayConfigs()
442 outMetrics.xdpi = outMetrics.noncompatXdpi = physicalXDpi; in getMetricsWithSize()
399 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.xDpi, info.xdpi); in nativeGetDisplayConfigs()
612 return (nativeWindow->xdpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getHorizontalResolution()
33685 field public float xdpi;
31452 field public float xdpi;