Searched refs:toColor (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | ColorDistance.cpp | 32 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 D | ColorDistance.h | 30 static float distance(const Color& fromColor, const Color& toColor);
|
H A D | SVGAnimatedColor.cpp | 57 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/animatable/ |
H A D | AnimatableColorTest.cpp | 42 Color transparent = AnimatableColorImpl(Color::transparent).toColor(); 44 Color red = AnimatableColorImpl(Color(0xFFFF0000)).toColor(); 50 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFF00FF00), -10).toColor().rgb(), 0xFF00FF00); 51 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), -10).toColor().rgb(), 0xFF00FF00); 52 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 0).toColor().rgb(), 0xFF00FF00); 53 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 1. / 255).toColor().rgb(), 0xFF01FE01); 54 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 0.5).toColor().rgb(), 0xFF808080); 55 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 254. / 255).toColor().rgb(), 0xFFFE01FE); 56 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 1).toColor().rgb(), 0xFFFF00FF); 57 EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 10).toColor() [all...] |
H A D | AnimatableColor.h | 43 Color toColor() const; 62 Color color() const { return m_color.toColor(); } 63 Color visitedLinkColor() const { return m_visitedLinkColor.toColor(); }
|
H A D | AnimatableColor.cpp | 64 Color AnimatableColorImpl::toColor() const function in class:blink::AnimatableColorImpl
|
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 63 static inline deUint32 toColor (Vec4 v) function in namespace:tcu 186 writeUnorm8<DstChannels>(tmpAccess, j, i, toColor(sum)); 205 writeUnorm8<DstChannels>(dst, i, j, toColor(sum));
|
/external/deqp/framework/randomshaders/ |
H A D | rsgProgramExecutor.cpp | 203 inline tcu::RGBA toColor (tcu::Vec4 rgba) function in namespace:rsg
|
Completed in 3231 milliseconds