/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 206 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
|
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 | 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 | 682 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
|
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 | BitmapDrawableTest.java | 275 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()
|
D | PictureDrawableTest.java | 76 assertEquals(PixelFormat.TRANSLUCENT, pictureDrawable.getOpacity()); in testGetOpacity()
|
D | InsetDrawableTest.java | 223 assertEquals(PixelFormat.OPAQUE, insetDrawable.getOpacity()); in testGetOpacity() 226 assertEquals(PixelFormat.TRANSLUCENT, insetDrawable.getOpacity()); in testGetOpacity()
|
D | DrawableWrapperTest.java | 272 wrapper.getOpacity(); in testGetOpacity() 397 public int getOpacity() { in getOpacity() method in DrawableWrapperTest.MockDrawable
|
D | NinePatchDrawableTest.java | 275 assertEquals(PixelFormat.OPAQUE, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity() 278 assertEquals(PixelFormat.TRANSLUCENT, mNinePatchDrawable.getOpacity()); in suppress_testGetOpacity()
|
D | LevelListDrawableTest.java | 222 public int getOpacity() { in getOpacity() method in LevelListDrawableTest.MockDrawable
|
D | LayerDrawableTest.java | 568 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
|
D | ScaleDrawableTest.java | 266 scaleDrawable.getOpacity(); in testGetOpacity() 487 public int getOpacity() { in getOpacity() method in ScaleDrawableTest.MockDrawable
|
D | RotateDrawableTest.java | 89 assertEquals(PixelFormat.OPAQUE, mRotateDrawable.getOpacity()); in testGetOpacity()
|
D | StateListDrawableTest.java | 283 public int getOpacity() { in getOpacity() method in StateListDrawableTest.MockDrawable
|
D | DrawableTest.java | 636 public int getOpacity() { in getOpacity() method in DrawableTest.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 | 292 public int getOpacity() { in getOpacity() method in AbsSeekBarTest.MockDrawable
|
D | FrameLayoutTest.java | 339 public int getOpacity() { in getOpacity() method in FrameLayoutTest.MockDrawable
|
D | CompoundButtonTest.java | 379 public int getOpacity() { in getOpacity() method in CompoundButtonTest.MockDrawable
|
D | ProgressBarTest.java | 404 public int getOpacity() { in getOpacity() method in ProgressBarTest.MockDrawable
|
D | ImageViewTest.java | 581 public int getOpacity() { in getOpacity() method in ImageViewTest.MockDrawable
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowTest.java | 375 assertEquals(PixelFormat.OPAQUE, decor.getBackground().getOpacity()); in testSetBackgroundDrawable() 397 assertEquals(PixelFormat.TRANSPARENT, decor.getBackground().getOpacity()); in testSetBackgroundDrawable()
|
D | ViewTest.java | 3614 public int getOpacity() { in getOpacity() method in ViewTest.MockDrawable
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DialogTest.java | 893 public int getOpacity() { in getOpacity() method in DialogTest.MockDrawable
|