Home
last modified time | relevance | path

Searched refs:color2 (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/ui/gfx/image/
Dimage_unittest_util.cc41 bool ColorsClose(SkColor color1, SkColor color2) { in ColorsClose() argument
43 return ColorComponentsClose(SkColorGetR(color1), SkColorGetR(color2)) && in ColorsClose()
44 ColorComponentsClose(SkColorGetG(color1), SkColorGetG(color2)) && in ColorsClose()
45 ColorComponentsClose(SkColorGetB(color1), SkColorGetB(color2)) && in ColorsClose()
46 ColorComponentsClose(SkColorGetA(color1), SkColorGetA(color2)); in ColorsClose()
258 void CheckColors(SkColor color1, SkColor color2) { in CheckColors() argument
259 EXPECT_TRUE(ColorsClose(color1, color2)); in CheckColors()
Dimage_unittest_util.h79 void CheckColors(SkColor color1, SkColor color2);
/external/chromium_org/ui/views/
Dbackground.cc107 SkColor color2) { in CreateVerticalGradientBackground() argument
109 true, Painter::CreateVerticalGradient(color1, color2)); in CreateVerticalGradientBackground()
111 color_utils::AlphaBlend(color1, color2, 128)); in CreateVerticalGradientBackground()
Dbackground.h60 SkColor color2);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/shaders/
DClear11.hlsl13 float4 color2 : SV_TARGET2;
26 outColor.color2 = inColor;
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java178 int color2 = 0; in convertColor() local
179 color2 |= ((int) (255.0 * color.getAlpha())) << 24; in convertColor()
180 color2 |= ((int) (255.0 * color.getBlue())) << 16; in convertColor()
181 color2 |= ((int) (255.0 * color.getGreen())) << 8; in convertColor()
182 color2 |= ((int) (255.0 * color.getRed())); in convertColor()
183 return color2; in convertColor()
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
DWater.frag127 vec3 color2 = texture2D(m_Texture, texCoord).rgb;
159 vec3 refraction = color2;
211 color=mix(color2,caustics,m_CausticsIntensity);
213 color=color2;
230 vec3 color2 = texture2D(m_Texture, texCoord).rgb;
231 vec3 color = color2;
246 gl_FragColor = vec4(color2, 1.0);
323 // gl_FragColor = vec4(color2 + normal*0.0001, 1.0);
330 vec3 refraction = color2;
397 color = color2;
DWater15.frag123 vec3 color2 = fetchTextureSample(m_Texture, texCoord, sampleNum).rgb;
155 vec3 refraction = color2;
213 color=mix(color2,caustics,m_CausticsIntensity);
215 color=color2;
236 vec3 color2 = fetchTextureSample(m_Texture, texCoord, sampleNum).rgb;
238 vec3 color = color2;
248 return vec4(color2, 1.0);
322 // gl_FragColor = vec4(color2 + normal*0.0001, 1.0);
329 vec3 refraction = color2;
406 return vec4(mix(color, color2, step(level, position.y)), 1.0);
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
Dvoronoi.cc127 void RenderDot(float x, float y, uint32_t color1, uint32_t color2);
381 void Voronoi::RenderDot(float x, float y, uint32_t color1, uint32_t color2) { in RenderDot() argument
393 *(pixel - 1) = color2; in RenderDot()
394 *(pixel + 1) = color2; in RenderDot()
395 *(pixel - stride_in_pixels) = color2; in RenderDot()
396 *(pixel + stride_in_pixels) = color2; in RenderDot()
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
Dvoronoi.cc121 void RenderDot(float x, float y, uint32_t color1, uint32_t color2);
378 void Voronoi::RenderDot(float x, float y, uint32_t color1, uint32_t color2) { in RenderDot() argument
390 *(pixel - 1) = color2; in RenderDot()
391 *(pixel + 1) = color2; in RenderDot()
392 *(pixel - stride_in_pixels) = color2; in RenderDot()
393 *(pixel + stride_in_pixels) = color2; in RenderDot()
/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc162 SkColor color1, SkColor color2, in DrawCheckerToBitmap() argument
167 ASSERT_NE(color1, color2); in DrawCheckerToBitmap()
180 *bmp->getAddr32(x, y) = (use_color2 ? color2 : color1); in DrawCheckerToBitmap()
376 const SkColor color1 = SK_ColorRED, color2 = SK_ColorBLUE;
378 DrawCheckerToBitmap(src_w, src_h, color1, color2, rect_w, rect_h, &src);
/external/clang/test/CodeGenCXX/
Dmangle-ms.cpp179 extern const RGB color2 = {};
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_mouse.c87 cursor->ph_cursor->color2 = Pg_BLACK; in ph_CreateWMCursor()
/external/pixman/test/
Dutils.h130 uint32_t color1, uint32_t color2);
Dutils.c568 uint32_t color1, uint32_t color2) in draw_checkerboard() argument
576 color8_to_color16 (color2, &check2); in draw_checkerboard()
/external/chromium_org/cc/output/
Dshader.cc1528 vec4 color2 = color; in GetShaderString()
1533 gl_FragColor = mix(color1, color2, picker) * alpha; in GetShaderString()