Home
last modified time | relevance | path

Searched refs:xdpi (Results 1 – 5 of 5) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11wm.c537 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;
DSDL_x11wm_c.h37 extern int X11_GetMonitorDPI(_THIS, int* xdpi, int *ydpi);
/external/qemu/android/
Dqemulator.c285 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/
DSDL_dibvideo.c1326 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/
DSDL_sysvideo.h230 int (*GetMonitorDPI)(_THIS, int *xdpi, int *ydpi);