Searched refs:SDL_max (Results 1 – 11 of 11) sorted by relevance
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/ |
D | SDL_xinputjoystick.c | 265 … 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/ |
D | SDL_waylandwindow.c | 62 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/ |
D | SDL_render_sw.c | 521 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/ |
D | SDL_sysjoystick.m | 442 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/ |
D | testgesture.c | 89 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/ |
D | SDL_render.c | 176 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/ |
D | SDL_egl.c | 454 attribs[attr++] = SDL_max(major_version, 1); in SDL_EGL_CreateContext()
|
D | SDL_video.c | 1940 … 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/ |
D | SDL_stdinc.h | 350 #define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 409 clicks = SDL_max(clicks, 0);
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowskeyboard.c | 1453 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()
|