Home
last modified time | relevance | path

Searched refs:setAlpha (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java32 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/
DInsetDrawableTest.java199 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()
DColorDrawableTest.java50 colorDrawable.setAlpha(128); in testAccessAlpha()
56 colorDrawable.setAlpha(128); in testAccessAlpha()
59 colorDrawable.setAlpha(255); in testAccessAlpha()
DShapeDrawableTest.java127 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()
DRotateDrawableTest.java71 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()
DBitmapDrawableTest.java232 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()
DScaleDrawableTest.java235 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
DVectorDrawableTest.java276 d1.setAlpha(0x80); in testMutate()
282 d1.setAlpha(0x40); in testMutate()
287 d2.setAlpha(0x20); in testMutate()
292 d2.setAlpha(originalAlpha); in testMutate()
DAnimatedVectorDrawableTest.java176 d1.setAlpha(newAlpha); in testMutate()
182 d1.setAlpha(0x40); in testMutate()
187 d2.setAlpha(0x20); in testMutate()
DDrawableWrapperTest.java241 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
DClipDrawableTest.java287 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
DPictureDrawableTest.java81 pictureDrawable.setAlpha(0); in testSetAlpha()
DNinePatchDrawableTest.java161 mNinePatchDrawable.setAlpha(0); in testSetAlpha()
164 mNinePatchDrawable.setAlpha(-1); in testSetAlpha()
167 mNinePatchDrawable.setAlpha(0xfffe); in testSetAlpha()
DGradientDrawableTest.java181 gradientDrawable.setAlpha(1); in testSetAlpha()
182 gradientDrawable.setAlpha(-1); in testSetAlpha()
DStateListDrawableTest.java235 d1.getCurrent().setAlpha(100); in testMutate()
288 public void setAlpha(int alpha) { in setAlpha() method in StateListDrawableTest.MockDrawable
DDrawableContainerTest.java148 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
DLevelListDrawableTest.java227 public void setAlpha(int alpha) { in setAlpha() method in LevelListDrawableTest.MockDrawable
DLayerDrawableTest.java537 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()
DDrawableContainerStateTest.java273 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerStateTest.MockDrawable
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java84 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/
DLayerTests.java46 paint.setAlpha(128); in testLayerPaintAlpha()
50 view.setAlpha(0.5f); in testLayerPaintAlpha()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCameraPreviewView.java51 mPaint.setAlpha(GRID_ALPHA); in onDraw()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicLut.java47 mIntrinsic.setAlpha(ct, mAlpha[ct]); in createTest()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/presenter/
DIconHeaderItemPresenter.java70 holder.view.setAlpha(mUnselectedAlpha + holder.getSelectLevel() * in onSelectLevelChanged()
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java386 imageView.setAlpha(0); in testSetAlpha()
389 imageView.setAlpha(255); in testSetAlpha()
567 public void setAlpha(int alpha) { in setAlpha() method in ImageViewTest.MockDrawable

12