Home
last modified time | relevance | path

Searched refs:differenceSquared (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/rendering/
DRenderTextControl.cpp60 …if (textColor.rgb() == Color::black || differenceSquared(textColor, Color::white) > differenceSqua… in disabledTextColor()
68 if (differenceSquared(disabledColor, backgroundColor) < minColorContrastValue) in disabledTextColor()
DInlineTextBox.cpp304 int d = differenceSquared(textColor, backgroundColor); in correctedTextColor()
310 int distanceFromWhite = differenceSquared(textColor, Color::white); in correctedTextColor()
311 int distanceFromBlack = differenceSquared(textColor, Color::black); in correctedTextColor()
/external/webkit/Source/WebCore/platform/graphics/
DColor.h74 int differenceSquared(const Color&, const Color&);
DColor.cpp155 int differenceSquared(const Color& c1, const Color& c2) in differenceSquared() function
/external/webkit/Source/WebCore/
DChangeLog-2006-05-104659 (WebCore::differenceSquared): Added. Returns the difference squared of two colors.
4665 … (WebCore::correctedTextColor): Uses differenceSquared instead of simpleDifferenceBetweenColors.