Searched refs:ydpi (Results 1 – 11 of 11) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowDisplay.java | 54 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/ |
D | tcuAndroidUtil.hpp | 68 float ydpi; member 77 , ydpi (0.0f) in DisplayMetrics()
|
D | tcuAndroidUtil.cpp | 454 metrics.ydpi = getField<float> (env, *nativeMetrics, "ydpi"); in getDisplayMetrics()
|
/external/swiftshader/include/Android/system/ |
D | window.h | 30 ANativeWindow() : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) { in ANativeWindow() 42 const float ydpi; member
|
/external/libcups/filter/ |
D | testclient.c | 401 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()
|
D | raster.c | 205 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/ |
D | ShadowDisplayTest.java | 55 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/ |
D | Bootstrap.java | 62 displayMetrics.ydpi = displayMetrics.noncompatYdpi = displayMetrics.densityDpi; in fixJellyBean()
|
/external/libcups/cups/ |
D | raster.h | 419 …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/ |
D | SubsamplingScaleImageView.java | 1366 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/ |
D | ViewInflater.java | 410 float inches = mMetrics.ydpi * size; in getFontSize()
|