Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java53 private Float xdpi; field in ShadowDisplay
74 outMetrics.xdpi = xdpi; in getMetrics()
194 public void setXdpi(float xdpi) { in setXdpi() argument
196 this.xdpi = xdpi; in setXdpi()
199 di -> di.physicalXDpi = xdpi); in setXdpi()
410 xdpi = (float) displayMetrics.densityDpi; in configureForJBOnly()
/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/swiftshader/include/Android/system/
Dwindow.h30 ANativeWindow() : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) { in ANativeWindow()
41 const float xdpi; member
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java54 assertEquals(183.0f, metrics.xdpi, 0.05); in shouldProvideDisplayMetrics()
66 assertEquals(183.0f, metrics.xdpi, 0.05); in shouldProvideDisplayMetrics()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DBootstrap.java61 displayMetrics.xdpi = displayMetrics.noncompatXdpi = displayMetrics.densityDpi; in fixJellyBean()
/external/libcups/cups/
Draster.h419 …GHeader(cups_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const ch…
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1366 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in calculateInSampleSize()
2481 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMinimumDpi()
2492 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMaximumDpi()
2522 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMinimumTileDpi()
2753 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setDoubleTapZoomDpi()