Home
last modified time | relevance | path

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

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java21 private float xdpi = 240.0f; field in ShadowDisplay
40 outMetrics.xdpi = xdpi; in getMetrics()
86 return xdpi; in getXdpi()
89 public void setXdpi(float xdpi) { in setXdpi() argument
90 this.xdpi = xdpi; in setXdpi()
DShadowTypedValue.java106 return value * metrics.xdpi * (1.0f / 72); in applyDimension()
108 return value * metrics.xdpi; in applyDimension()
110 return value * metrics.xdpi * (1.0f / 25.4f); in applyDimension()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp67 float xdpi; member
76 , xdpi (0.0f) in DisplayMetrics()
DtcuAndroidUtil.cpp453 metrics.xdpi = getField<float> (env, *nativeMetrics, "xdpi"); in getDisplayMetrics()
/external/libcups/filter/
Dtestclient.c400 int xdpi = 0, /* Horizontal resolution */ in make_raster_file() local
542 xdpi = ydpi = atoi(val + 2); in make_raster_file()
558 if (i == 0 || tempxdpi < xdpi || tempydpi < ydpi) in make_raster_file()
560 xdpi = tempxdpi; in make_raster_file()
574 if (xdpi < 72 || ydpi < 72) in make_raster_file()
590 if (!cupsRasterInitPWGHeader(&header, media, type, xdpi, ydpi, "one-sided", NULL)) in make_raster_file()
Draster.c204 int xdpi, /* I - Cross-feed direction (horizontal) resolution */ in cupsRasterInitPWGHeader() argument
209 if (!h || !media || !type || xdpi <= 0 || ydpi <= 0) in cupsRasterInitPWGHeader()
233 h->HWResolution[0] = (unsigned)xdpi; in cupsRasterInitPWGHeader()
236 h->cupsWidth = (unsigned)(media->width * xdpi / 2540); in cupsRasterInitPWGHeader()
/external/fio/
Dprinting.c10 gdouble width, height, xdpi, ydpi; member
22 print_params.xdpi = gtk_print_context_get_dpi_x(context); in begin_print()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDisplayTest.java37 assertEquals(183.0f, metrics.xdpi, 0.05); in shouldProvideDisplayMetrics()
/external/libcups/cups/
Draster.h419 …GHeader(cups_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const ch…