Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvasImpl.java448 int toColor, float ratio, int x, int y, int w, int h) { in drawMixed() argument
449 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); in drawMixed()
468 private void setMixedColor(int toColor, float ratio, float alpha) { in setMixedColor() argument
485 float colorScale = scale * (toColor >>> 24) / (0xff * 0xff); in setMixedColor()
486 setTextureColor(((toColor >>> 16) & 0xff) * colorScale, in setMixedColor()
487 ((toColor >>> 8) & 0xff) * colorScale, in setMixedColor()
488 (toColor & 0xff) * colorScale, combo); in setMixedColor()
510 public void drawMixed(BasicTexture from, int toColor, float ratio, in drawMixed() argument
518 fillRect(target.left, target.top, target.width(), target.height(), toColor); in drawMixed()
531 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
[all …]
DGLCanvas.java99 public void drawMixed(BasicTexture from, int toColor, in drawMixed() argument
106 public void drawMixed(BasicTexture from, int toColor, in drawMixed() argument
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasStub.java86 public void drawMixed(BasicTexture from, int toColor, in drawMixed() argument