Home
last modified time | relevance | path

Searched refs:vdpi (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestdisplayinfo.c54 float ddpi, hdpi, vdpi; in main() local
60 if (SDL_GetDisplayDPI(dpy, &ddpi, &hdpi, &vdpi) == -1) { in main()
63 SDL_Log(" DPI: ddpi=%f; hdpi=%f; vdpi=%f\n", ddpi, hdpi, vdpi); in main()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11modes.h36 float vdpi; member
81 …X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi);
A DSDL_x11modes.c472 … displaydata->vdpi = display_mm_height ? (((float) mode.h) * 25.4f / display_mm_height) : 0.0f; in X11_InitModes_XRandR()
754 displaydata->vdpi = (float)DisplayHeight(data->display, displaydata->screen) * 25.4f / in X11_InitModes()
1056 X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi) in X11_GetDisplayDPI() argument
1066 if (vdpi) { in X11_GetDisplayDPI()
1067 *vdpi = data->vdpi; in X11_GetDisplayDPI()
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidvideo.c50 int Android_GetDisplayDPI(_THIS, SDL_VideoDisplay *display, float *ddpi, float *hdpi, float *vdpi);
224 Android_GetDisplayDPI(_THIS, SDL_VideoDisplay *display, float *ddpi, float *hdpi, float *vdpi) in Android_GetDisplayDPI() argument
226 return Android_JNI_GetDisplayDPI(ddpi, hdpi, vdpi); in Android_GetDisplayDPI()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmodes.c260 float hdpi = 0, vdpi = 0, ddpi = 0; in WIN_GetDisplayDPI() local
268 vdpi = (float)hdpi_uint; in WIN_GetDisplayDPI()
297 vdpi = (float)vdpi_int; in WIN_GetDisplayDPI()
308 *vdpi_out = vdpi; in WIN_GetDisplayDPI()
A DSDL_windowsmodes.h40 …int WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoamodes.h40 …t Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hpdi, float * vdpi);
A DSDL_cocoamodes.m445 Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi)
475 if (vdpi) {
476 *vdpi = (pixelHeight * MM_IN_INCH / displaySize.height) * scaleFactor;
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitmodes.h47 …t UIKit_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
A DSDL_uikitmodes.m387 UIKit_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi)
399 if (vdpi) {
400 *vdpi = dpi;
/AliOS-Things-master/components/SDL2/include/
A DSDL_video.h366 …DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_sysvideo.h193 …int (*GetDisplayDPI) (_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
A DSDL_video.c744 SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi) in SDL_GetDisplayDPI() argument
753 if (_this->GetDisplayDPI(_this, display, ddpi, hdpi, vdpi) == 0) { in SDL_GetDisplayDPI()
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c902 float vdpi = 0; in SDLTest_CommonInit() local
921 SDL_GetDisplayDPI(i, NULL, &hdpi, &vdpi); in SDLTest_CommonInit()
925 SDL_Log("DPI: %fx%f\n", hdpi, vdpi); in SDLTest_CommonInit()

Completed in 26 milliseconds