/external/skia/include/core/ |
D | SkColor.h | 35 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);
|
D | SkColorFilter.h | 70 static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode); 76 static SkColorFilter* CreateProcFilter(SkColor srcColor, 85 static SkColorFilter* CreateLightingFilter(SkColor mul, SkColor add);
|
D | SkColorShader.h | 38 SkColorShader(SkColor c) : fColor(c), fFlags(0), fInheritColor(false) {} in SkColorShader() 56 SkColor fColor; // ignored if fInheritColor is true
|
D | SkDevice.h | 80 void eraseColor(SkColor eraseColor); 125 const SkColor colors[], SkXfermode* xmode,
|
D | SkCanvas.h | 333 void drawColor(SkColor color, 385 void drawPoint(SkScalar x, SkScalar y, SkColor color); 625 const SkColor colors[], SkXfermode* xmode,
|
/external/skia/src/effects/ |
D | SkColorFilters.cpp | 25 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 …]
|
D | SkGradientShader.cpp | 83 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/ |
D | SkGradientShader.h | 49 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[],
|
D | SkBlurDrawLooper.h | 32 SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color); 55 SkColor fBlurColor; 56 SkColor fSavedColor; // remember the original
|
D | SkPixelXorXfermode.h | 29 SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {} in SkPixelXorXfermode() 40 SkColor fOpColor;
|
D | SkAvoidXfermode.h | 44 SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode); 64 SkColor fOpColor;
|
/external/webkit/WebCore/platform/graphics/skia/ |
D | PlatformContextSkia.h | 119 void setFillColor(SkColor); 122 void setStrokeColor(SkColor); 141 SkColor effectiveFillColor() const; 145 SkColor effectiveStrokeColor() const;
|
D | PlatformContextSkia.cpp | 65 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()
|
D | GradientSkia.cpp | 54 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/ |
D | android_graphics.cpp | 36 const static SkColor cursorOuterColors[] = { 43 const static SkColor cursorInnerColors[] = { 50 const static SkColor cursorPressedColors[] = {
|
D | GradientAndroid.cpp | 79 SkAutoMalloc storage(count * (sizeof(SkColor) + sizeof(SkScalar))); in getShader() 80 SkColor* colors = (SkColor*)storage.get(); in getShader()
|
/external/skia/src/xml/ |
D | SkParseColor.cpp | 376 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/ |
D | SkParse.h | 27 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/ |
D | SkDrawColor.h | 32 SkColor getColor(); 40 SkColor color;
|
D | SkDrawColor.cpp | 32 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/ |
D | RenderThemeChromiumSkia.cpp | 263 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/ |
D | SkParsePaint.cpp | 16 SkColor colors[2]; in inflate_shader() 83 SkColor c = paint->getColor(); in SkPaint_Inflate()
|
/external/skia/gm/ |
D | gradients.cpp | 8 const SkColor* fColors; 12 static const SkColor gColors[] = {
|
/external/skia/src/core/ |
D | SkDevice.cpp | 38 void SkDevice::eraseColor(SkColor eraseColor) { in eraseColor() 98 const SkColor colors[], SkXfermode* xmode, in drawVertices()
|
D | SkColor.cpp | 37 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() 108 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { in SkHSVToColor()
|