Searched refs:ydpi (Results 1 - 5 of 5) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11wm_c.h37 extern int X11_GetMonitorDPI(_THIS, int* xdpi, int *ydpi);
H A DSDL_x11wm.c538 int xdpi, ydpi; local
550 ydpi = (int)(height * MM_PER_INCH / height_mm + 0.5);
552 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) {
557 *py_dpi = ydpi;
/external/qemu/android/
H A Dqemulator.c285 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;
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_sysvideo.h230 int (*GetMonitorDPI)(_THIS, int *xdpi, int *ydpi);
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
H A DSDL_dibvideo.c1403 int xdpi, ydpi; local
1409 ydpi = GetDeviceCaps( displayDC, LOGPIXELSY );
1414 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) {
1419 *yDpi = ydpi;

Completed in 1049 milliseconds