/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 222 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
|
D | ColorDrawableTest.java | 86 assertEquals(PixelFormat.TRANSPARENT, colorDrawable.getOpacity()); in testGetOpacity() 89 assertEquals(PixelFormat.OPAQUE, colorDrawable.getOpacity()); in testGetOpacity() 92 assertEquals(PixelFormat.TRANSLUCENT, colorDrawable.getOpacity()); in testGetOpacity()
|
D | GradientDrawableTest.java | 60 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()
|
D | ShapeDrawableTest.java | 121 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()
|
D | DrawableContainerTest.java | 734 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
|
D | ClipDrawableTest.java | 139 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
|
D | CustomDrawableTest.java | 85 public int getOpacity() { in getOpacity() method in CustomDrawableTest.CustomDrawable
|
D | PictureDrawableTest.java | 76 assertEquals(PixelFormat.TRANSLUCENT, pictureDrawable.getOpacity()); in testGetOpacity()
|
D | BitmapDrawableTest.java | 302 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()
|
D | DrawableWrapperTest.java | 272 wrapper.getOpacity(); in testGetOpacity() 397 public int getOpacity() { in getOpacity() method in DrawableWrapperTest.MockDrawable
|
D | AnimatedVectorDrawableTest.java | 238 assertEquals("Default is translucent", PixelFormat.TRANSLUCENT, d1.getOpacity()); in testGetOpacity() 240 assertEquals("Still translucent", PixelFormat.TRANSLUCENT, d1.getOpacity()); in testGetOpacity()
|
D | InsetDrawableTest.java | 227 assertEquals(PixelFormat.OPAQUE, insetDrawable.getOpacity()); in testGetOpacity() 230 assertEquals(PixelFormat.TRANSLUCENT, insetDrawable.getOpacity()); in testGetOpacity()
|
D | LayerDrawableTest.java | 593 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
|
D | VectorDrawableTest.java | 435 vectorDrawable.getOpacity()); in testGetOpacity() 440 vectorDrawable.getOpacity()); in testGetOpacity()
|
D | LevelListDrawableTest.java | 222 public int getOpacity() { in getOpacity() method in LevelListDrawableTest.MockDrawable
|
D | ScaleDrawableTest.java | 267 scaleDrawable.getOpacity(); in testGetOpacity() 510 public int getOpacity() { in getOpacity() method in ScaleDrawableTest.MockDrawable
|
D | AnimatedStateListDrawableTest.java | 260 public int getOpacity() { in getOpacity() method in AnimatedStateListDrawableTest.MockDrawable
|
D | RotateDrawableTest.java | 143 assertEquals(PixelFormat.OPAQUE, mRotateDrawable.getOpacity()); in testGetOpacity()
|
D | NinePatchDrawableTest.java | 291 assertEquals(PixelFormat.OPAQUE, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity() 294 assertEquals(PixelFormat.TRANSLUCENT, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
|
D | StateListDrawableTest.java | 359 public int getOpacity() { in getOpacity() method in StateListDrawableTest.MockDrawable
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceTest.java | 166 assertEquals(iconExp.getOpacity(), icon.getOpacity()); in testGetIcon()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSeekBarTest.java | 321 public int getOpacity() { in getOpacity() method in AbsSeekBarTest.MockDrawable
|
D | CompoundButtonTest.java | 379 public int getOpacity() { in getOpacity() method in CompoundButtonTest.MockDrawable
|
D | FrameLayoutTest.java | 341 public int getOpacity() { in getOpacity() method in FrameLayoutTest.MockDrawable
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowTest.java | 378 assertEquals(PixelFormat.OPAQUE, decor.getBackground().getOpacity()); in testSetBackgroundDrawable() 400 assertEquals(PixelFormat.TRANSPARENT, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()
|