Home
last modified time | relevance | path

Searched refs:setColor (Results 1 – 25 of 57) sorted by relevance

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java49 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
54 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
59 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
66 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
72 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
78 paint.setColor(Color.argb(255, 60, 20, 40)); in testLightingColorFilter()
86 paint.setColor(Color.argb(0x80, 60, 20, 40)); in testLightingColorFilter()
DColorMatrixColorFilterTest.java56 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
60 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
63 paint.setColor(Color.RED); in testColorMatrixColorFilter()
67 paint.setColor(Color.MAGENTA); in testColorMatrixColorFilter()
79 paint.setColor(Color.RED); in testColorMatrixColorFilter()
86 paint.setColor(Color.CYAN); in testColorMatrixColorFilter()
DDiscretePathEffectTest.java54 paint.setColor(Color.GREEN); in testDiscretePathEffect()
71 paint.setColor(Color.RED); in testDiscretePathEffect()
78 paint.setColor(Color.BLUE); in testDiscretePathEffect()
DPictureTest.java91 paint.setColor(Color.GREEN); in createImbalance()
167 paint.setColor(Color.GREEN); in drawPicture()
171 paint.setColor(Color.RED); in drawPicture()
174 paint.setColor(Color.BLUE); in drawPicture()
DPathDashPathEffectTest.java53 p.setColor(Color.RED); in testPathDashPathEffect()
60 p.setColor(Color.RED); in testPathDashPathEffect()
DCornerPathEffectTest.java58 pathPaint.setColor(Color.GREEN); in testCornerPathEffect()
79 expectedPaint.setColor(Color.RED); in testCornerPathEffect()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java53 p.setColor(Color.BLUE); in testBlueRect()
66 p.setColor(Color.BLACK); in testPoints()
79 p.setColor(Color.RED); in testBlackRectWithStroke()
82 p.setColor(Color.BLACK); in testBlackRectWithStroke()
95 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
108 p.setColor(Color.RED); in testDrawRedRectOnBlueBack()
120 p.setColor(Color.BLACK); in testDrawLine()
143 p.setColor(Color.WHITE); in testBasicText()
155 p.setColor(Color.BLACK); in drawTestTextOnPath()
211 p.setColor(Color.BLUE); in testBluePaddedSquare()
[all …]
DBitmapTests.java62 setColor(Color.BLUE); in BitmapView()
70 public void setColor(int color) { in setColor() method in BitmapTests.BitmapView
127 child.setColor(Color.RED); in testChangeDuringRtAnimation()
133 child.setColor(Color.BLUE); in testChangeDuringRtAnimation()
189 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
202 child.setColor(Color.RED); in testChangeDuringUiAnimation()
205 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
231 p.setColor(Color.BLUE); in testCreateFromPicture()
DGradientTests.java41 paint.setColor(Color.RED); in testAlphaPreMultiplication()
44 paint.setColor(Color.WHITE); in testAlphaPreMultiplication()
DEdgeEffectTests.java104 edgeEffect.setColor(Color.RED); in assertEdgeEffect()
133 edgeEffect.setColor(Color.GREEN); in testSetColor()
173 effect.setColor(Color.GREEN); in testGetColor()
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java72 public void setColor(int value) { in setColor() method in ShapeHolder
73 mShape.getPaint().setColor(value); in setColor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java117 mCursorPaint.setColor(Color.BLUE); in init()
120 mLimitPaint.setColor(Color.YELLOW); in init()
123 mCoveredPaint.setColor(Color.CYAN); in init()
126 mRangePaint.setColor(Color.DKGRAY); in init()
129 mEraserPaint.setColor(Color.TRANSPARENT); in init()
209 p.setColor(Color.YELLOW); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyViewProducerActivity.java162 mPaint.setColor(Color.RED); in onDraw()
166 mPaint.setColor(Color.GREEN); in onDraw()
170 mPaint.setColor(Color.BLUE); in onDraw()
174 mPaint.setColor(Color.BLACK); in onDraw()
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java60 goldenPaint.setColor(defaultColor); in assertAllPixelsOfColor()
64 goldenPaint.setColor(colorRectangle.second); in assertAllPixelsOfColor()
/cts/tests/tests/media/src/android/media/cts/
DFaceView.java50 mPInnerBullsEye.setColor(Color.RED); in FaceView()
53 mPOuterBullsEye.setColor(Color.RED); in FaceView()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java76 paint.setColor(TEST_COLOR_1); in testDraw()
84 paint.setColor(TEST_COLOR_2); in testDraw()
DPathShapeTest.java70 paint.setColor(TEST_COLOR_1); in testDraw()
77 paint.setColor(TEST_COLOR_2); in testDraw()
DOvalShapeTest.java61 paint.setColor(TEST_COLOR_1); in testDraw()
69 paint.setColor(TEST_COLOR_2); in testDraw()
DShapeTest.java114 paint.setColor(TEST_COLOR_1); in testDraw()
120 paint.setColor(TEST_COLOR_2); in testDraw()
DRectShapeTest.java68 paint.setColor(TEST_COLOR_1); in testDraw()
74 paint.setColor(TEST_COLOR_2); in testDraw()
DRoundRectShapeTest.java82 paint.setColor(TEST_COLOR_1); in testDraw()
89 paint.setColor(TEST_COLOR_2); in testDraw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java168 mPaint.setColor(mBackgroundColor); in onDraw()
171 mPaint.setColor(mTraceColor); in onDraw()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java79 gradientDrawable.setColor(Color.TRANSPARENT); in testGetOpacity()
83 gradientDrawable.setColor(0x80FFFFFF); in testGetOpacity()
95 gradientDrawable.setColor(Color.RED); in testGetOpacity()
335 gradientDrawable.setColor(color); in testSetColor()
340 gradientDrawable.setColor(color); in testSetColor()
367 gradientDrawable.setColor(color); in testSetColorList()
371 gradientDrawable.setColor(color); in testSetColorList()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java217 paint.setColor(0xffffffff); in drawContents()
227 paint.setColor(Color.BLACK); in drawContents()
244 paint.setColor(Color.GREEN); in drawContents()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java54 mPaint.setColor(Color.BLACK); in DaveyView()

123