Home
last modified time | relevance | path

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

/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
DUtilsTest.java185 assertTrue(Utils.isOpaque(0xFF000000)); in testIsOpaque()
186 assertTrue(Utils.isOpaque(0xFFFFFFFF)); in testIsOpaque()
187 assertTrue(Utils.isOpaque(0xFF123456)); in testIsOpaque()
189 assertFalse(Utils.isOpaque(0xFEFFFFFF)); in testIsOpaque()
190 assertFalse(Utils.isOpaque(0x8FFFFFFF)); in testIsOpaque()
191 assertFalse(Utils.isOpaque(0x00FF0000)); in testIsOpaque()
192 assertFalse(Utils.isOpaque(0x5500FF00)); in testIsOpaque()
193 assertFalse(Utils.isOpaque(0xAA0000FF)); in testIsOpaque()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java287 && (!tex.isOpaque() || alpha < OPAQUE_ALPHA)); in drawMesh()
382 && (!texture.isOpaque() || alpha < OPAQUE_ALPHA)); in drawTexture()
399 && (!texture.isOpaque() || mAlpha < OPAQUE_ALPHA)); in drawTexture()
411 && (!texture.isOpaque() || mAlpha < OPAQUE_ALPHA)); in drawTexture()
533 mGLState.setBlendEnabled(mBlendEnabled && (!from.isOpaque() in drawMixed()
534 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
558 mGLState.setBlendEnabled(mBlendEnabled && (!from.isOpaque() in drawMixed()
559 || !Utils.isOpaque(toColor) || alpha < OPAQUE_ALPHA)); in drawMixed()
649 setBlendEnabled(!Utils.isOpaque(color) || alpha < OPAQUE_ALPHA); in setColorMode()
DUploadedTexture.java284 public void setOpaque(boolean isOpaque) { in setOpaque() argument
285 mOpaque = isOpaque; in setOpaque()
289 public boolean isOpaque() { in isOpaque() method in UploadedTexture
DColorTexture.java45 public boolean isOpaque() { in isOpaque() method in ColorTexture
46 return Utils.isOpaque(mColor); in isOpaque()
DTexture.java43 public boolean isOpaque(); in isOpaque() method
DExtTexture.java52 public boolean isOpaque() { in isOpaque() method in ExtTexture
DFadeOutTexture.java29 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); in FadeOutTexture()
DFadeInTexture.java30 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); in FadeInTexture()
DRawTexture.java35 public boolean isOpaque() { in isOpaque() method in RawTexture
DFadeTexture.java50 public boolean isOpaque() { in isOpaque() method in FadeTexture
DTiledTexture.java346 public boolean isOpaque() { in isOpaque() method in TiledTexture
DGLES20Canvas.java703 enableBlending(!texture.isOpaque() || getAlpha() < OPAQUE_ALPHA); in prepareTexture()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/
DTextureTest.java59 public boolean isOpaque() { in isOpaque() method in TextureTest.MyBasicTexture
119 assertFalse(texture.isOpaque()); in testColorTexture()
120 assertTrue(new ColorTexture(0xFF000000).isOpaque()); in testColorTexture()
193 public boolean isOpaque() { in isOpaque() method in TextureTest.MyTextureForMixed
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java119 public static boolean isOpaque(int color) { in isOpaque() method in Utils
/packages/experimental/DreamTheater/src/com/android/dreamtheater/
DBouncyDroid.java364 public boolean isOpaque() { in isOpaque() method in BouncyDroid.BouncyView
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java449 public boolean isOpaque() { in isOpaque() method in PhotoTable