Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java39 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
44 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
49 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
56 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
62 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
68 paint.setColor(Color.argb(255, 60, 20, 40)); in testLightingColorFilter()
76 paint.setColor(Color.argb(0x80, 60, 20, 40)); in testLightingColorFilter()
DColorMatrixColorFilterTest.java47 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
51 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
54 paint.setColor(Color.RED); in testColorMatrixColorFilter()
58 paint.setColor(Color.MAGENTA); in testColorMatrixColorFilter()
70 paint.setColor(Color.RED); in testColorMatrixColorFilter()
77 paint.setColor(Color.CYAN); in testColorMatrixColorFilter()
DAvoidXfermodeTest.java41 greenPaint.setColor(Color.GREEN); in testAvoidXfermode()
45 redAvoidingGreenPaint.setColor(Color.RED); in testAvoidXfermode()
50 blueTargetingGreenPaint.setColor(Color.BLUE); in testAvoidXfermode()
DDiscretePathEffectTest.java46 paint.setColor(Color.GREEN); in testDiscretePathEffect()
63 paint.setColor(Color.RED); in testDiscretePathEffect()
70 paint.setColor(Color.BLUE); in testDiscretePathEffect()
DPictureTest.java83 paint.setColor(Color.GREEN); in createImbalance()
151 paint.setColor(Color.GREEN); in drawPicture()
155 paint.setColor(Color.RED); in drawPicture()
158 paint.setColor(Color.BLUE); in drawPicture()
DPathDashPathEffectTest.java47 p.setColor(Color.RED); in testPathDashPathEffect()
54 p.setColor(Color.RED); in testPathDashPathEffect()
DCornerPathEffectTest.java50 pathPaint.setColor(Color.GREEN); in testCornerPathEffect()
71 expectedPaint.setColor(Color.RED); in testCornerPathEffect()
DComposePathEffectTest.java74 paint.setColor(Color.GREEN); in makePaint()
DSumPathEffectTest.java51 paint.setColor(Color.GREEN); in testSumPathEffect()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java46 p.setColor(Color.BLUE); in testBlueRect()
62 p.setColor(Color.BLACK); in testPoints()
78 p.setColor(Color.RED); in testBlackRectWithStroke()
81 p.setColor(Color.BLACK); in testBlackRectWithStroke()
97 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
113 p.setColor(Color.RED); in testDrawRedRectOnBlueBack()
128 p.setColor(Color.BLACK); in testDrawLine()
159 p.setColor(Color.WHITE); in testBasicText()
195 p.setColor(Color.BLUE); in testBluePaddedSquare()
DPathClippingTests.java48 paint.setColor(Color.BLUE);
173 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
DPictureTest.java37 pt.setColor(Color.GREEN); in greenSquare()
/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/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java53 paint.setColor(TEST_COLOR_1); in testDraw()
61 paint.setColor(TEST_COLOR_2); in testDraw()
DOvalShapeTest.java48 paint.setColor(TEST_COLOR_1); in testDraw()
56 paint.setColor(TEST_COLOR_2); in testDraw()
DRoundRectShapeTest.java70 paint.setColor(TEST_COLOR_1); in testDraw()
77 paint.setColor(TEST_COLOR_2); in testDraw()
DPathShapeTest.java59 paint.setColor(TEST_COLOR_1); in testDraw()
66 paint.setColor(TEST_COLOR_2); in testDraw()
DRectShapeTest.java55 paint.setColor(TEST_COLOR_1); in testDraw()
61 paint.setColor(TEST_COLOR_2); in testDraw()
DShapeTest.java101 paint.setColor(TEST_COLOR_1); in testDraw()
107 paint.setColor(TEST_COLOR_2); in testDraw()
/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/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/cts/
DGradientDrawableTest.java160 gradientDrawable.setColor(8); in testSetColor()
161 gradientDrawable.setColor(-8); in testSetColor()
163 gradientDrawable.setColor(Integer.MAX_VALUE); in testSetColor()
164 gradientDrawable.setColor(Integer.MIN_VALUE); in testSetColor()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java52 paint.setColor(Color.BLACK); in onDraw()
/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/managedprovisioning/
DNfcTestActivity.java138 paint.setColor(Color.WHITE); in createSampleImage()
140 paint.setColor(Color.RED); in createSampleImage()

12