Searched refs:fromColor (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DColorDistance.cpp35 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) argument
36 : m_redDiff(toColor.red() - fromColor.red())
37 , m_greenDiff(toColor.green() - fromColor.green())
38 , m_blueDiff(toColor.blue() - fromColor.blue())
H A DColorDistance.h30 ColorDistance(const Color& fromColor, const Color& toColor);
H A DSVGAnimatedColor.cpp70 Color fromColor = m_animationElement->animationMode() == ToAnimation ? animated->color() : from->color(); local
76 m_animationElement->adjustForInheritance<Color>(parseColorFromString, m_animationElement->fromPropertyValueType(), fromColor, m_contextElement);
81 adjustForCurrentColor(m_contextElement, fromColor);
86 m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.red(), toColor.red(), toAtEndOfDurationColor.red(), animatedRed);
89 m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.green(), toColor.green(), toAtEndOfDurationColor.green(), animatedGreen);
92 m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.blue(), toColor.blue(), toAtEndOfDurationColor.blue(), animatedBlue);
95 m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.alpha(), toColor.alpha(), toAtEndOfDurationColor.alpha(), animatedAlpha);
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
H A DCSSPropertyAnimation.cpp531 Color fromColor = (a->*m_getter)(); local
534 if (!fromColor.isValid() && !toColor.isValid())
537 if (!fromColor.isValid())
538 fromColor = a->color();
542 return fromColor == toColor;
547 Color fromColor = (a->*m_getter)(); local
550 if (!fromColor.isValid() && !toColor.isValid())
553 if (!fromColor.isValid())
554 fromColor = a->color();
557 (dst->*m_setter)(blendFunc(anim, fromColor, toColo
846 Color fromColor = (a->*m_getter)(); local
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTexturePixel.java41 public void fromColor(ColorRGBA colorRGBA) { method in class:TexturePixel
H A DTextureHelper.java269 resultPixel.fromColor(diffuseColor);

Completed in 153 milliseconds