Home
last modified time | relevance | path

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

1234

/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()
61 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
64 paint.setColor(Color.RED); in testColorMatrixColorFilter()
68 paint.setColor(Color.MAGENTA); in testColorMatrixColorFilter()
80 paint.setColor(Color.RED); in testColorMatrixColorFilter()
87 paint.setColor(Color.CYAN); in testColorMatrixColorFilter()
DPictureTest.java77 paint.setColor(Color.GREEN); in createImbalance()
142 paint.setColor(Color.GREEN); in drawPicture()
147 paint.setColor(Color.RED); in drawPicture()
150 paint.setColor(Color.BLUE); in drawPicture()
DDiscretePathEffectTest.java55 paint.setColor(Color.GREEN); in testDiscretePathEffect()
73 paint.setColor(Color.RED); in testDiscretePathEffect()
80 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()
81 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()
149 p.setColor(Color.WHITE); in testBasicText()
161 p.setColor(Color.BLACK); in drawTestTextOnPath()
225 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()
DRenderNodeTests.java419 paint.setColor(Color.BLUE); in testOffsetImplicitInputRenderEffect()
427 canvasClientPaint.setColor(Color.RED); in testOffsetImplicitInputRenderEffect()
472 paint.setColor(Color.BLUE); in testColorFilterRenderEffectImplicitInput()
519 paint.setColor(Color.BLUE); in testColorFilterRenderEffect()
549 paint.setColor(Color.BLUE); in testOffsetRenderEffect()
568 canvasClientPaint.setColor(Color.RED); in testOffsetRenderEffect()
660 mPaint.setColor(Color.WHITE); in draw()
664 mPaint.setColor(Color.BLUE); in draw()
710 paint.setColor(Color.WHITE); in testBlurRenderEffectImplicitInput()
713 paint.setColor(Color.BLUE); in testBlurRenderEffectImplicitInput()
[all …]
/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/tests/tests/text/src/android/text/cts/
DTextShaperTest.java169 paint.setColor(Color.BLUE); in testDrawConsistencyNoStyle()
177 paint.setColor(Color.BLUE); in testDrawConsistencyNoStyleMultiFont()
185 paint.setColor(Color.BLUE); in testDrawConsistencyMultiStyle()
197 paint.setColor(Color.BLUE); in testDrawConsistencyBidi()
207 paint.setColor(Color.BLUE); in testDrawConsistencyBidi2()
217 paint.setColor(Color.BLUE); in testDrawConsistencyBidiMultiStyle()
231 paint.setColor(Color.BLUE); in testDrawConsistencyBidi2MultiStyle()
/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/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/uirendering/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java72 mPaint.setColor(mMaskColor); in draw()
78 paint.setColor(mBitmapColor); in createBitmap()
/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/view/src/android/view/cts/
DPixelCopyViewProducerActivity.java168 mPaint.setColor(Color.RED); in onDraw()
172 mPaint.setColor(Color.GREEN); in onDraw()
176 mPaint.setColor(Color.BLUE); in onDraw()
180 mPaint.setColor(Color.BLACK); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DAlphaTestView.java54 mPaint.setColor(mStartColor); in setStartColor()
63 mPaint.setColor(blendColor(mStartColor, mEndColor, 1.0f - alpha / 255.0f)); in onSetAlpha()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveformView.java57 mWavePaint.setColor(res.getColor(R.color.waveform_line)); in init()
62 mCursorPaint.setColor(Color.RED); in init()
66 mBackgroundPaint.setColor(res.getColor(R.color.waveform_background)); in init()
DWaveScopeView.java168 mPaint.setColor(mBackgroundColor); in onDraw()
171 mPaint.setColor(mTraceColor); 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/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()

1234