Searched defs:toColor (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DColorDistance.cpp32 float ColorDistance::distance(const Color& fromColor, const Color& toColor) argument
34 int redDiff = toColor.red() - fromColor.red();
35 int greenDiff = toColor.green() - fromColor.green();
36 int blueDiff = toColor.blue() - fromColor.blue();
H A DSVGAnimatedColor.cpp57 Color toColor = m_styleColor.resolve(fallbackColor); local
58 m_styleColor = StyleColor(ColorDistance::addColors(fromColor, toColor));
71 Color toColor = toStyleColor.resolve(fallbackColor); local
77 animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.red(), toColor.red(), toAtEndOfDurationColor.red(), animatedRed);
80 animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.green(), toColor.green(), toAtEndOfDurationColor.green(), animatedGreen);
83 animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.blue(), toColor.blue(), toAtEndOfDurationColor.blue(), animatedBlue);
86 animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.alpha(), toColor.alpha(), toAtEndOfDurationColor.alpha(), animatedAlpha);
97 Color toColor = toSVGColorProperty(toValue)->m_styleColor.resolve(fallbackColor); local
98 return ColorDistance::distance(fromColor, toColor);
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableColor.cpp64 Color AnimatableColorImpl::toColor() const function in class:WebCore::AnimatableColorImpl
/external/deqp/framework/common/
H A DtcuFuzzyImageCompare.cpp65 static inline deUint32 toColor (Vec4 v) function in namespace:tcu
184 writeUnorm8<DstChannels>(tmpAccess, j, i, toColor(sum));
203 writeUnorm8<DstChannels>(dst, i, j, toColor(sum));
/external/deqp/framework/randomshaders/
H A DrsgProgramExecutor.cpp203 inline tcu::RGBA toColor (tcu::Vec4 rgba) function in namespace:rsg

Completed in 1156 milliseconds