HomeSort by relevance Sort by last modified time
    Searched refs:toColor (Results 1 - 5 of 5) sorted by null

  /external/webkit/Source/WebCore/svg/
ColorDistance.cpp 36 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor)
37 : m_redDiff(toColor.red() - fromColor.red())
38 , m_greenDiff(toColor.green() - fromColor.green())
39 , m_blueDiff(toColor.blue() - fromColor.blue())
ColorDistance.h 31 ColorDistance(const Color& fromColor, const Color& toColor);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLCanvas.java 115 public void drawMixed(BasicTexture from, int toColor,
GLCanvasImpl.java 441 int toColor, float ratio, int x, int y, int w, int h) {
442 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha);
465 private void drawMixed(BasicTexture from, int toColor,
472 fillRect(x, y, width, height, toColor);
477 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA));
504 // RGB component are get from toColor and will used as SRC1
505 float colorAlpha = (float) (toColor >>> 24) / (0xff * 0xff);
506 setTextureColor(((toColor >>> 16) & 0xff) * colorAlpha,
507 ((toColor >>> 8) & 0xff) * colorAlpha,
508 (toColor & 0xff) * colorAlpha, comboRatio)
    [all...]
  /external/webkit/Source/WebCore/page/animation/
AnimationBase.cpp 407 Color toColor = (b->*m_getter)();
409 if (!fromColor.isValid() && !toColor.isValid())
414 if (!toColor.isValid())
415 toColor = b->color();
417 return fromColor == toColor;
423 Color toColor = (b->*m_getter)();
425 if (!fromColor.isValid() && !toColor.isValid())
430 if (!toColor.isValid())
431 toColor = b->color();
432 (dst->*m_setter)(blendFunc(anim, fromColor, toColor, progress))
    [all...]

Completed in 81 milliseconds