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

/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp39 const SkColor& fromColor, const SkColor& toColor, float fraction) const {
40 float a = lerp(SkColorGetA(fromColor) / 255.0f, SkColorGetA(toColor) / 255.0f, fraction);
41 float r = lerp(linearize(SkColorGetR(fromColor)), linearize(SkColorGetR(toColor)), fraction);
42 float g = lerp(linearize(SkColorGetG(fromColor)), linearize(SkColorGetG(toColor)), fraction);
43 float b = lerp(linearize(SkColorGetB(fromColor)), linearize(SkColorGetB(toColor)), fraction);
38 evaluate(SkColor* outColor, const SkColor& fromColor, const SkColor& toColor, float fraction) const argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSIconViewImpl.java140 public static void animateGrayScale(int fromColor, int toColor, ImageView iv) { argument
142 final float toAlpha = Color.alpha(toColor);
144 final float toChannel = Color.red(toColor);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java109 public abstract void drawMixed(BasicTexture from, int toColor, argument
116 public abstract void drawMixed(BasicTexture from, int toColor, argument
H A DGLES20Canvas.java758 public void drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) { argument
761 drawMixed(texture, toColor, ratio, mTempSourceRect, mTempTargetRect);
765 public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) { argument
780 fillRect(target.left, target.top, target.width(), target.height(), toColor);

Completed in 525 milliseconds