Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayMetrics.java150 public float ydpi; field in DisplayMetrics
205 ydpi = o.ydpi; in setTo()
222 ydpi = DENSITY_DEVICE; in setToDefaults()
229 noncompatYdpi = ydpi; in setToDefaults()
265 && ydpi == other.ydpi in equalsPhysical()
283 ", xdpi=" + xdpi + ", ydpi=" + ydpi + "}"; in toString()
/frameworks/native/include/ui/
DDisplayInfo.h31 float ydpi; member
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp180 disp.ydpi = mFbDev->ydpi; in HWComposer()
361 mDisplayData[disp].ydpi = values[i] / 1000.0f; in queryDisplayProperties()
373 if (mDisplayData[disp].xdpi == 0.0f || mDisplayData[disp].ydpi == 0.0f) { in queryDisplayProperties()
376 mDisplayData[disp].ydpi = dpi; in queryDisplayProperties()
390 mDisplayData[id].xdpi = mDisplayData[id].ydpi = getDefaultDensity(h); in setVirtualDisplayProperties()
451 return mDisplayData[disp].ydpi; in getDpiY()
979 i, disp.width, disp.height, disp.xdpi, disp.ydpi, disp.refresh); in dump()
1096 xdpi(0.0f), ydpi(0.0f), in DisplayData()
DHWComposer.h311 float ydpi; member
/frameworks/native/libs/ui/
DFramebufferNativeWindow.cpp143 const_cast<float&>(ANativeWindow::ydpi) = fbDev->ydpi; in FramebufferNativeWindow()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java117 metrics.ydpi = metrics.noncompatYdpi = hardwareConfig.getYdpi(); in init()
/frameworks/base/core/java/android/view/
DDisplayInfo.java348 outMetrics.ydpi = outMetrics.noncompatYdpi = physicalYDpi; in getMetricsWithSize()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java445 inoutDm.ydpi = inoutDm.noncompatYdpi * invertedRatio; in applyToDisplayMetrics()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp384 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.yDpi, info.ydpi); in nativeGetDisplayInfo()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp602 float ydpi = hwc.getDpiY(type); in getDisplayInfo() local
632 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayInfo()
651 info->ydpi = ydpi; in getDisplayInfo()
/frameworks/native/opengl/libagl/
Degl.cpp615 return (nativeWindow->ydpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getVerticalResolution()
/frameworks/base/api/
Dcurrent.txt24202 field public float ydpi;