Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java206 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
212 assertEquals(PixelFormat.OPAQUE, mDrawableContainerState.getOpacity()); in testGetOpacity()
218 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
224 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
230 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity()); in testGetOpacity()
236 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity()); in testGetOpacity()
268 public int getOpacity() { in getOpacity() method in DrawableContainerStateTest.MockDrawable
DColorDrawableTest.java86 assertEquals(PixelFormat.TRANSPARENT, colorDrawable.getOpacity()); in testGetOpacity()
89 assertEquals(PixelFormat.OPAQUE, colorDrawable.getOpacity()); in testGetOpacity()
92 assertEquals(PixelFormat.TRANSLUCENT, colorDrawable.getOpacity()); in testGetOpacity()
DShapeDrawableTest.java121 assertEquals(PixelFormat.TRANSLUCENT, shapeDrawable.getOpacity()); in testGetOpacity()
125 assertEquals(PixelFormat.OPAQUE, shapeDrawable.getOpacity()); in testGetOpacity()
128 assertEquals(PixelFormat.TRANSPARENT, shapeDrawable.getOpacity()); in testGetOpacity()
131 assertEquals(PixelFormat.TRANSLUCENT, shapeDrawable.getOpacity()); in testGetOpacity()
DDrawableContainerTest.java682 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainer.getOpacity()); in testGetOpacity()
689 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainer.getOpacity()); in testGetOpacity()
692 assertEquals(mDrawableContainerState.getOpacity(), mDrawableContainer.getOpacity()); in testGetOpacity()
693 assertEquals(PixelFormat.OPAQUE, mDrawableContainer.getOpacity()); in testGetOpacity()
700 assertEquals(mDrawableContainerState.getOpacity(), mDrawableContainer.getOpacity()); in testGetOpacity()
701 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainer.getOpacity()); in testGetOpacity()
839 public int getOpacity() { in getOpacity() method in DrawableContainerTest.MockDrawable
DClipDrawableTest.java139 PixelFormat.TRANSPARENT, clipDrawable.getOpacity()); in testGetOpacity()
142 PixelFormat.TRANSLUCENT, clipDrawable.getOpacity()); in testGetOpacity()
145 PixelFormat.OPAQUE, clipDrawable.getOpacity()); in testGetOpacity()
152 PixelFormat.TRANSLUCENT, clipDrawable.getOpacity()); in testGetOpacity()
389 public int getOpacity() { in getOpacity() method in ClipDrawableTest.MockDrawable
DBitmapDrawableTest.java275 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
280 assertEquals(PixelFormat.OPAQUE, bitmapDrawable.getOpacity()); in testGetOpacity()
282 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
287 assertEquals(PixelFormat.OPAQUE, bitmapDrawable.getOpacity()); in testGetOpacity()
289 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
DPictureDrawableTest.java76 assertEquals(PixelFormat.TRANSLUCENT, pictureDrawable.getOpacity()); in testGetOpacity()
DInsetDrawableTest.java223 assertEquals(PixelFormat.OPAQUE, insetDrawable.getOpacity()); in testGetOpacity()
226 assertEquals(PixelFormat.TRANSLUCENT, insetDrawable.getOpacity()); in testGetOpacity()
DDrawableWrapperTest.java272 wrapper.getOpacity(); in testGetOpacity()
397 public int getOpacity() { in getOpacity() method in DrawableWrapperTest.MockDrawable
DNinePatchDrawableTest.java275 assertEquals(PixelFormat.OPAQUE, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
278 assertEquals(PixelFormat.TRANSLUCENT, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
DLevelListDrawableTest.java222 public int getOpacity() { in getOpacity() method in LevelListDrawableTest.MockDrawable
DLayerDrawableTest.java568 assertEquals(PixelFormat.TRANSPARENT, layerDrawable.getOpacity()); in testGetOpacity()
574 assertEquals(PixelFormat.OPAQUE, layerDrawable.getOpacity()); in testGetOpacity()
578 assertEquals(PixelFormat.TRANSPARENT, layerDrawable.getOpacity()); in testGetOpacity()
583 assertEquals(PixelFormat.TRANSLUCENT, layerDrawable.getOpacity()); in testGetOpacity()
588 assertEquals(PixelFormat.UNKNOWN, layerDrawable.getOpacity()); in testGetOpacity()
1433 public int getOpacity() { in getOpacity() method in LayerDrawableTest.MockDrawable
DScaleDrawableTest.java266 scaleDrawable.getOpacity(); in testGetOpacity()
487 public int getOpacity() { in getOpacity() method in ScaleDrawableTest.MockDrawable
DRotateDrawableTest.java89 assertEquals(PixelFormat.OPAQUE, mRotateDrawable.getOpacity()); in testGetOpacity()
DStateListDrawableTest.java283 public int getOpacity() { in getOpacity() method in StateListDrawableTest.MockDrawable
DDrawableTest.java636 public int getOpacity() { in getOpacity() method in DrawableTest.MockDrawable
/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceTest.java166 assertEquals(iconExp.getOpacity(), icon.getOpacity()); in testGetIcon()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java292 public int getOpacity() { in getOpacity() method in AbsSeekBarTest.MockDrawable
DFrameLayoutTest.java339 public int getOpacity() { in getOpacity() method in FrameLayoutTest.MockDrawable
DCompoundButtonTest.java379 public int getOpacity() { in getOpacity() method in CompoundButtonTest.MockDrawable
DProgressBarTest.java404 public int getOpacity() { in getOpacity() method in ProgressBarTest.MockDrawable
DImageViewTest.java581 public int getOpacity() { in getOpacity() method in ImageViewTest.MockDrawable
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java375 assertEquals(PixelFormat.OPAQUE, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()
397 assertEquals(PixelFormat.TRANSPARENT, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()
DViewTest.java3614 public int getOpacity() { in getOpacity() method in ViewTest.MockDrawable
/cts/tests/tests/app/src/android/app/cts/
DDialogTest.java893 public int getOpacity() { in getOpacity() method in DialogTest.MockDrawable