Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java50 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
55 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
60 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
67 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
73 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
79 paint.setColor(Color.argb(255, 60, 20, 40)); in testLightingColorFilter()
87 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()
DPictureTest.java77 paint.setColor(Color.GREEN); in createImbalance()
142 paint.setColor(Color.GREEN); in drawPicture()
146 paint.setColor(Color.RED); in drawPicture()
149 paint.setColor(Color.BLUE); in drawPicture()
DDiscretePathEffectTest.java55 paint.setColor(Color.GREEN); in testDiscretePathEffect()
72 paint.setColor(Color.RED); in testDiscretePathEffect()
79 paint.setColor(Color.BLUE); in testDiscretePathEffect()
DPathDashPathEffectTest.java54 p.setColor(Color.RED); in testPathDashPathEffect()
61 p.setColor(Color.RED); in testPathDashPathEffect()
DCornerPathEffectTest.java59 pathPaint.setColor(Color.GREEN); in testCornerPathEffect()
80 expectedPaint.setColor(Color.RED); in testCornerPathEffect()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java58 p.setColor(Color.BLUE); in testBlueRect()
71 p.setColor(Color.BLACK); in testPoints()
84 p.setColor(Color.RED); in testBlackRectWithStroke()
87 p.setColor(Color.BLACK); in testBlackRectWithStroke()
100 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
113 p.setColor(Color.RED); in testDrawRedRectOnBlueBack()
125 p.setColor(Color.BLACK); in testDrawLine()
148 p.setColor(Color.WHITE); in testBasicText()
160 p.setColor(Color.BLACK); in drawTestTextOnPath()
224 p.setColor(Color.BLUE); in testBluePaddedSquare()
[all …]
DBitmapTests.java63 setColor(Color.BLUE); in BitmapView()
71 public void setColor(int color) { in setColor() method in BitmapTests.BitmapView
128 child.setColor(Color.RED); in testChangeDuringRtAnimation()
134 child.setColor(Color.BLUE); in testChangeDuringRtAnimation()
190 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
203 child.setColor(Color.RED); in testChangeDuringUiAnimation()
206 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
232 p.setColor(Color.BLUE); in testCreateFromPicture()
DForceDarkTests.java79 p.setColor(Color.BLACK); in testFgRect()
96 p.setColor(Color.BLACK); in testFgRectDisable()
119 p.setColor(Color.BLACK); in testSiblings()
DGradientTests.java43 paint.setColor(Color.RED); in testAlphaPreMultiplication()
46 paint.setColor(Color.WHITE); in testAlphaPreMultiplication()
DEdgeEffectTests.java107 edgeEffect.setColor(Color.RED); in assertEdgeEffect()
136 edgeEffect.setColor(Color.GREEN); in testSetColor()
187 effect.setColor(Color.GREEN); in testGetColor()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java62 mMandatorySystemGesturePaint.setColor(Color.RED); in WindowInsetsPresenterDrawable()
69 mSystemGesturePaint.setColor(Color.GREEN); in WindowInsetsPresenterDrawable()
76 mTappableElementPaint.setColor(Color.BLUE); in WindowInsetsPresenterDrawable()
82 mSystemWindowPaint.setColor(Color.YELLOW); in WindowInsetsPresenterDrawable()
86 mTouchPaint.setColor(0x4ffff070); in WindowInsetsPresenterDrawable()
92 mTouchTrackPaint.setColor(Color.WHITE); in WindowInsetsPresenterDrawable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java120 mCursorPaint.setColor(Color.BLUE); in init()
123 mLimitPaint.setColor(Color.YELLOW); in init()
126 mCoveredPaint.setColor(Color.CYAN); in init()
129 mRangePaint.setColor(Color.DKGRAY); in init()
132 mEraserPaint.setColor(Color.TRANSPARENT); in init()
227 p.setColor(Color.YELLOW); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyViewProducerActivity.java165 mPaint.setColor(Color.RED); in onDraw()
169 mPaint.setColor(Color.GREEN); in onDraw()
173 mPaint.setColor(Color.BLUE); in onDraw()
177 mPaint.setColor(Color.BLACK); in onDraw()
DASurfaceControlTest.java267 public void setColor(long surfaceControl, long surfaceTransaction, float red, float green, in setColor() method in ASurfaceControlTest.BasicSurfaceHolderCallback
273 public void setColor(long surfaceControl, float red, float green, float blue, float alpha) { in setColor() method in ASurfaceControlTest.BasicSurfaceHolderCallback
275 setColor(surfaceControl, surfaceTransaction, red, green, blue, alpha); in setColor()
1349 setColor(surfaceControl, 0, 1.0f, 0, 1.0f); in testSurfaceTransaction_setColor()
1369 setColor(parentSurfaceControl, 0, 1.0f, 0, 1.0f); in testSurfaceTransaction_noColorNoBuffer()
1387 setColor(parentSurfaceControl, 0, 0, 1.0f, 0); in testSurfaceTransaction_setColorAlpha()
1409 setColor(surfaceControl, 0, 1.0f, 0, 1.0f); in testSurfaceTransaction_setColorAndBuffer()
1432 setColor(surfaceControl, 0, 0, 1.0f, 1.0f); in testSurfaceTransaction_setColorAndBuffer_bufferAlpha_0_5()
1452 setColor(surfaceControlA, 1.0f, 0, 0, 1.0f); in testSurfaceTransaction_setBufferNoColor_bufferAlpha_0()
1477 setColor(parentSurfaceControl, 0, 1.0f, 0, 1.0f); in testSurfaceTransaction_setColorAndBuffer_hide()
[all …]
/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/tests/tests/uirendering27/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java72 mPaint.setColor(mMaskColor); in draw()
78 paint.setColor(mBitmapColor); in createBitmap()
/cts/tests/tests/uirendering/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java72 mPaint.setColor(mMaskColor); in draw()
78 paint.setColor(mBitmapColor); in createBitmap()
/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/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java77 paint.setColor(TEST_COLOR_1); in testDraw()
85 paint.setColor(TEST_COLOR_2); in testDraw()
DPathShapeTest.java71 paint.setColor(TEST_COLOR_1); in testDraw()
78 paint.setColor(TEST_COLOR_2); in testDraw()
DOvalShapeTest.java62 paint.setColor(TEST_COLOR_1); in testDraw()
70 paint.setColor(TEST_COLOR_2); in testDraw()
/cts/tests/tests/media/src/android/media/cts/
DFaceView.java50 mPInnerBullsEye.setColor(Color.RED); in FaceView()
53 mPOuterBullsEye.setColor(Color.RED); in FaceView()
/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java168 mPaint.setColor(mBackgroundColor); in onDraw()
171 mPaint.setColor(mTraceColor); in onDraw()

123