/external/chromium_org/third_party/skia/src/animator/ |
SkDrawColor.cpp | 26 SkScalar green = SkIntToScalar(SkColorGetG(color)); local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 42 hue = SkScalarMul(green - blue, part60); 46 else if (green == value) 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 66 SkScalar green SK_INIT_TO_AVOID_WARNING; 69 red = green = blue = value; 79 case 0: red = value; green = t; blue = p; break; 80 case 1: red = q; green = value; blue = p; break [all...] |
/external/skia/src/animator/ |
SkDrawColor.cpp | 26 SkScalar green = SkIntToScalar(SkColorGetG(color)); local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 42 hue = SkScalarMul(green - blue, part60); 46 else if (green == value) 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 66 SkScalar green SK_INIT_TO_AVOID_WARNING; 69 red = green = blue = value; 79 case 0: red = value; green = t; blue = p; break; 80 case 1: red = q; green = value; blue = p; break [all...] |
/external/skia/gm/ |
thinrects.cpp | 34 SkPaint green; variable 35 green.setColor(SK_ColorGREEN); 36 green.setAntiAlias(true); 44 DrawVertRects(canvas, green); 52 DrawHorizRects(canvas, green); 61 DrawSquares(canvas, green);
|
/external/libpng/contrib/gregbook/ |
readpng.c | 154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) 172 * takes a pointer to a pointer, and it always returns valid red, green 183 *green = pBackground->green >> 8; 187 *red = *green = *blue = pBackground->gray? 255 : 0; 189 *red = *green = *blue = (255/3) * pBackground->gray; 191 *red = *green = *blue = (255/15) * pBackground->gray; 194 *green = (uch)pBackground->green;
|
/external/pixman/pixman/ |
pixman-solid-fill.c | 35 (color->green & 0xff00) | 46 result.g = pixman_unorm_to_float (color->green, 16);
|
/hardware/samsung_slsi/exynos5/include/ |
s3c-fb.h | 30 unsigned char green; member in struct:s3c_fb_user_plane_alpha 37 unsigned char green; member in struct:s3c_fb_user_chroma
|
s3c_lcd.h | 32 unsigned char green; member in struct:s3cfb_user_plane_alpha 39 unsigned char green; member in struct:s3cfb_user_chroma
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
s3c-fb.h | 26 unsigned char green; member in struct:s3c_fb_user_plane_alpha 33 unsigned char green; member in struct:s3c_fb_user_chroma
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
RGBColor.h | 42 PassRefPtr<CSSPrimitiveValue> green();
|
/external/chromium_org/ui/gfx/ |
skia_utils_gtk.cc | 19 return SkColorSetRGB(color.red >> 8, color.green >> 8, color.blue >> 8);
|
/external/clang/test/CodeGenCXX/ |
2007-04-10-PackedUnion.cpp | 9 float green; member in struct:ABCS
|
/external/eigen/blas/testing/ |
runblastest.sh | 5 green='\E[32m' 44 echo -e $green Test $1 passed$black
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ArgbEvaluatorTest.java | 29 int gRED = Color.green(RED); 33 int gBLUE = Color.green(BLUE); 50 int gResult = Color.green(result);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
blend.h | 76 _mesa_BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 91 _mesa_ColorMask( GLboolean red, GLboolean green, 95 _mesa_ColorMaskIndexed( GLuint buf, GLboolean red, GLboolean green,
|
/external/mesa3d/src/mesa/main/ |
blend.h | 76 _mesa_BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 91 _mesa_ColorMask( GLboolean red, GLboolean green, 95 _mesa_ColorMaskIndexed( GLuint buf, GLboolean red, GLboolean green,
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
TGALoader.java | 184 entry.green = (byte)(int)(getBitsAsByte(cMapData, offset+bitsPerColor, bitsPerColor) * scalar); 212 byte green = 0; 251 // green = dis.readByte(); 254 // rawData[rawDataIndex++] = green; 266 green = dis.readByte(); 270 rawData[rawDataIndex++] = green; 281 byte green = 0; 300 green = dis.readByte(); 305 rawData[rawDataIndex++] = green; 314 green = dis.readByte() 510 byte red, green, blue, alpha; field in class:TGALoader.ColorMapEntry [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
skia_utils_gtk2.cc | 24 return SkColorSetRGB(color.red >> 8, color.green >> 8, color.blue >> 8); 63 const unsigned char& green = gdk_pixels[1]; local 67 skia_data[i] = SkPreMultiplyARGB(alpha, red, green, blue); 80 const unsigned char& green = pixel[1]; local 83 skia_data[y * w + x] = SkPreMultiplyARGB(255, red, green, blue);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorClouds.java | 98 texres.green = colorBand[colorbandIndex][1]; 103 data[index++] = (byte) (texres.green * 255.0f); 108 texres.green = NoiseGenerator.NoiseFunctions.turbulence(texvec[1], texvec[0], texvec[2], noisesize, noiseDepth, noiseBasis, isHard); 111 texres.green = FastMath.clamp(texres.green, 0.0f, 1.0f); 116 data[index++] = (byte) (texres.green * 255.0f);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelXorXfermodeTest.java | 42 p.setXfermode(new PixelXorXfermode(Color.GREEN)); 45 // white ^ green ^ cyan = yellow 47 // black ^ green ^ cyan = blue 51 p.setXfermode(new PixelXorXfermode(alphaColor(Color.GREEN, 25))); 61 int green = Color.green(color); local 63 return Color.argb(alpha, red, green, blue);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFEComponentTransferElement.cpp | 86 ComponentTransferFunction green; local 94 green = toSVGFEFuncGElement(node)->transferFunction(); 101 RefPtr<FilterEffect> effect = FEComponentTransfer::create(filter, red, green, blue, alpha);
|
/external/clang/test/Sema/ |
attr-deprecated-message.c | 18 typedef enum {red, green, blue} Color __attribute__((deprecated("Please avoid Color"))); // expected-note {{'Color' declared here}} enumerator in enum:__anon16857
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Description.h | 66 void setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
/external/chromium_org/third_party/libpng/ |
pngrtran.c | 500 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); 677 double green) 683 green > 21474.83647 || green < -21474.83648) 692 green_fixed = (int)((float)green*100000.0 + 0.5); 700 png_fixed_point red, png_fixed_point green) 729 if (red < 0 || green < 0) 734 else if (red + green < 100000L) 737 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); 815 png_ptr->background.red == png_ptr->background.green & 2360 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2380 png_byte green = *(sp++); local 2403 png_uint_16 red, green, blue, w; local 2438 png_uint_16 red, green, blue, gray16; local 2465 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2482 png_byte green = *(sp++); local 2501 png_uint_16 red, green, blue, w; local 2538 png_uint_16 red, green, blue, gray16; local 3993 png_byte green = trans_value->green & 0xff; local [all...] |
/external/libpng/ |
pngrtran.c | 500 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); 677 double green) 683 green > 21474.83647 || green < -21474.83648) 692 green_fixed = (int)((float)green*100000.0 + 0.5); 700 png_fixed_point red, png_fixed_point green) 729 if (red < 0 || green < 0) 734 else if (red + green < 100000L) 737 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); 815 png_ptr->background.red == png_ptr->background.green & 2360 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2380 png_byte green = *(sp++); local 2403 png_uint_16 red, green, blue, w; local 2438 png_uint_16 red, green, blue, gray16; local 2465 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2482 png_byte green = *(sp++); local 2501 png_uint_16 red, green, blue, w; local 2538 png_uint_16 red, green, blue, gray16; local 3993 png_byte green = trans_value->green & 0xff; local [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngrtran.c | 476 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); 644 double green) 647 int green_fixed = (int)((float)green*100000.0 + 0.5); 655 png_fixed_point red, png_fixed_point green) 678 if(red < 0 || green < 0) 683 else if(red + green < 100000L) 686 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); 757 png_ptr->background.red == png_ptr->background.green && 775 png_ptr->background.red = png_ptr->background.green 780 png_ptr->trans_values.red = png_ptr->trans_values.green 2255 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2275 png_byte green = *(sp++); local 2298 png_uint_16 red, green, blue, w; local 2332 png_uint_16 red, green, blue, gray16; local 2359 png_byte green = png_ptr->gamma_to_1[*(sp++)]; local 2376 png_byte green = *(sp++); local 2395 png_uint_16 red, green, blue, w; local 2431 png_uint_16 red, green, blue, gray16; local 3853 png_byte green = trans_value->green & 0xff; local [all...] |