Home
last modified time | relevance | path

Searched refs:scale2 (Results 1 – 3 of 3) sorted by relevance

/external/qemu/android/skin/
Dargb.h213 #define ARGB_RESCALE(x,scale2) ARGB_MULSHIFT(x,x,scale2,ARGB_RESCALE_SHIFT) argument
233 ARGB_DECL_SCALE(scale2, op->scale); in ARGB_SCALE_GENERIC()
291 ARGB_RESCALE(pix,scale2); in ARGB_SCALE_GENERIC()
327 ARGB_DECL_SCALE(scale2, op->scale); in scale_05_to_10()
435 ARGB_RESCALE(pix,scale2); in scale_05_to_10()
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
DSDL_sysjoystick.c81 float scale2; /* Center to right/down Scale */ member
353 joystick->hwdata->transaxes[i].scale2 = (float)abs((AXIS_MAX/SYS_JoyData[index].axes_max[i])); in SDL_SYS_JoystickOpen()
360 joystick->hwdata->transaxes[i].scale2 = 1.0; /* Just in case */ in SDL_SYS_JoystickOpen()
441 value*=transaxes[i].scale2; in SDL_SYS_JoystickUpdate()
/external/skia/src/core/
DSkDraw.cpp2150 int scale2 = ScalarTo256(src.fY); 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()
2163 SkAlphaMulQ(fColors[2], scale2); in shadeSpan()