/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 47 t1.setAlpha(0.5f); in testCompose() 48 t2.setAlpha(0.4f); in testCompose() 78 t2.setAlpha(0.0f); in testClear() 123 t1.setAlpha(0.0f); in testSet() 133 transformation.setAlpha(0.0f); in testAccessAlpha() 136 transformation.setAlpha(0.5f); in testAccessAlpha() 139 transformation.setAlpha(1.0f); in testAccessAlpha()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 50 orig.setAlpha(0.5f); 65 outline.setAlpha(1.0f); 68 outline.setAlpha(0.0f); 71 outline.setAlpha(0.45f); 75 outline.setAlpha(4f); 77 outline.setAlpha(-30f); 84 orig.setAlpha(0.5f);
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewOutlineProviderTest.java | 63 outline.setAlpha(1.0f); in testBackground() 77 outline.setAlpha(0.123f); in testBackground() 93 outline.setAlpha(0.123f); in testBounds() 115 outline.setAlpha(0.123f); in testPaddedBounds()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 70 paint.setAlpha(128); in testLayerPaintAlpha() 74 view.setAlpha(0.5f); in testLayerPaintAlpha() 88 view.setAlpha(0.5f); in testLayerPaintSimpleAlphaWithHardware() 102 view.setAlpha(0.5f); in testLayerPaintSimpleAlphaWithSoftware() 126 child.setAlpha(0.0f); in testLayerPaintAlphaChanged() 139 root.getChildAt(0).setAlpha(1.00f); in testLayerPaintAlphaChanged() 199 root.setAlpha(0.5f); in testLayerClear() 238 root.setAlpha(0.5f); in testAlphaLayerChild() 507 webview.setAlpha(0.5f); in testWebViewWithAlpha() 528 paint.setAlpha(128); in testWebViewWithAlphaLayer() [all …]
|
D | RenderNodeTests.java | 135 renderNode.setAlpha(.5f); in testAlphaOverlappingRendering() 156 renderNode.setAlpha(.5f); in testAlphaNonOverlappingRendering() 247 assertFalse(renderNode.setAlpha(1.0f)); in testAlphaGetSet() 248 assertTrue(renderNode.setAlpha(.5f)); in testAlphaGetSet() 250 assertTrue(renderNode.setAlpha(1.0f)); in testAlphaGetSet()
|
D | AlphaBlendTest.java | 75 child.setAlpha(0.5f); in testBlendAlphaNonOverlappingView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 233 scaleDrawable.setAlpha(100); in testSetAlpha() 234 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 237 scaleDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 238 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 241 scaleDrawable.setAlpha(-1); in testSetAlpha() 242 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 486 d1.setAlpha(100); in testMutate() 492 d1.setAlpha(200); in testMutate() 497 d2.setAlpha(50); in testMutate() 503 mContext.getDrawable(R.drawable.scaledrawable).setAlpha(restoreAlpha); in testMutate() [all …]
|
D | InsetDrawableTest.java | 231 mInsetDrawable.setAlpha(1); in testSetAlpha() 232 mInsetDrawable.setAlpha(-1); in testSetAlpha() 234 mInsetDrawable.setAlpha(0); in testSetAlpha() 235 mInsetDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 236 mInsetDrawable.setAlpha(Integer.MIN_VALUE); in testSetAlpha() 251 mInsetDrawable.setAlpha(255); in testGetOpacity() 254 mInsetDrawable.setAlpha(100); in testGetOpacity() 426 first.mutate().setAlpha(128); in testMutate()
|
D | RotateDrawableTest.java | 154 mRotateDrawable.setAlpha(100); in testSetAlpha() 157 mRotateDrawable.setAlpha(255); in testSetAlpha() 300 d1.setAlpha(100); in testMutate() 306 d1.setAlpha(200); in testMutate() 311 d2.setAlpha(50); in testMutate() 317 mResources.getDrawable(R.drawable.rotatedrawable).setAlpha(restoreAlpha); in testMutate()
|
D | DrawableWrapperTest.java | 255 wrapper.setAlpha(100); in testSetAlpha() 256 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 259 wrapper.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 260 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 263 wrapper.setAlpha(-1); in testSetAlpha() 264 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 432 public void setAlpha(int alpha) { in setAlpha() method in DrawableWrapperTest.MockDrawable
|
D | BitmapDrawableTest.java | 291 bitmapDrawable.setAlpha(0); in testSetAlpha() 294 bitmapDrawable.setAlpha(100); in testSetAlpha() 298 bitmapDrawable.setAlpha(-1); in testSetAlpha() 302 bitmapDrawable.setAlpha(256); in testSetAlpha() 361 bitmapDrawable.setAlpha(120); in testGetOpacity() 543 d1.setAlpha(100); in testMutate() 549 d1.setAlpha(200); in testMutate() 553 d2.setAlpha(50); in testMutate() 559 resources.getDrawable(R.drawable.testimage).setAlpha(restoreAlpha); in testMutate()
|
D | ShapeDrawableTest.java | 151 shapeDrawable.getPaint().setAlpha(0); in testGetOpacity() 154 shapeDrawable.getPaint().setAlpha(128); in testGetOpacity() 334 shapeDrawable.setAlpha(0); in testSetAlpha() 335 shapeDrawable.setAlpha(255); in testSetAlpha() 336 shapeDrawable.setAlpha(-1); in testSetAlpha() 337 shapeDrawable.setAlpha(256); in testSetAlpha()
|
D | AnimatedVectorDrawableTest.java | 175 d1.setAlpha(newAlpha); in testMutate() 181 d1.setAlpha(0x40); in testMutate() 186 d2.setAlpha(0x20); in testMutate() 191 mResources.getDrawable(mResId).setAlpha(restoreAlpha); in testMutate() 200 d1.setAlpha(0); in testGetOpacity()
|
D | VectorDrawableTest.java | 357 d1.setAlpha(0x80); in testMutate() 363 d1.setAlpha(0x40); in testMutate() 368 d2.setAlpha(0x00); in testMutate() 373 d2.setAlpha(0x20); in testMutate() 378 mResources.getDrawable(R.drawable.vector_icon_create).setAlpha(restoreAlpha); in testMutate() 399 vectorDrawable.setAlpha(0); in testGetOpacity()
|
D | ColorDrawableTest.java | 64 colorDrawable.setAlpha(128); in testAccessAlpha() 70 colorDrawable.setAlpha(128); in testAccessAlpha() 73 colorDrawable.setAlpha(255); in testAccessAlpha()
|
D | DrawableContainerTest.java | 228 mDrawableContainer.setAlpha(0); in testSetAlpha() 236 mDrawableContainer.setAlpha(1); in testSetAlpha() 237 verify(mockDrawable, times(1)).setAlpha(1); in testSetAlpha() 241 mDrawableContainer.setAlpha(1); in testSetAlpha() 242 verify(mockDrawable, never()).setAlpha(anyInt()); in testSetAlpha() 907 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerTest.MockDrawable
|
D | ColorStateListDrawableTest.java | 118 mDrawable.setAlpha(0); in testAlpha() 123 mDrawable.setAlpha(255); in testAlpha()
|
D | LayerDrawableTest.java | 565 layerDrawable.setAlpha(0); in testSetAlpha() 566 verify(mockDrawable1, times(1)).setAlpha(anyInt()); in testSetAlpha() 567 verify(mockDrawable2, times(1)).setAlpha(anyInt()); in testSetAlpha() 571 layerDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 572 verify(mockDrawable1, times(1)).setAlpha(anyInt()); in testSetAlpha() 573 verify(mockDrawable2, times(1)).setAlpha(anyInt()); in testSetAlpha() 1557 public void setAlpha(int alpha) { in setAlpha() method in LayerDrawableTest.MockDrawable 1654 d1.setAlpha(100); in testMutate() 1663 d1.setAlpha(200); in testMutate() 1671 d2.setAlpha(50); in testMutate() [all …]
|
D | DrawableTest.java | 892 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.MockDrawable 934 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.TestTintDrawable 979 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.TestNullPorterDuffDrawable 1009 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.TestNullBlendModeDrawable 1040 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.TestBlendModeImplementedDrawable 1086 public void setAlpha(int alpha) { in setAlpha() method in DrawableTest.TestPorterDuffImplementedDrawable
|
/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/testinfrastructure/ |
D | CanvasClientDrawable.java | 38 public void setAlpha(int alpha) {} in setAlpha() method in CanvasClientDrawable
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | CanvasClientDrawable.java | 38 public void setAlpha(int alpha) {} in setAlpha() method in CanvasClientDrawable
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 534 mockDrawable.setAlpha(colorAlpha); in testSetColorFilterPreservesDrawableProperties() 550 mockDrawable.setAlpha(colorAlpha); in testSetColorFilterPreservesDrawablePropertiesTintBlendMode() 712 mImageViewRegular.setAlpha(128); in testAlpha() 716 mImageViewRegular.setAlpha(0); in testAlpha() 720 mImageViewRegular.setAlpha(255); in testAlpha() 864 public void setAlpha(int alpha) { in setAlpha() method in ImageViewTest.MockDrawable
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MyDrawable.java | 62 public void setAlpha(int alpha) { in setAlpha() method in MyDrawable
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 51 mPaint.setAlpha(GRID_ALPHA); in onDraw()
|