Searched refs:xdpi (Results 1 – 5 of 5) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11wm.c | 537 int xdpi, ydpi; local 548 xdpi = (int)(width * MM_PER_INCH / width_mm + 0.5); 551 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) { 555 *px_dpi = xdpi;
|
D | SDL_x11wm_c.h | 37 extern int X11_GetMonitorDPI(_THIS, int* xdpi, int *ydpi);
|
/external/qemu/android/ |
D | qemulator.c | 285 int xdpi, ydpi; in get_default_scale() local 287 if ( SDL_WM_GetMonitorDPI( &xdpi, &ydpi ) < 0 ) { in get_default_scale() 291 D( "system reported monitor resolutions: xdpi=%d ydpi=%d\n", xdpi, ydpi); in get_default_scale() 292 dpi_monitor = (xdpi + ydpi+1)/2; in get_default_scale()
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
D | SDL_dibvideo.c | 1326 int xdpi, ydpi; local 1331 xdpi = GetDeviceCaps( displayDC, LOGPIXELSX ); 1337 if (xdpi < 20 || xdpi > 400 || ydpi < 20 || ydpi > 400) { 1341 *xDpi = xdpi;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_sysvideo.h | 230 int (*GetMonitorDPI)(_THIS, int *xdpi, int *ydpi);
|