Searched refs:color1 (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_filter.h85 SkPMColor color1,
96 lo += (color1 & mask) * scale;
97 hi += ((color1 >> 8) & mask) * scale;
105 SkPMColor color1,
118 lo += (color1 & mask) * scale;
119 hi += ((color1 >> 8) & mask) * scale;
83 Filter_32_opaque(unsigned t, SkPMColor color0, SkPMColor color1, SkPMColor* dstColor) argument
103 Filter_32_alpha(unsigned t, SkPMColor color0, SkPMColor color1, SkPMColor* dstColor, unsigned alphaScale) argument
/external/skia/src/core/
H A DSkBitmapProcState_filter.h85 SkPMColor color1,
96 lo += (color1 & mask) * scale;
97 hi += ((color1 >> 8) & mask) * scale;
105 SkPMColor color1,
118 lo += (color1 & mask) * scale;
119 hi += ((color1 >> 8) & mask) * scale;
83 Filter_32_opaque(unsigned t, SkPMColor color0, SkPMColor color1, SkPMColor* dstColor) argument
103 Filter_32_alpha(unsigned t, SkPMColor color0, SkPMColor color1, SkPMColor* dstColor, unsigned alphaScale) argument
/external/chromium_org/ui/views/
H A Dbackground.cc101 Background* Background::CreateVerticalGradientBackground(SkColor color1, argument
104 true, Painter::CreateVerticalGradient(color1, color2));
106 color_utils::AlphaBlend(color1, color2, 128));
H A Dbackground.h58 // from |color1| to |color2|
59 static Background* CreateVerticalGradientBackground(SkColor color1,
/external/chromium_org/ui/gfx/image/
H A Dimage_unittest_util.cc38 bool ColorsClose(SkColor color1, SkColor color2) { argument
40 return ColorComponentsClose(SkColorGetR(color1), SkColorGetR(color2)) &&
41 ColorComponentsClose(SkColorGetG(color1), SkColorGetG(color2)) &&
42 ColorComponentsClose(SkColorGetB(color1), SkColorGetB(color2)) &&
43 ColorComponentsClose(SkColorGetA(color1), SkColorGetA(color2));
238 void CheckColors(SkColor color1, SkColor color2) { argument
239 EXPECT_TRUE(ColorsClose(color1, color2));
H A Dimage_unittest_util.h77 void CheckColors(SkColor color1, SkColor color2);
/external/deqp/modules/glshared/
H A DglsFragmentOpUtil.hpp53 tcu::Vec4 color1[4]; member in struct:deqp::gls::FragmentOpUtil::Quad
93 tcu::Vec4 color1[4]; member in struct:deqp::gls::FragmentOpUtil::IntegerQuad
H A DglsFragmentOpUtil.cpp190 DE_STATIC_ASSERT(sizeof(quad.color1) == sizeof(float)*4*4);
198 vertexArrays.push_back(glu::va::Float(m_color1Loc, 4, 4, 0, (const float*)&quad.color1[0]));
254 tcu::Vec4 color1 = triQuadInterpolate(quad.color1, xRatio, yRatio); local
267 m_fragmentBuffer[m_fragmentBufferSize] = rr::Fragment(tcu::IVec2(x, y), rr::GenericVec4(color), rr::GenericVec4(color1), 1u /* coverage mask */, &m_fragmentDepths[m_fragmentBufferSize]);
H A DglsTextureBufferCase.cpp239 const tcu::Vec4 color1 = vtxColor1; local
244 rr::writeFragmentOutput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * color1.w(), color1.z() * color1.w(), 1.0f));
286 const tcu::Vec4 color1 = 0.5f * (vtxColor1 + texColor1); local
291 rr::writeFragmentOutput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1
[all...]
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_ap.h36 CPVT_Color(FX_INT32 type = 0, FX_FLOAT color1 = 0.0f, FX_FLOAT color2 = 0.0f, FX_FLOAT color3 = 0.0f, FX_FLOAT color4 = 0.0f)
37 : nColorType(type), fColor1(color1), fColor2(color2), fColor3(color3), fColor4(color4)
/external/pdfium/fpdfsdk/src/javascript/
H A Dcolor.cpp242 CPWL_Color color1;
245 ConvertArrayToPWLColor(array1, color1);
248 color1.ConvertColorType(color2.nColorType);
250 vRet = color1 == color2;
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dplanarfunctions_unittest.cc205 int color1 = ((i / block_size) + (j / block_size)) % local
209 current_yuv_pointer[0] = testing_color_y_[color1];
212 (static_cast<uint32>(testing_color_u_[color1]) +
216 (static_cast<uint32>(testing_color_v_[color1]) +
219 current_yuv_pointer[1] = testing_color_u_[color1];
221 current_yuv_pointer[3] = testing_color_v_[color1];
230 int color1 = ((i / block_size) + (j / block_size)) % local
236 (static_cast<uint32>(testing_color_u_[color1]) +
238 current_yuv_pointer[1] = testing_color_y_[color1];
240 (static_cast<uint32>(testing_color_v_[color1])
284 int color1 = ((i / block_size) + (j / block_size)) % local
[all...]
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusBrush.h461 IN const Color& color1,
468 color1.GetValue(),
478 IN const Color& color1,
485 color1.GetValue(),
494 IN const Color& color1,
501 color1.GetValue(),
511 IN const Color& color1,
518 color1.GetValue(),
528 IN const Color& color1,
536 color1
459 LinearGradientBrush(IN const PointF& point1, IN const PointF& point2, IN const Color& color1, IN const Color& color2) argument
476 LinearGradientBrush(IN const Point& point1, IN const Point& point2, IN const Color& color1, IN const Color& color2) argument
493 LinearGradientBrush(IN const RectF& rect, IN const Color& color1, IN const Color& color2, IN LinearGradientMode mode) argument
510 LinearGradientBrush(IN const Rect& rect, IN const Color& color1, IN const Color& color2, IN LinearGradientMode mode) argument
527 LinearGradientBrush(IN const RectF& rect, IN const Color& color1, IN const Color& color2, IN REAL angle, IN BOOL isAngleScalable = FALSE) argument
546 LinearGradientBrush(IN const Rect& rect, IN const Color& color1, IN const Color& color2, IN REAL angle, IN BOOL isAngleScalable = FALSE) argument
594 SetLinearColors(IN const Color& color1, IN const Color& color2) argument
[all...]
/external/kernel-headers/original/uapi/linux/dvb/
H A Dvideo.h169 __u8 color1; /* 7- 4 Pattern pixel color */ member in struct:video_highlight
/external/chromium_org/third_party/skia/samplecode/
H A DSampleVertices.cpp32 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); local
38 pixels[1] = pixels[3] = color1;
/external/skia/gm/
H A Dimagefiltersgraph.cpp199 SkAutoTUnref<SkImageFilter> color1(SkColorFilterImageFilter::Create(cf1, NULL, &outerRect));
200 SkAutoTUnref<SkImageFilter> color2(SkColorFilterImageFilter::Create(cf2, color1, &innerRect));
/external/skia/samplecode/
H A DSampleVertices.cpp32 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); local
38 pixels[1] = pixels[3] = color1;
/external/chromium_org/skia/ext/
H A Dimage_operations_unittest.cc157 // The colors alternate between color1 and color2, color1 being used
160 SkColor color1, SkColor color2,
165 ASSERT_NE(color1, color2);
177 *bmp->getAddr32(x, y) = (use_color2 ? color2 : color1);
373 const SkColor color1 = SK_ColorRED, color2 = SK_ColorBLUE;
375 DrawCheckerToBitmap(src_w, src_h, color1, color2, rect_w, rect_h, &src);
159 DrawCheckerToBitmap(int w, int h, SkColor color1, SkColor color2, int rect_w, int rect_h, SkBitmap* bmp) argument
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
H A DTimelineUIUtils.js323 * @param {string} color1
327 WebInspector.TimelineUIUtils.createFillStyle = function(context, width, height, color0, color1, color2)
331 gradient.addColorStop(0.25, color1);
332 gradient.addColorStop(0.75, color1);
/external/clang/test/CodeGenCXX/
H A Dmangle-ms.cpp183 RGB color1; variable
184 // CHECK-DAG: @"\01?color1@@3PANA"
/external/pixman/test/
H A Dutils.h130 uint32_t color1, uint32_t color2);
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_mouse.c81 cursor->ph_cursor->color1 = Pg_WHITE;
/external/chromium_org/third_party/skia/gm/
H A Dimagefiltersgraph.cpp221 SkAutoTUnref<SkImageFilter> color1(SkColorFilterImageFilter::Create(cf1, NULL, &outerRect));
222 SkAutoTUnref<SkImageFilter> color2(SkColorFilterImageFilter::Create(cf2, color1, &innerRect));
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_unittest.cc1086 SkColor color1, SkColor color2,
1091 ASSERT_NE(color1, color2);
1102 *bmp.getAddr32(x, y) = (use_color2 ? color2 : color1);
1104 *bmp.getAddr16(x, y) = (use_color2 ? color2 : color1);
1130 bool ColorsClose(SkColor color1, SkColor color2, SkColorType color_type) { argument
1131 bool red = ColorComponentsClose(SkColorGetR(color1),
1133 bool green = ColorComponentsClose(SkColorGetG(color1),
1135 bool blue = ColorComponentsClose(SkColorGetB(color1),
1137 bool alpha = ColorComponentsClose(SkColorGetA(color1),
1264 const SkColor color1 local
1085 DrawCheckerToBitmap(int w, int h, SkColor color1, SkColor color2, int rect_w, int rect_h, SkBitmap& bmp) argument
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A 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) { argument
392 *pixel = color1;

Completed in 1289 milliseconds

12