Home
last modified time | relevance | path

Searched refs:SkColor (Results 1 – 25 of 91) sorted by relevance

1234

/external/skia/include/core/
DSkColor.h35 typedef uint32_t SkColor; typedef
39 static inline SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) in SkColorSetARGB()
60 static inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA()
99 static inline void SkColorToHSV(SkColor color, SkScalar hsv[3]) in SkColorToHSV()
113 SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
123 static inline SkColor SkHSVToColor(const SkScalar hsv[3]) in SkHSVToColor()
143 SkPMColor SkPreMultiplyColor(SkColor c);
DSkColorFilter.h70 static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode);
76 static SkColorFilter* CreateProcFilter(SkColor srcColor,
85 static SkColorFilter* CreateLightingFilter(SkColor mul, SkColor add);
DSkColorShader.h38 SkColorShader(SkColor c) : fColor(c), fFlags(0), fInheritColor(false) {} in SkColorShader()
56 SkColor fColor; // ignored if fInheritColor is true
DSkDevice.h80 void eraseColor(SkColor eraseColor);
125 const SkColor colors[], SkXfermode* xmode,
DSkCanvas.h333 void drawColor(SkColor color,
385 void drawPoint(SkScalar x, SkScalar y, SkColor color);
625 const SkColor colors[], SkXfermode* xmode,
/external/skia/src/effects/
DSkColorFilters.cpp25 Sk_XfermodeColorFilter(SkColor color) in Sk_XfermodeColorFilter()
41 SkSrc_XfermodeColorFilter(SkColor color) : INHERITED(color) {} in SkSrc_XfermodeColorFilter()
78 SkSrcOver_XfermodeColorFilter(SkColor color) : INHERITED(color) {} in SkSrcOver_XfermodeColorFilter()
117 SkXfermodeColorFilter(SkColor color, SkXfermodeProc proc, in SkXfermodeColorFilter()
175 SkColorFilter* SkColorFilter::CreateProcFilter(SkColor color, in CreateProcFilter()
185 SkColorFilter* SkColorFilter::CreateModeFilter(SkColor color, in CreateModeFilter()
248 SkLightingColorFilter(SkColor mul, SkColor add) : fMul(mul), fAdd(add) {} in SkLightingColorFilter()
289 SkColor fMul, fAdd;
299 SkLightingColorFilter_JustAdd(SkColor mul, SkColor add) in SkLightingColorFilter_JustAdd()
337 SkLightingColorFilter_JustMul(SkColor mul, SkColor add) in SkLightingColorFilter_JustMul()
[all …]
DSkGradientShader.cpp83 Gradient_Shader(const SkColor colors[], const SkScalar pos[],
126 kStorageSize = kColorStorageCount * (sizeof(SkColor) + sizeof(Rec))
128 SkColor fStorage[(kStorageSize + 3) >> 2];
129 SkColor* fOrigColors;
151 Gradient_Shader::Gradient_Shader(const SkColor colors[], const SkScalar pos[], in Gradient_Shader()
190 size_t size = sizeof(SkColor) + sizeof(Rec); in Gradient_Shader()
191 fOrigColors = reinterpret_cast<SkColor*>( in Gradient_Shader()
200 SkColor* origColors = fOrigColors; in Gradient_Shader()
204 memcpy(origColors, colors, colorCount * sizeof(SkColor)); in Gradient_Shader()
278 size_t size = sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec); in Gradient_Shader()
[all …]
/external/skia/include/effects/
DSkGradientShader.h49 const SkColor colors[], const SkScalar pos[], int count,
71 const SkColor colors[], const SkScalar pos[], int count,
99 const SkColor colors[],
120 const SkColor colors[], const SkScalar pos[],
DSkBlurDrawLooper.h32 SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color);
55 SkColor fBlurColor;
56 SkColor fSavedColor; // remember the original
DSkPixelXorXfermode.h29 SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {} in SkPixelXorXfermode()
40 SkColor fOpColor;
DSkAvoidXfermode.h44 SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode);
64 SkColor fOpColor;
/external/webkit/WebCore/platform/graphics/skia/
DPlatformContextSkia.h119 void setFillColor(SkColor);
122 void setStrokeColor(SkColor);
141 SkColor effectiveFillColor() const;
145 SkColor effectiveStrokeColor() const;
DPlatformContextSkia.cpp65 SkColor m_fillColor;
70 SkColor m_strokeColor;
84 SkColor applyAlpha(SkColor) const;
156 SkColor PlatformContextSkia::State::applyAlpha(SkColor c) const in applyAlpha()
275 SkColor oldFillColor = m_state->m_fillColor; in drawRect()
398 void PlatformContextSkia::setFillColor(SkColor color) in setFillColor()
419 void PlatformContextSkia::setStrokeColor(SkColor strokeColor) in setStrokeColor()
467 SkColor PlatformContextSkia::effectiveFillColor() const in effectiveFillColor()
472 SkColor PlatformContextSkia::effectiveStrokeColor() const in effectiveStrokeColor()
DGradientSkia.cpp54 static SkColor makeSkColor(float a, float r, float g, float b) in makeSkColor()
80 size_t count, SkScalar* pos, SkColor* colors) in fillStops()
135 SkAutoMalloc storage(countUsed * (sizeof(SkColor) + sizeof(SkScalar))); in platformGradient()
136 SkColor* colors = (SkColor*)storage.get(); in platformGradient()
/external/webkit/WebCore/platform/graphics/android/
Dandroid_graphics.cpp36 const static SkColor cursorOuterColors[] = {
43 const static SkColor cursorInnerColors[] = {
50 const static SkColor cursorPressedColors[] = {
DGradientAndroid.cpp79 SkAutoMalloc storage(count * (sizeof(SkColor) + sizeof(SkScalar))); in getShader()
80 SkColor* colors = (SkColor*)storage.get(); in getShader()
/external/skia/src/xml/
DSkParseColor.cpp376 const char* SkParse::FindNamedColor(const char* name, size_t len, SkColor* color) { in FindNamedColor()
462 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor()
507 SkColor result; in TestColor()
513 SkASSERT(result == (SkColor) (nameRGB.rgb | 0xFF000000)); in TestColor()
/external/skia/include/utils/
DSkParse.h27 static const char* FindColor(const char str[], SkColor* value);
30 static const char* FindNamedColor(const char str[], size_t len, SkColor* color);
/external/skia/src/animator/
DSkDrawColor.h32 SkColor getColor();
40 SkColor color;
DSkDrawColor.cpp32 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) { in RGB_to_HSV()
68 static SkColor HSV_to_RGB(SkColor color, HSV_Choice choice, SkScalar hsv) { in HSV_to_RGB()
167 SkColor SkDrawColor::getColor() { in getColor()
/external/webkit/WebCore/rendering/
DRenderThemeChromiumSkia.cpp263 static SkColor brightenColor(double h, double s, double l, float brightenAmount) in brightenColor()
281 SkColor baseColor = SkColorSetARGB(0xff, 0xdd, 0xdd, 0xdd); in paintButtonLike()
288 SkColor lightColor(brightenColor(h, s, l, 0.105)); in paintButtonLike()
311 SkColor colors[2]; in paintButtonLike()
523 SkColor borderColor = object->style()->borderLeftColor().rgb(); in paintMediaSliderTrack()
532 SkColor backgroundColor = object->style()->backgroundColor().rgb(); in paintMediaSliderTrack()
548 SkColor startColor = object->style()->color().rgb(); in paintMediaSliderTrack()
549 SkColor endColor = SkColorSetRGB(SkColorGetR(startColor) / 2, in paintMediaSliderTrack()
552 SkColor colors[2] = { startColor, endColor }; in paintMediaSliderTrack()
/external/skia/src/views/
DSkParsePaint.cpp16 SkColor colors[2]; in inflate_shader()
83 SkColor c = paint->getColor(); in SkPaint_Inflate()
/external/skia/gm/
Dgradients.cpp8 const SkColor* fColors;
12 static const SkColor gColors[] = {
/external/skia/src/core/
DSkDevice.cpp38 void SkDevice::eraseColor(SkColor eraseColor) { in eraseColor()
98 const SkColor colors[], SkXfermode* xmode, in drawVertices()
DSkColor.cpp37 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor()
108 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { in SkHSVToColor()

1234