Home
last modified time | relevance | path

Searched refs:RGBA32 (Results 1 – 25 of 29) 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) in parseColor()
57 RGBA32 currentColor(HTMLCanvasElement* canvas) in currentColor()
61 RGBA32 rgba = Color::black; in currentColor()
66 bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* ca… in parseColorOrCurrentColor()
90 CanvasStyle::CanvasStyle(RGBA32 rgba) in CanvasStyle()
129 RGBA32 rgba; in createFromString()
147 RGBA32 rgba; in createFromStringWithOverrideAlpha()
DCanvasStyle.h45 …static PassRefPtrWillBeRawPtr<CanvasStyle> createFromRGBA(RGBA32 rgba) { return adoptRefWillBeNoop… in createFromRGBA()
75 CanvasStyle(RGBA32 rgba);
85 RGBA32 m_rgba;
103 RGBA32 currentColor(HTMLCanvasElement*);
104 … bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement*);
DCanvasGradient.cpp54 RGBA32 rgba = 0; in addColorStop()
DCanvasRenderingContext2D.h279 RGBA32 m_shadowColor;
307 void setShadow(const FloatSize& offset, float blur, RGBA32 color);
DCanvasRenderingContext2D.cpp609 RGBA32 rgba; in setShadowColor()
1361 RGBA32 rgba; in setShadow()
1374 RGBA32 rgba; in setShadow()
1400 void CanvasRenderingContext2D::setShadow(const FloatSize& offset, float blur, RGBA32 color) in setShadow()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumAndroid.h60 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5;
61 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5;
DRenderTheme.h304 static const RGBA32 defaultTapHighlightColor = 0x66000000;
306 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
DRenderThemeChromiumSkia.h159 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
DRenderThemeChromiumMac.h202 mutable HashMap<int, RGBA32> m_systemColorCache;
DRenderThemeChromiumMac.mm202 static const RGBA32 oldAquaFocusRingColor = 0xFF7DADD9;
302 static RGBA32 convertNSColorToColor(NSColor *color)
342 static RGBA32 menuBackgroundColor()
379 HashMap<int, RGBA32>::iterator it = m_systemColorCache.find(cssValueId);
1145 …style->setColor(e && !e->isDisabledFormControl() ? static_cast<RGBA32>(Color::black) : Color::dark…
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSParser.h37 static bool parseColor(RGBA32& color, const String&, bool strict = false);
38 static bool parseSystemColor(RGBA32& color, const String&);
DCSSParser.cpp79 bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict) in parseColor()
89 bool CSSParser::parseSystemColor(RGBA32& color, const String& colorString) in parseSystemColor()
DBisonCSSParser.h89 static bool parseColor(RGBA32& color, const String&, bool strict = false);
91 static bool parseSystemColor(RGBA32& color, const String&);
DCSSPropertyParser.h65 static bool fastParseColor(RGBA32&, const StringType&, bool strict);
183 bool parseColorFromValue(CSSParserValue*, RGBA32&, bool acceptQuirkyColors = false);
DBisonCSSParser-in.cpp252 RGBA32 color; in parseColorValue()
950 bool BisonCSSParser::parseColor(RGBA32& color, const String& string, bool strict) in parseColor()
977 RGBA32 color; in colorFromRGBColorString()
993 bool BisonCSSParser::parseSystemColor(RGBA32& color, const String& string) in parseSystemColor()
/external/chromium_org/third_party/WebKit/Source/core/css/
DRGBColor.h58 RGBA32 m_rgbColor;
DCSSPrimitiveValue.h315RGBA32 getRGBA32Value() const { return m_primitiveUnitType != CSS_RGBCOLOR ? 0 : m_value.rgbcolor;… in getRGBA32Value()
DCSSPrimitiveValue.cpp304 CSSPrimitiveValue::CSSPrimitiveValue(RGBA32 color, UnitType type) in CSSPrimitiveValue()
1233 RGBA32 rgbColor = m_value.rgbcolor; in customCSSText()
/external/chromium_org/third_party/WebKit/Source/web/
DColorChooserUIController.cpp75 m_client->didChooseColor(Color(static_cast<RGBA32>(color))); in didChooseColor()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTextLinkColors.cpp64 RGBA32 color; in colorForCSSValue()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp389 static RGBA32 cssValueToRGBA(CSSValue* colorValue) in cssValueToRGBA()
398 RGBA32 rgba = 0; in cssValueToRGBA()
404 static inline RGBA32 getRGBAFontColor(CSSStyleDeclaration* style) in getRGBAFontColor()
409 static inline RGBA32 getRGBAFontColor(StylePropertySet* style) in getRGBAFontColor()
414 static inline RGBA32 getRGBABackgroundColor(CSSStyleDeclaration* style) in getRGBABackgroundColor()
419 static inline RGBA32 getRGBABackgroundColor(StylePropertySet* style) in getRGBABackgroundColor()
424 static inline RGBA32 rgbaBackgroundColorInEffect(Node* node) in rgbaBackgroundColorInEffect()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DColorMac.mm38 RGBA32 c = color.rgb();
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLBodyElement.cpp103 RGBA32 color; in parseAttribute()

12