Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java45 private static final float OPAQUE_ALPHA = 0.95f; field in GLES11Canvas
285 && (!tex.isOpaque() || alpha < OPAQUE_ALPHA)); in drawMesh()
380 && (!texture.isOpaque() || alpha < OPAQUE_ALPHA)); in drawTexture()
397 && (!texture.isOpaque() || mAlpha < OPAQUE_ALPHA)); in drawTexture()
409 && (!texture.isOpaque() || mAlpha < OPAQUE_ALPHA)); in drawTexture()
532 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
557 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
636 if (alpha >= OPAQUE_ALPHA) { in setTextureAlpha()
647 setBlendEnabled(!Utils.isOpaque(color) || alpha < OPAQUE_ALPHA); in setColorMode()
DGLES20Canvas.java39 private static final float OPAQUE_ALPHA = 0.95f; field in GLES20Canvas
703 enableBlending(!texture.isOpaque() || getAlpha() < OPAQUE_ALPHA); in prepareTexture()