/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 32 t1.setAlpha(0.5f); in testCompose() 33 t2.setAlpha(0.4f); in testCompose() 62 t2.setAlpha(0.0f); in testClear() 105 t1.setAlpha(0.0f); in testSet() 114 transformation.setAlpha(0.0f); in testAccessAlpha() 117 transformation.setAlpha(0.5f); in testAccessAlpha() 120 transformation.setAlpha(1.0f); in testAccessAlpha()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 46 outline.setAlpha(1.0f); 49 outline.setAlpha(0.0f); 52 outline.setAlpha(0.45f); 56 outline.setAlpha(4f); 58 outline.setAlpha(-30f);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 84 public void setAlpha(float alpha) { in setAlpha() method in ShapeHolder 86 mShape.setAlpha((int)((alpha * 255f) + .5f)); in setAlpha()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ShapeDrawableTest.java | 127 shapeDrawable.getPaint().setAlpha(0); in testGetOpacity() 130 shapeDrawable.getPaint().setAlpha(128); in testGetOpacity() 301 shapeDrawable.setAlpha(0); in testSetAlpha() 302 shapeDrawable.setAlpha(255); in testSetAlpha() 303 shapeDrawable.setAlpha(-1); in testSetAlpha() 304 shapeDrawable.setAlpha(256); in testSetAlpha()
|
D | InsetDrawableTest.java | 203 insetDrawable.setAlpha(1); in testSetAlpha() 204 insetDrawable.setAlpha(-1); in testSetAlpha() 206 insetDrawable.setAlpha(0); in testSetAlpha() 207 insetDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 208 insetDrawable.setAlpha(Integer.MIN_VALUE); in testSetAlpha() 226 insetDrawable.setAlpha(255); in testGetOpacity() 229 insetDrawable.setAlpha(100); in testGetOpacity() 350 first.mutate().setAlpha(128); in testMutate()
|
D | ColorDrawableTest.java | 50 colorDrawable.setAlpha(128); in testAccessAlpha() 56 colorDrawable.setAlpha(128); in testAccessAlpha() 59 colorDrawable.setAlpha(255); in testAccessAlpha()
|
D | RotateDrawableTest.java | 125 mRotateDrawable.setAlpha(100); in testSetAlpha() 128 mRotateDrawable.setAlpha(255); in testSetAlpha() 271 d1.setAlpha(100); in testMutate() 277 d1.setAlpha(200); in testMutate() 282 d2.setAlpha(50); in testMutate()
|
D | VectorDrawableTest.java | 385 d1.setAlpha(0x80); in testMutate() 391 d1.setAlpha(0x40); in testMutate() 396 d2.setAlpha(0x00); in testMutate() 401 d2.setAlpha(0x20); in testMutate() 406 d3.setAlpha(originalAlpha); in testMutate() 437 vectorDrawable.setAlpha(0); in testGetOpacity()
|
D | ScaleDrawableTest.java | 236 scaleDrawable.setAlpha(100); in testSetAlpha() 240 scaleDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 244 scaleDrawable.setAlpha(-1); in testSetAlpha() 474 d1.setAlpha(100); in testMutate() 480 d1.setAlpha(200); in testMutate() 485 d2.setAlpha(50); in testMutate() 516 public void setAlpha(int alpha) { in setAlpha() method in ScaleDrawableTest.MockDrawable
|
D | BitmapDrawableTest.java | 259 bitmapDrawable.setAlpha(0); in testSetAlpha() 262 bitmapDrawable.setAlpha(100); in testSetAlpha() 266 bitmapDrawable.setAlpha(-1); in testSetAlpha() 269 bitmapDrawable.setAlpha(256); in testSetAlpha() 315 bitmapDrawable.setAlpha(120); in testGetOpacity() 488 d1.setAlpha(100); in testMutate() 494 d1.setAlpha(200); in testMutate() 498 d2.setAlpha(50); in testMutate()
|
D | DrawableWrapperTest.java | 241 wrapper.setAlpha(100); in testSetAlpha() 245 wrapper.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 249 wrapper.setAlpha(-1); in testSetAlpha() 403 public void setAlpha(int alpha) { in setAlpha() method in DrawableWrapperTest.MockDrawable
|
D | AnimatedVectorDrawableTest.java | 218 d1.setAlpha(newAlpha); in testMutate() 224 d1.setAlpha(0x40); in testMutate() 229 d2.setAlpha(0x20); in testMutate() 239 d1.setAlpha(0); in testGetOpacity()
|
D | ClipDrawableTest.java | 287 clipDrawable.setAlpha(0); in testSetAlpha() 290 clipDrawable.setAlpha(128); in testSetAlpha() 293 clipDrawable.setAlpha(255); in testSetAlpha() 373 public void setAlpha(int alpha) { in setAlpha() method in ClipDrawableTest.MockDrawable
|
D | CustomDrawableTest.java | 75 public void setAlpha(int alpha) { in setAlpha() method in CustomDrawableTest.CustomDrawable
|
D | PictureDrawableTest.java | 81 pictureDrawable.setAlpha(0); in testSetAlpha()
|
D | StateListDrawableTest.java | 311 d1.getCurrent().setAlpha(100); in testMutate() 364 public void setAlpha(int alpha) { in setAlpha() method in StateListDrawableTest.MockDrawable
|
D | DrawableContainerTest.java | 185 dr.setAlpha(0); in testSetAlpha() 193 dr.setAlpha(1); in testSetAlpha() 198 dr.setAlpha(1); in testSetAlpha() 1035 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerTest.MockDrawable
|
D | NinePatchDrawableTest.java | 177 mNinePatchDrawable.setAlpha(0); in testSetAlpha() 180 mNinePatchDrawable.setAlpha(-1); in testSetAlpha() 183 mNinePatchDrawable.setAlpha(0xfffe); in testSetAlpha()
|
D | LevelListDrawableTest.java | 227 public void setAlpha(int alpha) { in setAlpha() method in LevelListDrawableTest.MockDrawable
|
D | LayerDrawableTest.java | 562 layerDrawable.setAlpha(0); in testSetAlpha() 568 layerDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 1518 public void setAlpha(int alpha) { in setAlpha() method in LayerDrawableTest.MockDrawable 1664 d1.setAlpha(100); in testMutate() 1673 d1.setAlpha(200); in testMutate() 1681 d2.setAlpha(50); in testMutate() 1862 public void setAlpha(int alpha) { in setAlpha() method in LayerDrawableTest.IntrinsicSizeDrawable
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 49 paint.setAlpha(128); in testLayerPaintAlpha() 53 view.setAlpha(0.5f); in testLayerPaintAlpha()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 51 mPaint.setAlpha(GRID_ALPHA); in onDraw()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicLut.java | 47 mIntrinsic.setAlpha(ct, mAlpha[ct]); in createTest()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | IconHeaderItemPresenter.java | 70 holder.view.setAlpha(mUnselectedAlpha + holder.getSelectLevel() * in onSelectLevelChanged()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 567 mImageView.setAlpha(128); in testAlpha() 571 mImageView.setAlpha(0); in testAlpha() 575 mImageView.setAlpha(255); in testAlpha()
|