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.java225 dr0.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
231 dr1.setOpacity(PixelFormat.TRANSPARENT); in testGetOpacity()
237 dr2.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
243 dr3.setOpacity(PixelFormat.UNKNOWN); in testGetOpacity()
249 dr4.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
383 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.java602 mockDrawable2.setOpacity(PixelFormat.TRANSPARENT); in testAccessOpacity()
606 mockDrawable2.setOpacity(PixelFormat.TRANSPARENT); in testAccessOpacity()
607 mockDrawable1.setOpacity(PixelFormat.TRANSLUCENT); in testAccessOpacity()
611 mockDrawable1.setOpacity(PixelFormat.TRANSLUCENT); in testAccessOpacity()
612 mockDrawable2.setOpacity(PixelFormat.UNKNOWN); in testAccessOpacity()
616 layerDrawable.setOpacity(PixelFormat.OPAQUE); in testAccessOpacity()
617 mockDrawable1.setOpacity(PixelFormat.TRANSLUCENT); in testAccessOpacity()
618 mockDrawable2.setOpacity(PixelFormat.UNKNOWN); in testAccessOpacity()
1513 public void setOpacity(int opacity) { in setOpacity() method in LayerDrawableTest.MockDrawable
DDrawableContainerTest.java738 dr0.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
748 dr1.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
978 public void setOpacity(int opacity) { in setOpacity() method in DrawableContainerTest.MockDrawable