Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java209 dr0.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
215 dr1.setOpacity(PixelFormat.TRANSPARENT); in testGetOpacity()
221 dr2.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
227 dr3.setOpacity(PixelFormat.UNKNOWN); in testGetOpacity()
233 dr4.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
350 public void setOpacity(int opacity){ in setOpacity() method in DrawableContainerStateTest.MockDrawable
DClipDrawableTest.java135 dr.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
148 dr.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
393 public void setOpacity(int opacity) { in setOpacity() method in ClipDrawableTest.MockDrawable
DLayerDrawableTest.java577 mockDrawable2.setOpacity(PixelFormat.TRANSPARENT); in testGetOpacity()
581 mockDrawable2.setOpacity(PixelFormat.TRANSPARENT); in testGetOpacity()
582 mockDrawable1.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
586 mockDrawable1.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
587 mockDrawable2.setOpacity(PixelFormat.UNKNOWN); in testGetOpacity()
1437 public void setOpacity(int opacity) { in setOpacity() method in LayerDrawableTest.MockDrawable
DDrawableContainerTest.java686 dr0.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
696 dr1.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
920 public void setOpacity(int opacity) { in setOpacity() method in DrawableContainerTest.MockDrawable