Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayMetrics.java167 public float xdpi; field in DisplayMetrics
225 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()
DTypedValue.java350 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()
/frameworks/native/include/ui/
DDisplayInfo.h31 float xdpi; member
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp177 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()
DHWComposer.h256 float xdpi; member
/frameworks/native/libs/ui/
DFramebufferNativeWindow.cpp142 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi; in FramebufferNativeWindow()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java240 public ConfigGenerator setXdpi(int xdpi) { in setXdpi() argument
241 mXdpi = xdpi; in setXdpi()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java117 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java444 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp550 float xdpi = hwConfig.xdpi; in getDisplayConfigs() local
560 density = xdpi / 160.0f; in getDisplayConfigs()
564 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()
581 info.xdpi = xdpi; in getDisplayConfigs()
/frameworks/base/core/java/android/view/
DDisplayInfo.java442 outMetrics.xdpi = outMetrics.noncompatXdpi = physicalXDpi; in getMetricsWithSize()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp399 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.xDpi, info.xdpi); in nativeGetDisplayConfigs()
/frameworks/native/opengl/libagl/
Degl.cpp612 return (nativeWindow->xdpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getHorizontalResolution()
/frameworks/base/api/
Dsystem-current.txt33685 field public float xdpi;
Dcurrent.txt31452 field public float xdpi;