/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/drawable/cts/ |
D | InsetDrawableTest.java | 199 insetDrawable.setAlpha(1); in testSetAlpha() 200 insetDrawable.setAlpha(-1); in testSetAlpha() 202 insetDrawable.setAlpha(0); in testSetAlpha() 203 insetDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 204 insetDrawable.setAlpha(Integer.MIN_VALUE); in testSetAlpha() 222 insetDrawable.setAlpha(255); in testGetOpacity() 225 insetDrawable.setAlpha(100); in testGetOpacity() 326 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 | 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 | RotateDrawableTest.java | 71 mRotateDrawable.setAlpha(100); in testSetAlpha() 74 mRotateDrawable.setAlpha(255); in testSetAlpha() 217 d1.setAlpha(100); in testMutate() 223 d1.setAlpha(200); in testMutate() 228 d2.setAlpha(50); in testMutate()
|
D | BitmapDrawableTest.java | 232 bitmapDrawable.setAlpha(0); in testSetAlpha() 235 bitmapDrawable.setAlpha(100); in testSetAlpha() 239 bitmapDrawable.setAlpha(-1); in testSetAlpha() 242 bitmapDrawable.setAlpha(256); in testSetAlpha() 288 bitmapDrawable.setAlpha(120); in testGetOpacity() 428 d1.setAlpha(100); in testMutate() 434 d1.setAlpha(200); in testMutate() 438 d2.setAlpha(50); in testMutate()
|
D | ScaleDrawableTest.java | 235 scaleDrawable.setAlpha(100); in testSetAlpha() 239 scaleDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 243 scaleDrawable.setAlpha(-1); in testSetAlpha() 451 d1.setAlpha(100); in testMutate() 457 d1.setAlpha(200); in testMutate() 462 d2.setAlpha(50); in testMutate() 493 public void setAlpha(int alpha) { in setAlpha() method in ScaleDrawableTest.MockDrawable
|
D | VectorDrawableTest.java | 276 d1.setAlpha(0x80); in testMutate() 282 d1.setAlpha(0x40); in testMutate() 287 d2.setAlpha(0x20); in testMutate() 292 d2.setAlpha(originalAlpha); in testMutate()
|
D | AnimatedVectorDrawableTest.java | 176 d1.setAlpha(newAlpha); in testMutate() 182 d1.setAlpha(0x40); in testMutate() 187 d2.setAlpha(0x20); 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 | 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 | PictureDrawableTest.java | 81 pictureDrawable.setAlpha(0); in testSetAlpha()
|
D | NinePatchDrawableTest.java | 161 mNinePatchDrawable.setAlpha(0); in testSetAlpha() 164 mNinePatchDrawable.setAlpha(-1); in testSetAlpha() 167 mNinePatchDrawable.setAlpha(0xfffe); in testSetAlpha()
|
D | GradientDrawableTest.java | 181 gradientDrawable.setAlpha(1); in testSetAlpha() 182 gradientDrawable.setAlpha(-1); in testSetAlpha()
|
D | StateListDrawableTest.java | 235 d1.getCurrent().setAlpha(100); in testMutate() 288 public void setAlpha(int alpha) { in setAlpha() method in StateListDrawableTest.MockDrawable
|
D | DrawableContainerTest.java | 148 mDrawableContainer.setAlpha(0); in testSetAlpha() 156 mDrawableContainer.setAlpha(1); in testSetAlpha() 161 mDrawableContainer.setAlpha(1); in testSetAlpha() 977 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerTest.MockDrawable
|
D | LevelListDrawableTest.java | 227 public void setAlpha(int alpha) { in setAlpha() method in LevelListDrawableTest.MockDrawable
|
D | LayerDrawableTest.java | 537 layerDrawable.setAlpha(0); in testSetAlpha() 543 layerDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 1442 public void setAlpha(int alpha) { in setAlpha() method in LayerDrawableTest.MockDrawable 1561 d1.setAlpha(100); in testMutate() 1570 d1.setAlpha(200); in testMutate() 1578 d2.setAlpha(50); in testMutate()
|
D | DrawableContainerStateTest.java | 273 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerStateTest.MockDrawable
|
/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/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 46 paint.setAlpha(128); in testLayerPaintAlpha() 50 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/cts/jank/leanback/presenter/ |
D | IconHeaderItemPresenter.java | 70 holder.view.setAlpha(mUnselectedAlpha + holder.getSelectLevel() * in onSelectLevelChanged()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 386 imageView.setAlpha(0); in testSetAlpha() 389 imageView.setAlpha(255); in testSetAlpha() 567 public void setAlpha(int alpha) { in setAlpha() method in ImageViewTest.MockDrawable
|