Home
last modified time | relevance | path

Searched refs:paintColor (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp261 SkColor paintColor) { in make_fallback_shader() argument
272 paintColor}; in make_fallback_shader()
303 p.setColor(paintColor); in make_fallback_shader()
316 static SkColor adjust_color(SkShader* shader, SkColor paintColor) { in adjust_color() argument
319 return paintColor; in adjust_color()
323 return paintColor & SK_ColorBLACK; in adjust_color()
330 SkColor paintColor) { in SkPDFMakeShader() argument
346 adjust_color(shader, paintColor)}; in SkPDFMakeShader()
DSkPDFShader.h44 SkColor paintColor);
/external/skqp/src/pdf/
DSkPDFShader.cpp261 SkColor paintColor) { in make_fallback_shader() argument
272 paintColor}; in make_fallback_shader()
303 p.setColor(paintColor); in make_fallback_shader()
316 static SkColor adjust_color(SkShader* shader, SkColor paintColor) { in adjust_color() argument
319 return paintColor; in adjust_color()
323 return paintColor & SK_ColorBLACK; in adjust_color()
330 SkColor paintColor) { in SkPDFMakeShader() argument
346 adjust_color(shader, paintColor)}; in SkPDFMakeShader()
DSkPDFShader.h44 SkColor paintColor);
/external/skia/tests/
DImageNewShaderTest.cpp28 SkPaint paintColor; in paint_source() local
29 paintColor.setColor(0xFFFF0000); in paint_source()
30 paintColor.setStyle(SkPaint::kFill_Style); in paint_source()
38 sourceCanvas->drawRect(rect, paintColor); in paint_source()
DHighContrastFilterTest.cpp39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local
43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
/external/skqp/tests/
DImageNewShaderTest.cpp28 SkPaint paintColor; in paint_source() local
29 paintColor.setColor(0xFFFF0000); in paint_source()
30 paintColor.setStyle(SkPaint::kFill_Style); in paint_source()
38 sourceCanvas->drawRect(rect, paintColor); in paint_source()
DHighContrastFilterTest.cpp39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local
43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp92 SkPM4f paintColor = SkPM4f_from_SkColor(paint.getColor(), dstCS); in SkCreateRasterPipelineBlitter() local
98 shaderPipeline.append_constant_color(alloc, paintColor); in SkCreateRasterPipelineBlitter()
99 bool is_opaque = paintColor.a() == 1.0f, in SkCreateRasterPipelineBlitter()
106 bool is_opaque = shader->isOpaque() && paintColor.a() == 1.0f; in SkCreateRasterPipelineBlitter()
119 if (paintColor.a() != 1.0f) { in SkCreateRasterPipelineBlitter()
121 alloc->make<float>(paintColor.a())); in SkCreateRasterPipelineBlitter()
/external/skia/src/core/
DSkRasterPipelineBlitter.cpp92 SkPM4f paintColor = SkPM4f_from_SkColor(paint.getColor(), dstCS); in SkCreateRasterPipelineBlitter() local
98 shaderPipeline.append_constant_color(alloc, paintColor); in SkCreateRasterPipelineBlitter()
99 bool is_opaque = paintColor.a() == 1.0f, in SkCreateRasterPipelineBlitter()
106 bool is_opaque = shader->isOpaque() && paintColor.a() == 1.0f; in SkCreateRasterPipelineBlitter()
119 if (paintColor.a() != 1.0f) { in SkCreateRasterPipelineBlitter()
121 alloc->make<float>(paintColor.a())); in SkCreateRasterPipelineBlitter()