/frameworks/native/services/surfaceflinger/RenderEngine/ |
RenderEngine.h | 64 void clearWithColor(float red, float green, float blue, float alpha); 66 float red, float green, float blue, float alpha);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; 62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; 72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; 114 int green = (int) ((1d - delta) * Color.green(colors[i1]) + local 115 delta * Color.green(colors[i2])); 118 color = Color.argb(alpha, red, green, blue); 126 assertEquals(Color.green(color), Color.green(pixel), tolerance) [all...] |
ComposeShaderTest.java | 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 58 int green = (int)((greenX + greenY - greenX * greenY) * 255); local 63 assertEquals(green, Color.green(pixel), TOLERANCE); 75 greenBitmap.eraseColor(Color.GREEN); 92 // white ^ green ^ cyan = yellow
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
pngshim.c | 73 unsigned int green = base[1]; local 80 green = multiply_alpha( alpha, green ); 85 base[1] = green; 108 unsigned int green = base[1]; local 113 base[1] = green;
|
/external/freetype/src/sfnt/ |
pngshim.c | 73 unsigned int green = base[1]; local 80 green = multiply_alpha( alpha, green ); 85 base[1] = green; 108 unsigned int green = base[1]; local 113 base[1] = green;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorVoronoi.java | 111 texres.green = colorBand[colorbandIndex][1]; 115 texres.red = texres.green = texres.blue = 0.0f; 121 texres.green += weight * hashPoint[1]; 135 texres.green *= t1; 139 texres.green *= sc; 147 data[index++] = (byte) (texres.green * 255.0f);
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngrtran.c | 726 int g = (palette[i].green >> (8 - PNG_QUANTIZE_GREEN_BITS)); 930 png_fixed_point red, png_fixed_point green) 967 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) 977 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); 986 if (red >= 0 && green >= 0) 3261 png_byte green = *(sp++); local 3300 png_byte green = *(sp++); local 3332 png_uint_16 red, green, blue, w; local 3383 png_uint_16 red, green, blue, gray16; local 4802 png_byte green = (png_byte)(trans_color->green & 0xff); local [all...] |
/device/samsung/manta/liblights/ |
lights.c | 100 int green = (color >> 8) & 0x000000ff; local 104 if (green > brightness) 105 brightness = green; 137 unsigned int green; local 142 green = (color >> 8) & 0x000000ff; 146 if (green < white) 147 white = green;
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_vb.c | 104 dst->color[1] = src->tv.color.green; 130 dst->color[1] = src->v.color.green; 135 dst->attrib[FRAG_ATTRIB_COL1][1] = UBYTE_TO_FLOAT(src->v.specular.green); 208 v->tv.color.green, 218 v->v.color.green, 222 v->v.specular.green, 232 v->v.color.green, 244 v->v.color.green, 258 v->v.color.green,
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_vb.c | 104 dst->color[1] = src->tv.color.green; 130 dst->color[1] = src->v.color.green; 135 dst->attrib[FRAG_ATTRIB_COL1][1] = UBYTE_TO_FLOAT(src->v.specular.green); 208 v->tv.color.green, 218 v->v.color.green, 222 v->v.specular.green, 232 v->v.color.green, 244 v->v.color.green, 258 v->v.color.green,
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxvideo.c | 488 Uint16 * red, * green, * blue ; local 506 green = ramp + CI_SIZE ; 507 blue = green + CI_SIZE ; 511 GammaRamp_G [i] = green [i] ; 523 Uint16 * red, * green, * blue ; local 529 green = ramp + CI_SIZE ; 530 blue = green + CI_SIZE ; 534 green [i] = GammaRamp_G [i] ; 539 red [i] = green [i] = blue [i] = i ;
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
ImagePixelization.java | 169 int pixel = 0, red = 0, green = 0, blue = 0, numPixels = 0; local 181 numPixels = red = green = blue = 0; 190 green += Color.green(pixel); 196 pixel = Color.rgb(red / numPixels, green / numPixels, blue / numPixels);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Color.h | 102 int green() const { return greenChannel(m_color); } function in class:WebCore::Color 162 blend(premultFrom.green(), premultTo.green(), progress), 170 blend(from.green(), to.green(), progress),
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
raytrace.js | 81 green : 0.0, 90 this.green = g; 98 result.green = c1.green + c2.green; 108 result.green = c1.green + s; 120 result.green = c1.green - c2.green; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 76 green : 0.0, 85 this.green = g; 93 result.green = c1.green + c2.green; 103 result.green = c1.green + s; 115 result.green = c1.green - c2.green; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-raytrace.js | 76 green : 0.0, 85 this.green = g; 93 result.green = c1.green + c2.green; 103 result.green = c1.green + s; 115 result.green = c1.green - c2.green; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-raytrace.js | 76 green : 0.0, 85 this.green = g; 93 result.green = c1.green + c2.green; 103 result.green = c1.green + s; 115 result.green = c1.green - c2.green; [all...] |
/external/chromium_org/v8/benchmarks/ |
raytrace.js | 81 green : 0.0, 90 this.green = g; 98 result.green = c1.green + c2.green; 108 result.green = c1.green + s; 120 result.green = c1.green - c2.green; [all...] |
/external/v8/benchmarks/ |
raytrace.js | 81 green : 0.0, 90 this.green = g; 98 result.green = c1.green + c2.green; 108 result.green = c1.green + s; 120 result.green = c1.green - c2.green; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 94 private static final int GREEN = 0xff80ff80; 134 int green = (int)(100 + Math.random() * 155); local 136 int color = 0xff000000 | red << 16 | green << 8 | blue; 138 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
CustomEvaluator.java | 149 int green = (int)(Math.random() * 255); local 151 int color = 0xff000000 | red << 16 | green << 8 | blue; 153 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
ReversingAnimation.java | 110 int green = (int)(Math.random() * 255); local 112 int color = 0xff000000 | red << 16 | green << 8 | blue; 114 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4;
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
PaletteTexture.cpp | 23 Color(unsigned char r, unsigned char g,unsigned char b, unsigned char a):red(r),green(g),blue(b),alpha(a){}; 25 unsigned char green; member in struct:Color 162 pixelsOut[indexOut+1] = c.green;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 47 unsigned char green; member in struct:stw_pf_color_info::__anon13066 53 unsigned char green; member in struct:stw_pf_color_info::__anon13067 137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 168 pfi->pfd.cGreenBits = color->bits.green; 169 pfi->pfd.cGreenShift = color->shift.green;
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 47 unsigned char green; member in struct:stw_pf_color_info::__anon23533 53 unsigned char green; member in struct:stw_pf_color_info::__anon23534 137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 168 pfi->pfd.cGreenBits = color->bits.green; 169 pfi->pfd.cGreenShift = color->shift.green;
|