Home
last modified time | relevance | path

Searched refs:RGBA32 (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DColor.h38 typedef unsigned RGBA32; // RGBA quadruplet typedef
40 PLATFORM_EXPORT RGBA32 makeRGB(int r, int g, int b);
41 PLATFORM_EXPORT RGBA32 makeRGBA(int r, int g, int b, int a);
43 PLATFORM_EXPORT RGBA32 colorWithOverrideAlpha(RGBA32 color, float overrideAlpha);
44 PLATFORM_EXPORT RGBA32 makeRGBA32FromFloats(float r, float g, float b, float a);
45 PLATFORM_EXPORT RGBA32 makeRGBAFromHSLA(double h, double s, double l, double a);
46 PLATFORM_EXPORT RGBA32 makeRGBAFromCMYKA(float c, float m, float y, float k, float a);
50 inline int redChannel(RGBA32 color) { return (color >> 16) & 0xFF; } in redChannel()
51 inline int greenChannel(RGBA32 color) { return (color >> 8) & 0xFF; } in greenChannel()
52 inline int blueChannel(RGBA32 color) { return color & 0xFF; } in blueChannel()
[all …]
DColor.cpp40 const RGBA32 Color::black;
41 const RGBA32 Color::white;
42 const RGBA32 Color::darkGray;
43 const RGBA32 Color::gray;
44 const RGBA32 Color::lightGray;
45 const RGBA32 Color::transparent;
48 static const RGBA32 lightenedBlack = 0xFF545454;
49 static const RGBA32 darkenedWhite = 0xFFABABAB;
51 RGBA32 makeRGB(int r, int g, int b) in makeRGB()
56 RGBA32 makeRGBA(int r, int g, int b, int a) in makeRGBA()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasStyle.cpp45 static ColorParseResult parseColor(RGBA32& parsedColor, const String& colorString, Document* docume… in parseColor()
56 RGBA32 currentColor(HTMLCanvasElement* canvas) in currentColor()
60 RGBA32 rgba = Color::black; in currentColor()
65 bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* ca… in parseColorOrCurrentColor()
89 CanvasStyle::CanvasStyle(RGBA32 rgba) in CanvasStyle()
128 RGBA32 rgba; in createFromString()
146 RGBA32 rgba; in createFromStringWithOverrideAlpha()
DCanvasStyle.h45 …static PassRefPtr<CanvasStyle> createFromRGBA(RGBA32 rgba) { return adoptRef(new CanvasStyle(rgba)… in createFromRGBA()
73 CanvasStyle(RGBA32 rgba);
83 RGBA32 m_rgba;
101 RGBA32 currentColor(HTMLCanvasElement*);
102 … bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement*);
DCanvasGradient.cpp56 RGBA32 rgba = 0; in addColorStop()
DCanvasRenderingContext2D.h262 RGBA32 m_shadowColor;
287 void setShadow(const FloatSize& offset, float blur, RGBA32 color);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumAndroid.h64 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5;
65 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5;
DRenderThemeChromiumSkia.h162 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
DRenderThemeChromiumMac.h211 mutable HashMap<int, RGBA32> m_systemColorCache;
DRenderTheme.h329 static const RGBA32 defaultTapHighlightColor = 0x66000000;
/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleColor.h50 StyleColor(RGBA32 color, bool valid = true, bool currentColor = false)
79 RGBA32 rgb() const { return m_color.rgb(); } // Preserve the alpha. in rgb()
DRGBColor.h54 RGBA32 m_rgbColor;
DSVGCSSParser.cpp194 RGBA32 c = Color::transparent; in parseSVGValue()
355 RGBA32 c = Color::transparent; in parseSVGPaint()
363 RGBA32 c = Color::transparent; in parseSVGColor()
DCSSParser.h108 static bool parseColor(RGBA32& color, const String&, bool strict = false);
109 static bool parseSystemColor(RGBA32& color, const String&, Document*);
210 bool parseColorFromValue(CSSParserValue*, RGBA32&);
214 static bool fastParseColor(RGBA32&, const StringType&, bool strict);
DCSSPrimitiveValue.h296RGBA32 getRGBA32Value() const { return m_primitiveUnitType != CSS_RGBCOLOR ? 0 : m_value.rgbcolor;… in getRGBA32Value()
DCSSPrimitiveValue.cpp269 CSSPrimitiveValue::CSSPrimitiveValue(RGBA32 color) in CSSPrimitiveValue()
1045 RGBA32 rgbColor = m_value.rgbcolor; in customCSSText()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DColorMac.mm38 RGBA32 oldAquaFocusRingColor()
53 static RGBA32 makeRGBAFromNSColor(NSColor *c)
71 RGBA32 c = color.rgb();
DColorMac.h46 RGBA32 PLATFORM_EXPORT oldAquaFocusRingColor();
/external/chromium_org/third_party/WebKit/Source/web/
DColorChooserUIController.cpp73 m_client->didChooseColor(Color(static_cast<RGBA32>(color))); in didChooseColor()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DCollapsedBorderValue.h67 RGBA32 m_color;
DBorderValue.h82 RGBA32 m_color;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTextLinkColors.cpp64 RGBA32 color; in colorForCSSValue()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGColor.cpp51 RGBA32 color; in colorFromRGBColorString()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp380 static RGBA32 cssValueToRGBA(CSSValue* colorValue) in cssValueToRGBA()
389 RGBA32 rgba = 0; in cssValueToRGBA()
394 static inline RGBA32 getRGBAFontColor(CSSStyleDeclaration* style) in getRGBAFontColor()
399 static inline RGBA32 getRGBAFontColor(StylePropertySet* style) in getRGBAFontColor()
404 static inline RGBA32 getRGBABackgroundColor(CSSStyleDeclaration* style) in getRGBABackgroundColor()
409 static inline RGBA32 getRGBABackgroundColor(StylePropertySet* style) in getRGBABackgroundColor()
414 static inline RGBA32 rgbaBackgroundColorInEffect(Node* node) in rgbaBackgroundColorInEffect()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLBodyElement.cpp103 RGBA32 color; in parseAttribute()

12