Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java54 private Float ydpi; field in ShadowDisplay
75 outMetrics.ydpi = ydpi; in getMetrics()
209 public void setYdpi(float ydpi) { in setYdpi() argument
211 this.ydpi = ydpi; in setYdpi()
214 di -> di.physicalYDpi = ydpi); in setYdpi()
411 ydpi = (float) displayMetrics.densityDpi; in configureForJBOnly()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp68 float ydpi; member
77 , ydpi (0.0f) in DisplayMetrics()
DtcuAndroidUtil.cpp454 metrics.ydpi = getField<float> (env, *nativeMetrics, "ydpi"); in getDisplayMetrics()
/external/swiftshader/include/Android/system/
Dwindow.h30 ANativeWindow() : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) { in ANativeWindow()
42 const float ydpi; member
/external/libcups/filter/
Dtestclient.c401 ydpi = 0; /* Vertical 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()
561 ydpi = tempydpi; 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.c205 int ydpi, /* I - Feed direction (vertical) resolution */ in cupsRasterInitPWGHeader() argument
209 if (!h || !media || !type || xdpi <= 0 || ydpi <= 0) in cupsRasterInitPWGHeader()
234 h->HWResolution[1] = (unsigned)ydpi; in cupsRasterInitPWGHeader()
237 h->cupsHeight = (unsigned)(media->length * ydpi / 2540); in cupsRasterInitPWGHeader()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java55 assertEquals(184.0f, metrics.ydpi, 0.05); in shouldProvideDisplayMetrics()
67 assertEquals(184.0f, metrics.ydpi, 0.05); in shouldProvideDisplayMetrics()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DBootstrap.java62 displayMetrics.ydpi = displayMetrics.noncompatYdpi = displayMetrics.densityDpi; in fixJellyBean()
/external/libcups/cups/
Draster.h419 …ps_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const char *sides,…
/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()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java410 float inches = mMetrics.ydpi * size; in getFontSize()