Home
last modified time | relevance | path

Searched refs:SDL_max (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_xinputjoystick.c265 … SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY))); in UpdateXInputJoystickState_OLD()
267 … SDL_PrivateJoystickAxis(joystick, 3, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbRY))); in UpdateXInputJoystickState_OLD()
292 … SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY))); in UpdateXInputJoystickState()
295 … SDL_PrivateJoystickAxis(joystick, 4, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbRY))); in UpdateXInputJoystickState()
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandwindow.c62 width = SDL_max(width, window->min_w); in handle_configure()
67 height = SDL_max(height, window->min_h); in handle_configure()
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_render_sw.c521 final_rects[i].w = SDL_max((int)rects[i].w, 1); in SW_RenderFillRects()
522 final_rects[i].h = SDL_max((int)rects[i].h, 1); in SW_RenderFillRects()
528 final_rects[i].w = SDL_max((int)rects[i].w, 1); in SW_RenderFillRects()
529 final_rects[i].h = SDL_max((int)rects[i].h, 1); in SW_RenderFillRects()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/iphoneos/
DSDL_sysjoystick.m442 accel.x = SDL_min(SDL_max(accel.x, -maxgforce), maxgforce);
443 accel.y = SDL_min(SDL_max(accel.y, -maxgforce), maxgforce);
444 accel.z = SDL_min(SDL_max(accel.z, -maxgforce), maxgforce);
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestgesture.c89 for(t=0;t<1;t+=(float)(1.f/SDL_max(SDL_fabs(x0-x1),SDL_fabs(y0-y1)))) in drawLine()
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_render.c176 event->motion.xrel = SDL_max(1, (int)(event->motion.xrel / renderer->scale.x)); in SDL_RendererEventWatch()
181 event->motion.yrel = SDL_max(1, (int)(event->motion.yrel / renderer->scale.y)); in SDL_RendererEventWatch()
1520 int maxY = SDL_max(points[i].y, points[i+1].y); in RenderDrawLinesWithRects()
1529 int maxX = SDL_max(points[i].x, points[i+1].x); in RenderDrawLinesWithRects()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_egl.c454 attribs[attr++] = SDL_max(major_version, 1); in SDL_EGL_CreateContext()
DSDL_video.c1940 … SDL_SetWindowSize(window, SDL_max(window->w, window->min_w), SDL_max(window->h, window->min_h)); in SDL_SetWindowMinimumSize()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_stdinc.h350 #define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) macro
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c409 clicks = SDL_max(clicks, 0);
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowskeyboard.c1453 maxcandsize.cx = SDL_max(maxcandsize.cx, candsizes[i].cx); in IME_RenderCandidateList()
1454 maxcandsize.cy = SDL_max(maxcandsize.cy, candsizes[i].cy); in IME_RenderCandidateList()