/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);
|
/packages/apps/Gallery2/jni/filters/ |
vibrance.c | 38 int r = destination[RED]; 41 float red = (r-MAX(g, b))/256.f; local 42 float sx = (float)(Vib/(1+exp(-red*3))); 57 destination[RED] = CLAMP(Rc);
|
/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 }; 112 int red = (int) ((1d - delta) * Color.red(colors[i1]) + local 113 delta * Color.red(colors[i2])); 118 color = Color.argb(alpha, red, green, blue); 125 assertEquals(Color.red(color), Color.red(pixel), tolerance);
|
BlurMaskFilterTest.java | 41 paint.setColor(Color.RED); 53 checkQuadrants(Color.RED, b, x, y, 5); 56 checkQuadrants(Color.RED, b, x, y, 255); 77 assertEquals(Color.red(expected), Color.red(actual));
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
pngshim.c | 72 unsigned int red = base[0]; local 79 red = multiply_alpha( alpha, red ); 86 base[2] = red; 107 unsigned int red = base[0]; local 114 base[2] = red;
|
/external/freetype/src/sfnt/ |
pngshim.c | 72 unsigned int red = base[0]; local 79 red = multiply_alpha( alpha, red ); 86 base[2] = red; 107 unsigned int red = base[0]; local 114 base[2] = red;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorVoronoi.java | 110 texres.red = colorBand[colorbandIndex][0]; 115 texres.red = texres.green = texres.blue = 0.0f; 120 texres.red += weight * hashPoint[0]; 134 texres.red *= t1; 138 texres.red *= sc; 146 data[index++] = (byte) (texres.red * 255.0f);
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_vb.c | 103 dst->color[0] = src->tv.color.red; 129 dst->color[0] = src->v.color.red; 134 dst->attrib[FRAG_ATTRIB_COL1][0] = UBYTE_TO_FLOAT(src->v.specular.red); 207 v->tv.color.red, 217 v->v.color.red, 221 v->v.specular.red, 231 v->v.color.red, 243 v->v.color.red, 257 v->v.color.red,
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_vb.c | 103 dst->color[0] = src->tv.color.red; 129 dst->color[0] = src->v.color.red; 134 dst->attrib[FRAG_ATTRIB_COL1][0] = UBYTE_TO_FLOAT(src->v.specular.red); 207 v->tv.color.red, 217 v->v.color.red, 221 v->v.specular.red, 231 v->v.color.red, 243 v->v.color.red, 257 v->v.color.red,
|
/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; 189 red += Color.red(pixel); 196 pixel = Color.rgb(red / numPixels, green / numPixels, blue / numPixels);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Color.h | 101 int red() const { return redChannel(m_color); } function in class:WebCore::Color 161 Color premultBlended(blend(premultFrom.red(), premultTo.red(), progress), 169 return Color(blend(from.red(), to.red(), progress),
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
raytrace.js | 80 red : 0.0, 89 this.red = r; 97 result.red = c1.red + c2.red; 107 result.red = c1.red + s; 119 result.red = c1.red - c2.red; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 75 red : 0.0, 84 this.red = r; 92 result.red = c1.red + c2.red; 102 result.red = c1.red + s; 114 result.red = c1.red - c2.red; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-raytrace.js | 75 red : 0.0, 84 this.red = r; 92 result.red = c1.red + c2.red; 102 result.red = c1.red + s; 114 result.red = c1.red - c2.red; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-raytrace.js | 75 red : 0.0, 84 this.red = r; 92 result.red = c1.red + c2.red; 102 result.red = c1.red + s; 114 result.red = c1.red - c2.red; [all...] |
/external/chromium_org/v8/benchmarks/ |
raytrace.js | 80 red : 0.0, 89 this.red = r; 97 result.red = c1.red + c2.red; 107 result.red = c1.red + s; 119 result.red = c1.red - c2.red; [all...] |
/external/v8/benchmarks/ |
raytrace.js | 80 red : 0.0, 89 this.red = r; 97 result.red = c1.red + c2.red; 107 result.red = c1.red + s; 119 result.red = c1.red - c2.red; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 91 private static final int RED = 0xffFF8080; 133 int red = (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 | 148 int red = (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 | 109 int red = (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;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableColorTest.cpp | 45 Color red = AnimatableColorImpl(Color(0xFFFF0000)).toColor(); local 46 EXPECT_TRUE(red.isValid()); 47 EXPECT_EQ(red.rgb(), 0xFFFF0000);
|
/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){}; 24 unsigned char red; member in struct:Color 161 pixelsOut[indexOut] = c.red;
|
/external/bison/src/ |
state.c | 257 int red = state_reduction_find (s, r); local 260 if (reds->lookahead_tokens && red != -1) 266 BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0) 281 int red = state_reduction_find (s, r); local 284 if (reds->lookahead_tokens && red != -1) 289 BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0)
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 46 unsigned char red; member in struct:stw_pf_color_info::__anon13066 52 unsigned char red; member in struct:stw_pf_color_info::__anon13067 136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 166 pfi->pfd.cRedBits = color->bits.red; 167 pfi->pfd.cRedShift = color->shift.red;
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 46 unsigned char red; member in struct:stw_pf_color_info::__anon23533 52 unsigned char red; member in struct:stw_pf_color_info::__anon23534 136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 166 pfi->pfd.cRedBits = color->bits.red; 167 pfi->pfd.cRedShift = color->shift.red;
|