Home
last modified time | relevance | path

Searched refs:scale1 (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
DSDL_sysjoystick.c80 float scale1; /* Center to left/up Scale */ member
352 joystick->hwdata->transaxes[i].scale1 = (float)abs((AXIS_MIN/SYS_JoyData[index].axes_min[i])); in SDL_SYS_JoystickOpen()
359 joystick->hwdata->transaxes[i].scale1 = 1.0; /* Just in case */ in SDL_SYS_JoystickOpen()
436 value*=transaxes[i].scale1; in SDL_SYS_JoystickUpdate()
/external/skia/src/core/
DSkDraw.cpp2149 int scale1 = ScalarTo256(src.fX); in shadeSpan() local
2151 int scale0 = 256 - scale1 - scale2; in shadeSpan()
2153 if (scale1 > scale2) { in shadeSpan()
2154 scale2 = 256 - scale1; in shadeSpan()
2156 scale1 = 256 - scale2; in shadeSpan()
2162 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()