Home
last modified time | relevance | path

Searched refs:toColor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java449 int toColor, float ratio, int x, int y, int w, int h) { in drawMixed() argument
450 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); in drawMixed()
469 private void setMixedColor(int toColor, float ratio, float alpha) { in setMixedColor() argument
486 float colorScale = scale * (toColor >>> 24) / (0xff * 0xff); in setMixedColor()
487 setTextureColor(((toColor >>> 16) & 0xff) * colorScale, in setMixedColor()
488 ((toColor >>> 8) & 0xff) * colorScale, in setMixedColor()
489 (toColor & 0xff) * colorScale, combo); in setMixedColor()
511 public void drawMixed(BasicTexture from, int toColor, float ratio, in drawMixed() argument
519 fillRect(target.left, target.top, target.width(), target.height(), toColor); in drawMixed()
532 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
[all …]
DGLCanvas.java111 public abstract void drawMixed(BasicTexture from, int toColor, in drawMixed() argument
118 public abstract void drawMixed(BasicTexture from, int toColor, in drawMixed() argument
DGLES20Canvas.java758 …public void drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) { in drawMixed() argument
761 drawMixed(texture, toColor, ratio, mTempSourceRect, mTempTargetRect); in drawMixed()
765 …public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) { in drawMixed() argument
780 fillRect(target.left, target.top, target.width(), target.height(), toColor); in drawMixed()