/external/webkit/WebCore/platform/graphics/ |
D | Color.h | 55 typedef unsigned RGBA32; // RGBA quadruplet typedef 57 RGBA32 makeRGB(int r, int g, int b); 58 RGBA32 makeRGBA(int r, int g, int b, int a); 60 RGBA32 colorWithOverrideAlpha(RGBA32 color, float overrideAlpha); 61 RGBA32 makeRGBA32FromFloats(float r, float g, float b, float a); 62 RGBA32 makeRGBAFromHSLA(double h, double s, double l, double a); 63 RGBA32 makeRGBAFromCMYKA(float c, float m, float y, float k, float a); 70 Color(RGBA32 col) : m_color(col), m_valid(true) { } in Color() 92 RGBA32 rgb() const { return m_color; } // Preserve the alpha. in rgb() 94 void setRGB(RGBA32 rgb) { m_color = rgb; m_valid = true; } in setRGB() [all …]
|
D | Color.cpp | 42 const RGBA32 Color::black; 43 const RGBA32 Color::white; 44 const RGBA32 Color::darkGray; 45 const RGBA32 Color::gray; 46 const RGBA32 Color::lightGray; 47 const RGBA32 Color::transparent; 50 static const RGBA32 lightenedBlack = 0xFF545454; 51 static const RGBA32 darkenedWhite = 0xFFABABAB; 53 RGBA32 makeRGB(int r, int g, int b) in makeRGB() 58 RGBA32 makeRGBA(int r, int g, int b, int a) in makeRGBA() [all …]
|
/external/webkit/WebCore/html/canvas/ |
D | CanvasStyle.cpp | 120 RGBA32 color = 0; // default is transparent black in applyStrokeColor() 131 RGBA32 color = 0; // default is transparent black in applyStrokeColor() 181 RGBA32 rgba = 0; // default is transparent black in applyFillColor() 192 RGBA32 color = 0; // default is transparent black in applyFillColor()
|
D | CanvasGradient.cpp | 54 RGBA32 rgba = 0; in addColorStop()
|
D | CanvasRenderingContext2D.cpp | 825 RGBA32 rgba = makeRGBA32FromFloats(grayLevel, grayLevel, grayLevel, 1.0f); in setShadow() 839 RGBA32 rgba = 0; // default is transparent black in setShadow() 855 RGBA32 rgba = makeRGBA32FromFloats(grayLevel, grayLevel, grayLevel, alpha); in setShadow() 869 RGBA32 rgba = makeRGBA32FromFloats(r, g, b, a); // default is transparent black in setShadow() 910 RGBA32 rgba = 0; // default is transparent black in applyShadow()
|
/external/webkit/WebCore/platform/graphics/mac/ |
D | ColorMac.mm | 38 RGBA32 oldAquaFocusRingColor() 53 static RGBA32 makeRGBAFromNSColor(NSColor *c) 71 RGBA32 c = color.rgb();
|
D | ColorMac.h | 50 RGBA32 oldAquaFocusRingColor();
|
/external/webkit/WebCore/css/ |
D | SVGCSSParser.cpp | 191 RGBA32 c = Color::transparent; in parseSVGValue() 333 RGBA32 c = Color::transparent; in parseSVGPaint() 341 RGBA32 c = Color::transparent; in parseSVGColor()
|
D | CSSParser.h | 62 static bool parseColor(RGBA32& color, const String&, bool strict = false); 122 bool parseColorFromValue(CSSParserValue*, RGBA32&, bool = false); 125 static bool parseColor(const String&, RGBA32& rgb, bool strict);
|
D | RGBColor.h | 53 RGBA32 m_rgbColor;
|
D | CSSPrimitiveValue.h | 156 RGBA32 getRGBA32Value() const { return m_type != CSS_RGBCOLOR ? 0 : m_value.rgbcolor; } in getRGBA32Value()
|
D | CSSPrimitiveValue.cpp | 222 CSSPrimitiveValue::CSSPrimitiveValue(RGBA32 color) in CSSPrimitiveValue() 812 RGBA32 rgbColor = m_value.rgbcolor; in cssText()
|
D | CSSParser.cpp | 300 bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict) in parseColor() 3401 bool CSSParser::parseColor(const String &name, RGBA32& rgb, bool strict) in parseColor() 3488 RGBA32 c = Color::transparent; in parseColor() 3494 bool CSSParser::parseColorFromValue(CSSParserValue* value, RGBA32& c, bool svg) in parseColorFromValue()
|
D | CSSStyleSelector.cpp | 5748 RGBA32 color; in colorForCSSValue()
|
/external/webkit/WebCore/svg/ |
D | SVGColor.cpp | 86 RGBA32 color; in colorFromRGBColorString()
|
/external/webkit/WebCore/rendering/ |
D | RenderThemeMac.h | 190 mutable HashMap<int, RGBA32> m_systemColorCache;
|
D | RenderThemeChromiumMac.h | 213 mutable HashMap<int, RGBA32> m_systemColorCache;
|
D | RenderThemeSafari.cpp | 105 static RGBA32 makeRGBAFromCGColor(CGColorRef color) in makeRGBAFromCGColor() 877 …style->setColor(e && e->isEnabledFormControl() ? static_cast<RGBA32>(Color::black) : Color::darkGr… in adjustMenuListStyle()
|
D | RenderThemeMac.mm | 262 static RGBA32 convertNSColorToColor(NSColor *color) 302 static RGBA32 menuBackgroundColor() 972 …style->setColor(e && e->isEnabledFormControl() ? static_cast<RGBA32>(Color::black) : Color::darkGr…
|
D | RenderThemeChromiumMac.mm | 272 static RGBA32 convertNSColorToColor(NSColor *color) 312 static RGBA32 menuBackgroundColor() 1344 …style->setColor(e && e->isEnabledFormControl() ? static_cast<RGBA32>(Color::black) : Color::darkGr…
|
/external/webkit/WebCore/platform/android/ |
D | RenderThemeAndroid.cpp | 55 const RGBA32 SELECTION_COLOR = makeRGB(255, 146, 0);
|
/external/webkit/WebCore/editing/ |
D | ApplyStyleCommand.cpp | 182 RGBA32 rgba = 0; in checkForLegacyHTMLStyleChange()
|
/external/webkit/WebCore/ |
D | ChangeLog-2006-05-10 | 1962 instead of RGBA32. Removed setColorFromFillColor and setColorFromPen. Added 1965 (WebCore::GraphicsContext::setFillColor): Changed to use Color instead of RGBA32. 2322 in a heuristic that will use the data size instead of a single frame RGBA32 3864 - removed Brush class since it just amounted to a color, using an RGBA32 23727 have to zero fill our RGBA32 buffers, and we avoid painting 28470 Fix for bug 6781, convert QColor to Color (and QRgb to RGBA32). r=maciej.
|
D | ChangeLog-2009-06-16 | 36766 (WebCore::Font::drawGlyphs): changed parameters to RGBA32, not WebCore::Color. 96923 to RGBA32 (like all the rest of colors in WebCore), thus: 96925 context.strokeStyle = "rgba(.37, .24, .456, .99)", which is to say RGBA32
|
D | ChangeLog-2007-10-14 | 10234 new static function to convert an NSColor object to an RGBA32 struct
|