Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayMetrics.java158 public float ydpi; field in DisplayMetrics
213 ydpi = o.ydpi; in setTo()
230 ydpi = DENSITY_DEVICE; in setToDefaults()
237 noncompatYdpi = ydpi; in setToDefaults()
273 && ydpi == other.ydpi in equalsPhysical()
291 ", xdpi=" + xdpi + ", ydpi=" + ydpi + "}"; in toString()
/frameworks/native/include/ui/
DDisplayInfo.h31 float ydpi; member
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp176 disp.ydpi = mFbDev->ydpi; in HWComposer()
376 mDisplayData[disp].ydpi = values[i] / 1000.0f; in queryDisplayProperties()
388 if (mDisplayData[disp].xdpi == 0.0f || mDisplayData[disp].ydpi == 0.0f) { in queryDisplayProperties()
391 mDisplayData[disp].ydpi = dpi; in queryDisplayProperties()
405 mDisplayData[id].xdpi = mDisplayData[id].ydpi = getDefaultDensity(h); in setVirtualDisplayProperties()
466 return mDisplayData[disp].ydpi; in getDpiY()
1022 i, disp.width, disp.height, disp.xdpi, disp.ydpi, disp.refresh); in dump()
1151 xdpi(0.0f), ydpi(0.0f), in DisplayData()
DHWComposer.h315 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.java118 metrics.ydpi = metrics.noncompatYdpi = hardwareConfig.getYdpi(); in init()
/frameworks/base/core/java/android/view/
DDisplayInfo.java392 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.cpp369 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.yDpi, info.ydpi); in nativeGetDisplayInfo()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp673 float ydpi = hwc.getDpiY(type); in getDisplayInfo() local
703 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayInfo()
721 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.txt25813 field public float ydpi;