/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDisplay.java | 22 private float ydpi = 240.0f; field in class:ShadowDisplay 41 outMetrics.ydpi = ydpi; 94 return ydpi; 97 public void setYdpi(float ydpi) { 98 this.ydpi = ydpi;
|
/frameworks/base/core/java/android/util/ |
DisplayMetrics.java | 130 * {@link #xdpi} and {@link #ydpi}, but rather is used to scale the size of 158 public float ydpi; field in class:DisplayMetrics 197 * The reported display ydpi prior to any compatibility mode scaling 213 ydpi = o.ydpi; 230 ydpi = DENSITY_DEVICE; 237 noncompatYdpi = ydpi; 273 && ydpi == other.ydpi 291 ", xdpi=" + xdpi + ", ydpi=" + ydpi + "}" [all...] |
/frameworks/native/include/ui/ |
DisplayInfo.h | 31 float ydpi; member in struct:android::DisplayInfo
|
/hardware/qcom/display/msm8960/libgralloc/ |
fb_priv.h | 51 float ydpi; member in struct:private_module_t
|
framebuffer.cpp | 246 float ydpi = (info.yres * 25.4f) / info.height; local 287 info.height, ydpi, 302 module->ydpi = ydpi; 390 const_cast<float&>(dev->device.ydpi) = m->ydpi;
|
/hardware/qcom/display/msm8974/libgralloc/ |
fb_priv.h | 51 float ydpi; member in struct:private_module_t
|
framebuffer.cpp | 246 float ydpi = (info.yres * 25.4f) / info.height; local 287 info.height, ydpi, 302 module->ydpi = ydpi; 396 const_cast<float&>(dev->device.ydpi) = m->ydpi;
|
/hardware/qcom/display/msm8x26/libgralloc/ |
fb_priv.h | 51 float ydpi; member in struct:private_module_t
|
framebuffer.cpp | 246 float ydpi = (info.yres * 25.4f) / info.height; local 287 info.height, ydpi, 302 module->ydpi = ydpi; 390 const_cast<float&>(dev->device.ydpi) = m->ydpi;
|
/cts/tests/tests/util/src/android/util/cts/ |
DisplayMetricsTest.java | 43 assertTrue(0 < outMetrics.ydpi); 55 assertTrue(0 < metrics.ydpi);
|
TypedValueTest.java | 43 dm.ydpi = 300f; 85 dm.ydpi = 300f; 134 dm.ydpi = 300f; 200 dm.ydpi = 300f; 215 dm.ydpi = 300f;
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11wm_c.h | 37 extern int X11_GetMonitorDPI(_THIS, int* xdpi, int *ydpi);
|
/hardware/samsung_slsi/exynos5/gralloc/ |
framebuffer.cpp | 190 float ydpi = (module->yres * 25.4f) / info.height; local 199 ydpi, (float)refreshRate); 203 module->ydpi = ydpi; 266 const_cast<float&>(dev->ydpi) = m->ydpi;
|
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 222 float ydpi = (info.yres * 25.4f) / info.height; local 251 info.height, ydpi, 267 module->ydpi = ydpi; 341 const_cast<float&>(dev->device.ydpi) = m->ydpi;
|
gralloc_priv.h | 52 float ydpi; member in struct:private_module_t
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 41 double yInches = (double) metrics.heightPixels / metrics.ydpi;
|
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 62 + "ydpi=" + m.ydpi + "\n"
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DisplayTest.java | 38 assertEquals(184.0f, metrics.ydpi, 0.05);
|
/hardware/libhardware/include/hardware/ |
fb.h | 56 const float ydpi; member in struct:framebuffer_device_t
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 75 mDisplayMetrics.ydpi = metrics.ydpi;
|
/system/extras/tests/framebuffer/ |
refresh.c | 76 float ydpi = (info.yres * 25.4f) / info.height; local 105 info.height, ydpi,
|
/hardware/libhardware/tests/hwc/ |
cnativewindow.c | 74 unsigned ydpi; member in struct:CNativeWindow 419 win->ydpi = values[4]; 489 win->ydpi = fb->ydpi; 523 *((float*) &win->base.ydpi) = win->ydpi;
|
/external/qemu/android/ |
qemulator.c | 285 int xdpi, ydpi; local 287 if ( SDL_WM_GetMonitorDPI( &xdpi, &ydpi ) < 0 ) { 291 D( "system reported monitor resolutions: xdpi=%d ydpi=%d\n", xdpi, ydpi); 292 dpi_monitor = (xdpi + ydpi+1)/2;
|
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
MyActivity.java | 116 tv = (TextView) findViewById(R.id.ydpi); 118 tv.setText(String.format("%f", metrics.ydpi));
|
/system/core/include/system/ |
window.h | 347 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) 377 const float ydpi; member in struct:ANativeWindow
|