Searched refs:colorString (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | CanvasStyle.cpp | 45 static ColorParseResult parseColor(RGBA32& parsedColor, const String& colorString, Document* docume… in parseColor() argument 47 if (equalIgnoringCase(colorString, "currentcolor")) in parseColor() 49 if (CSSParser::parseColor(parsedColor, colorString)) in parseColor() 51 if (CSSParser::parseSystemColor(parsedColor, colorString, document)) in parseColor() 65 bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* ca… in parseColorOrCurrentColor() argument 67 …ColorParseResult parseResult = parseColor(parsedColor, colorString, canvas ? &canvas->document() :… in parseColorOrCurrentColor()
|
D | CanvasStyle.h | 102 … bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement*);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
D | loupe.js | 128 var colorString = 130 targetContext.fillStyle = 'rgba(' + colorString + ')'; 137 $(type + '-loupe-color').textContent = colorString;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGColor.cpp | 48 Color SVGColor::colorFromRGBColorString(const String& colorString) in colorFromRGBColorString() argument 52 if (CSSParser::parseColor(color, colorString.stripWhiteSpace())) in colorFromRGBColorString()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedValueTest.java | 55 String colorString = TypedValue.coerceToString(TypedValue.TYPE_INT_COLOR_RGB8, 0xcafebabe); in testCoerceColorToString() local 57 assertThat(colorString, equalTo("#cafebabe")); in testCoerceColorToString()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
D | HtmlTooltipHelper.java | 291 String colorString = "#" + Integer.toHexString(color.getRed()); in getColorWebString() local 292 colorString += Integer.toHexString(color.getGreen()); in getColorWebString() 293 colorString += Integer.toHexString(color.getBlue()); in getColorWebString() 294 return colorString; in getColorWebString()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLElement.cpp | 888 static RGBA32 parseColorStringWithCrazyLegacyRules(const String& colorString) in parseColorStringWithCrazyLegacyRules() argument 897 if (colorString[0] == '#') in parseColorStringWithCrazyLegacyRules() 902 for (; i < colorString.length() && digitBuffer.size() < maxColorLength; i++) { in parseColorStringWithCrazyLegacyRules() 903 if (!isASCIIHexDigit(colorString[i])) in parseColorStringWithCrazyLegacyRules() 906 digitBuffer.append(colorString[i]); in parseColorStringWithCrazyLegacyRules() 951 String colorString = attributeValue.stripWhiteSpace(); in addHTMLColorToStyle() local 954 if (equalIgnoringCase(colorString, "transparent")) in addHTMLColorToStyle() 958 Color parsedColor(colorString); in addHTMLColorToStyle() 960 parsedColor.setRGB(parseColorStringWithCrazyLegacyRules(colorString)); in addHTMLColorToStyle()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | Spectrum.js | 439 setColorString: function(colorString) argument 441 this._swatchInnerElement.style.backgroundColor = colorString;
|
D | StylesSidebarPane.js | 2025 var colorString = /** @type {string} */ (e.data); 2026 spectrum.displayText = colorString; 2027 colorValueElement.textContent = colorString; 2028 colorSwatch.setColorString(colorString);
|