/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 46 t1.setAlpha(0.5f); in testCompose() 47 t2.setAlpha(0.4f); in testCompose() 77 t2.setAlpha(0.0f); in testClear() 122 t1.setAlpha(0.0f); in testSet() 132 transformation.setAlpha(0.0f); in testAccessAlpha() 135 transformation.setAlpha(0.5f); in testAccessAlpha() 138 transformation.setAlpha(1.0f); in testAccessAlpha()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 49 orig.setAlpha(0.5f); 64 outline.setAlpha(1.0f); 67 outline.setAlpha(0.0f); 70 outline.setAlpha(0.45f); 74 outline.setAlpha(4f); 76 outline.setAlpha(-30f); 83 orig.setAlpha(0.5f);
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewOutlineProviderTest.java | 62 outline.setAlpha(1.0f); in testBackground() 76 outline.setAlpha(0.123f); in testBackground() 92 outline.setAlpha(0.123f); in testBounds() 114 outline.setAlpha(0.123f); in testPaddedBounds()
|
/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 | 71 paint.setAlpha(128); in testLayerPaintAlpha() 75 view.setAlpha(0.5f); in testLayerPaintAlpha() 89 view.setAlpha(0.5f); in testLayerPaintSimpleAlphaWithHardware() 103 view.setAlpha(0.5f); in testLayerPaintSimpleAlphaWithSoftware() 127 child.setAlpha(0.0f); in testLayerPaintAlphaChanged() 140 root.getChildAt(0).setAlpha(1.00f); in testLayerPaintAlphaChanged() 200 root.setAlpha(0.5f); in testLayerClear() 239 root.setAlpha(0.5f); in testAlphaLayerChild() 508 webview.setAlpha(0.5f); in testWebViewWithAlpha() 529 paint.setAlpha(128); in testWebViewWithAlphaLayer() [all …]
|
D | AlphaBlendTest.java | 74 child.setAlpha(0.5f); in testBlendAlphaNonOverlappingView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 232 scaleDrawable.setAlpha(100); in testSetAlpha() 233 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 236 scaleDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 237 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 240 scaleDrawable.setAlpha(-1); in testSetAlpha() 241 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 485 d1.setAlpha(100); in testMutate() 491 d1.setAlpha(200); in testMutate() 496 d2.setAlpha(50); in testMutate() 502 mContext.getDrawable(R.drawable.scaledrawable).setAlpha(restoreAlpha); in testMutate() [all …]
|
D | DrawableWrapperTest.java | 243 wrapper.setAlpha(100); in testSetAlpha() 244 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 247 wrapper.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 248 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 251 wrapper.setAlpha(-1); in testSetAlpha() 252 verify(mockDrawable, times(1)).setAlpha(anyInt()); in testSetAlpha() 404 public void setAlpha(int alpha) { in setAlpha() method in DrawableWrapperTest.MockDrawable
|
D | RotateDrawableTest.java | 153 mRotateDrawable.setAlpha(100); in testSetAlpha() 156 mRotateDrawable.setAlpha(255); in testSetAlpha() 299 d1.setAlpha(100); in testMutate() 305 d1.setAlpha(200); in testMutate() 310 d2.setAlpha(50); in testMutate() 316 mResources.getDrawable(R.drawable.rotatedrawable).setAlpha(restoreAlpha); in testMutate()
|
D | BitmapDrawableTest.java | 279 bitmapDrawable.setAlpha(0); in testSetAlpha() 282 bitmapDrawable.setAlpha(100); in testSetAlpha() 286 bitmapDrawable.setAlpha(-1); in testSetAlpha() 289 bitmapDrawable.setAlpha(256); in testSetAlpha() 338 bitmapDrawable.setAlpha(120); in testGetOpacity() 520 d1.setAlpha(100); in testMutate() 526 d1.setAlpha(200); in testMutate() 530 d2.setAlpha(50); in testMutate() 536 resources.getDrawable(R.drawable.testimage).setAlpha(restoreAlpha); in testMutate()
|
D | InsetDrawableTest.java | 232 mInsetDrawable.setAlpha(1); in testSetAlpha() 233 mInsetDrawable.setAlpha(-1); in testSetAlpha() 235 mInsetDrawable.setAlpha(0); in testSetAlpha() 236 mInsetDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 237 mInsetDrawable.setAlpha(Integer.MIN_VALUE); in testSetAlpha() 252 mInsetDrawable.setAlpha(255); in testGetOpacity() 255 mInsetDrawable.setAlpha(100); in testGetOpacity() 427 first.mutate().setAlpha(128); in testMutate()
|
D | ColorDrawableTest.java | 62 colorDrawable.setAlpha(128); in testAccessAlpha() 68 colorDrawable.setAlpha(128); in testAccessAlpha() 71 colorDrawable.setAlpha(255); in testAccessAlpha()
|
D | ShapeDrawableTest.java | 150 shapeDrawable.getPaint().setAlpha(0); in testGetOpacity() 153 shapeDrawable.getPaint().setAlpha(128); in testGetOpacity() 333 shapeDrawable.setAlpha(0); in testSetAlpha() 334 shapeDrawable.setAlpha(255); in testSetAlpha() 335 shapeDrawable.setAlpha(-1); in testSetAlpha() 336 shapeDrawable.setAlpha(256); in testSetAlpha()
|
D | AnimatedVectorDrawableTest.java | 163 d1.setAlpha(newAlpha); in testMutate() 169 d1.setAlpha(0x40); in testMutate() 174 d2.setAlpha(0x20); in testMutate() 179 mResources.getDrawable(mResId).setAlpha(restoreAlpha); in testMutate() 188 d1.setAlpha(0); in testGetOpacity()
|
D | VectorDrawableTest.java | 358 d1.setAlpha(0x80); in testMutate() 364 d1.setAlpha(0x40); in testMutate() 369 d2.setAlpha(0x00); in testMutate() 374 d2.setAlpha(0x20); in testMutate() 379 mResources.getDrawable(R.drawable.vector_icon_create).setAlpha(restoreAlpha); in testMutate() 400 vectorDrawable.setAlpha(0); in testGetOpacity()
|
D | CustomDrawableTest.java | 84 public void setAlpha(int alpha) { in setAlpha() method in CustomDrawableTest.CustomDrawable
|
D | DrawableContainerTest.java | 224 mDrawableContainer.setAlpha(0); in testSetAlpha() 232 mDrawableContainer.setAlpha(1); in testSetAlpha() 233 verify(mockDrawable, times(1)).setAlpha(1); in testSetAlpha() 237 mDrawableContainer.setAlpha(1); in testSetAlpha() 238 verify(mockDrawable, never()).setAlpha(anyInt()); in testSetAlpha() 874 public void setAlpha(int alpha) { in setAlpha() method in DrawableContainerTest.MockDrawable
|
D | PictureDrawableTest.java | 95 pictureDrawable.setAlpha(0); in testSetAlpha()
|
D | ClipDrawableTest.java | 325 clipDrawable.setAlpha(0); in testSetAlpha() 328 clipDrawable.setAlpha(128); in testSetAlpha() 331 clipDrawable.setAlpha(255); in testSetAlpha()
|
D | LayerDrawableTest.java | 564 layerDrawable.setAlpha(0); in testSetAlpha() 565 verify(mockDrawable1, times(1)).setAlpha(anyInt()); in testSetAlpha() 566 verify(mockDrawable2, times(1)).setAlpha(anyInt()); in testSetAlpha() 570 layerDrawable.setAlpha(Integer.MAX_VALUE); in testSetAlpha() 571 verify(mockDrawable1, times(1)).setAlpha(anyInt()); in testSetAlpha() 572 verify(mockDrawable2, times(1)).setAlpha(anyInt()); in testSetAlpha() 1546 public void setAlpha(int alpha) { in setAlpha() method in LayerDrawableTest.MockDrawable 1643 d1.setAlpha(100); in testMutate() 1652 d1.setAlpha(200); in testMutate() 1660 d2.setAlpha(50); in testMutate() [all …]
|
/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/autofillservice/src/android/autofillservice/cts/ |
D | MyDrawable.java | 60 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()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | IconHeaderItemPresenter.java | 70 holder.view.setAlpha(mUnselectedAlpha + holder.getSelectLevel() * in onSelectLevelChanged()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicLut.java | 56 mIntrinsic.setAlpha(ct, mAlpha[ct]); in createTest()
|