Searched refs:xdpi (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
549 xdpi = (int)(width * MM_PER_INCH / width_mm + 0.5);
552 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) {
556 *px_dpi = xdpi;
/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
1408 xdpi = GetDeviceCaps( displayDC, LOGPIXELSX );
1414 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) {
1418 *xDpi = xdpi;

Completed in 203 milliseconds