Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java222 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
228 assertEquals(PixelFormat.OPAQUE, mDrawableContainerState.getOpacity()); in testGetOpacity()
234 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
240 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainerState.getOpacity()); in testGetOpacity()
246 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity()); in testGetOpacity()
252 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity()); in testGetOpacity()
301 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()
DGradientDrawableTest.java60 PixelFormat.TRANSLUCENT, gradientDrawable.getOpacity()); in testGetOpacity()
64 PixelFormat.TRANSLUCENT, gradientDrawable.getOpacity()); in testGetOpacity()
68 PixelFormat.TRANSLUCENT, gradientDrawable.getOpacity()); in testGetOpacity()
72 PixelFormat.TRANSLUCENT, gradientDrawable.getOpacity()); in testGetOpacity()
76 PixelFormat.OPAQUE, gradientDrawable.getOpacity()); in testGetOpacity()
80 PixelFormat.OPAQUE, gradientDrawable.getOpacity()); in testGetOpacity()
85 PixelFormat.TRANSLUCENT, gradientDrawable.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.java734 assertEquals(PixelFormat.TRANSPARENT, dr.getOpacity()); in testGetOpacity()
741 assertEquals(PixelFormat.TRANSPARENT, dr.getOpacity()); in testGetOpacity()
744 assertEquals(mDrawableContainerState.getOpacity(), dr.getOpacity()); in testGetOpacity()
745 assertEquals(PixelFormat.OPAQUE, mDrawableContainer.getOpacity()); in testGetOpacity()
752 assertEquals(mDrawableContainerState.getOpacity(), dr.getOpacity()); in testGetOpacity()
753 assertEquals(PixelFormat.TRANSLUCENT, dr.getOpacity()); in testGetOpacity()
897 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
DCustomDrawableTest.java85 public int getOpacity() { in getOpacity() method in CustomDrawableTest.CustomDrawable
DPictureDrawableTest.java76 assertEquals(PixelFormat.TRANSLUCENT, pictureDrawable.getOpacity()); in testGetOpacity()
DBitmapDrawableTest.java302 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
307 assertEquals(PixelFormat.OPAQUE, bitmapDrawable.getOpacity()); in testGetOpacity()
309 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
314 assertEquals(PixelFormat.OPAQUE, bitmapDrawable.getOpacity()); in testGetOpacity()
316 assertEquals(PixelFormat.TRANSLUCENT, bitmapDrawable.getOpacity()); in testGetOpacity()
DDrawableWrapperTest.java272 wrapper.getOpacity(); in testGetOpacity()
397 public int getOpacity() { in getOpacity() method in DrawableWrapperTest.MockDrawable
DAnimatedVectorDrawableTest.java238 assertEquals("Default is translucent", PixelFormat.TRANSLUCENT, d1.getOpacity()); in testGetOpacity()
240 assertEquals("Still translucent", PixelFormat.TRANSLUCENT, d1.getOpacity()); in testGetOpacity()
DInsetDrawableTest.java227 assertEquals(PixelFormat.OPAQUE, insetDrawable.getOpacity()); in testGetOpacity()
230 assertEquals(PixelFormat.TRANSLUCENT, insetDrawable.getOpacity()); in testGetOpacity()
DLayerDrawableTest.java593 assertEquals(PixelFormat.TRANSPARENT, layerDrawable.getOpacity()); in testAccessOpacity()
599 assertEquals(PixelFormat.OPAQUE, layerDrawable.getOpacity()); in testAccessOpacity()
603 assertEquals(PixelFormat.TRANSPARENT, layerDrawable.getOpacity()); in testAccessOpacity()
608 assertEquals(PixelFormat.TRANSLUCENT, layerDrawable.getOpacity()); in testAccessOpacity()
613 assertEquals(PixelFormat.UNKNOWN, layerDrawable.getOpacity()); in testAccessOpacity()
619 assertEquals(PixelFormat.OPAQUE, layerDrawable.getOpacity()); in testAccessOpacity()
1509 public int getOpacity() { in getOpacity() method in LayerDrawableTest.MockDrawable
1870 public int getOpacity() { in getOpacity() method in LayerDrawableTest.IntrinsicSizeDrawable
DVectorDrawableTest.java435 vectorDrawable.getOpacity()); in testGetOpacity()
440 vectorDrawable.getOpacity()); in testGetOpacity()
DLevelListDrawableTest.java222 public int getOpacity() { in getOpacity() method in LevelListDrawableTest.MockDrawable
DScaleDrawableTest.java267 scaleDrawable.getOpacity(); in testGetOpacity()
510 public int getOpacity() { in getOpacity() method in ScaleDrawableTest.MockDrawable
DAnimatedStateListDrawableTest.java260 public int getOpacity() { in getOpacity() method in AnimatedStateListDrawableTest.MockDrawable
DRotateDrawableTest.java143 assertEquals(PixelFormat.OPAQUE, mRotateDrawable.getOpacity()); in testGetOpacity()
DNinePatchDrawableTest.java291 assertEquals(PixelFormat.OPAQUE, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
294 assertEquals(PixelFormat.TRANSLUCENT, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
DStateListDrawableTest.java359 public int getOpacity() { in getOpacity() method in StateListDrawableTest.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.java321 public int getOpacity() { in getOpacity() method in AbsSeekBarTest.MockDrawable
DCompoundButtonTest.java379 public int getOpacity() { in getOpacity() method in CompoundButtonTest.MockDrawable
DFrameLayoutTest.java341 public int getOpacity() { in getOpacity() method in FrameLayoutTest.MockDrawable
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java378 assertEquals(PixelFormat.OPAQUE, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()
400 assertEquals(PixelFormat.TRANSPARENT, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()

12