Home
last modified time | relevance | path

Searched refs:setColor (Results 1 – 25 of 97) 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java175 mPaint.setColor(mZeroColor); in drawChannelFloat()
208 mPaint.setColor(mTextColor); in drawChannelFloat()
212 mPaint.setColor(mTraceColor); in drawChannelFloat()
226 mPaint.setColor(mTraceColor); in drawChannelFloat()
240 mPaint.setColor(mTextColor); in drawChannelFloat()
247 mPaint.setColor(mLimitsColor); in drawChannelFloat()
259 mPaint.setColor(mBackgroundColor); in onDraw()
264 mPaint.setColor(mTextColor); in onDraw()
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()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java70 p.setColor(Color.BLUE); in testBlueRect()
83 p.setColor(Color.BLACK); in testPoints()
97 p.setColor(Color.RED); in testBlackRectWithStroke()
100 p.setColor(Color.BLACK); in testBlackRectWithStroke()
113 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
126 p.setColor(Color.RED); in testDrawRedRectOnBlueBack()
138 p.setColor(Color.BLACK); in testDrawLine()
164 p.setColor(Color.WHITE); in testBasicText()
176 p.setColor(Color.BLACK); in drawTestTextOnPath()
246 p.setColor(Color.BLUE); in testBluePaddedSquare()
[all …]
DBitmapTests.java65 setColor(Color.BLUE); in BitmapView()
74 public void setColor(int color) { in setColor() method in BitmapTests.BitmapView
158 child.setColor(Color.RED); in testChangeDuringRtAnimation()
223 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
236 child.setColor(Color.RED); in testChangeDuringUiAnimation()
239 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
266 p.setColor(Color.BLUE); in testCreateFromPicture()
DRenderNodeTests.java426 paint.setColor(Color.BLUE); in testOffsetImplicitInputRenderEffect()
434 canvasClientPaint.setColor(Color.RED); in testOffsetImplicitInputRenderEffect()
479 paint.setColor(Color.BLUE); in testColorFilterRenderEffectImplicitInput()
526 paint.setColor(Color.BLUE); in testColorFilterRenderEffect()
556 paint.setColor(Color.BLUE); in testOffsetRenderEffect()
575 canvasClientPaint.setColor(Color.RED); in testOffsetRenderEffect()
667 mPaint.setColor(Color.WHITE); in draw()
671 mPaint.setColor(Color.BLUE); in draw()
717 paint.setColor(Color.WHITE); in testBlurRenderEffectImplicitInput()
720 paint.setColor(Color.BLUE); in testBlurRenderEffectImplicitInput()
[all …]
DForceDarkTests.java87 p.setColor(Color.BLACK); in testFgRect()
104 p.setColor(Color.BLACK); in testFgRectDisable()
127 p.setColor(Color.BLACK); in testSiblings()
DCanvasTests.java72 paint.setColor(PAINT_COLOR); in getPaint()
118 paint.setColor(Color.WHITE); in testDrawDoubleRoundRect()
121 paint.setColor(Color.RED); in testDrawDoubleRoundRect()
159 paint.setColor(Color.WHITE); in testDrawDoubleRoundRectWithRadii()
162 paint.setColor(Color.RED); in testDrawDoubleRoundRectWithRadii()
215 paint.setColor(Color.RED); in testDrawWithConcatenatedMatrix44()
924 paint.setColor(Color.WHITE); in testClipIntersectAndDifference()
930 paint.setColor(Color.GREEN); in testClipIntersectAndDifference()
935 paint.setColor(Color.RED); in testClipIntersectAndDifference()
975 paint.setColor(Color.WHITE); in testAntiAliasClipping()
[all …]
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/
DExpandingClipTest.java53 paint.setColor(Color.WHITE); in testClipReplace()
62 paint.setColor(Color.BLUE); in testClipReplace()
79 paint.setColor(Color.RED); in testClipUnsupportedExpandingOps()
/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/tests/tests/widget/src/android/widget/cts/
DTextViewHighlightTest.java63 mPaint.setColor(Color.BLACK); in setUp()
131 pathPaint.setColor(Color.GREEN); in drawRect()
161 pathPaint.setColor(Color.GREEN); in drawRectMultiple()
162 pathPaint2.setColor(Color.BLUE); in drawRectMultiple()
197 pathPaint.setColor(Color.GREEN); in drawRectCollapsed()
228 pathPaint.setColor(Color.GREEN); in drawRect_EditText()
258 pathPaint.setColor(Color.GREEN); in drawRectMultiple_EditText()
259 pathPaint2.setColor(Color.BLUE); in drawRectMultiple_EditText()
294 pathPaint.setColor(Color.GREEN); in drawRect_afterTextChange()
/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.java179 mPaint.setColor(Color.RED); in onDraw()
183 mPaint.setColor(Color.GREEN); in onDraw()
187 mPaint.setColor(Color.BLUE); in onDraw()
191 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/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()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DFaceView.java50 mPInnerBullsEye.setColor(Color.RED); in FaceView()
53 mPOuterBullsEye.setColor(Color.RED); in FaceView()

1234