Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java655 float prealpha = (color >>> 24) * alpha * 65535f / 255f / 255f; in setColorMode() local
657 Math.round(((color >> 16) & 0xFF) * prealpha), in setColorMode() local
658 Math.round(((color >> 8) & 0xFF) * prealpha), in setColorMode() local
659 Math.round((color & 0xFF) * prealpha), in setColorMode()
660 Math.round(255 * prealpha)); in setColorMode()