Home
last modified time | relevance | path

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

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java44 p.setColor(Color.BLUE); in testBlueRect()
57 p.setColor(Color.BLACK); in testPoints()
70 p.setColor(Color.RED); in testBlackRectWithStroke()
73 p.setColor(Color.BLACK); in testBlackRectWithStroke()
86 p.setColor(Color.BLACK); in testBlackLineOnGreenBack()
99 p.setColor(Color.RED); in testDrawRedRectOnBlueBack()
111 p.setColor(Color.BLACK); in testDrawLine()
134 p.setColor(Color.WHITE); in testBasicText()
164 p.setColor(Color.BLUE); in testBluePaddedSquare()
178 p.setColor(Color.BLACK); in testEmptyLayer()
DPathClippingTests.java46 paint.setColor(Color.BLUE);
156 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
DXfermodeTest.java155 srcPaint.setColor(SRC_COLOR);
164 dstPaint.setColor(DST_COLOR);
DPictureTest.java38 pt.setColor(Color.GREEN); in greenSquare()
/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()
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()
/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/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/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java56 paint.setColor(TEST_COLOR_1); in testDraw()
64 paint.setColor(TEST_COLOR_2); in testDraw()
DOvalShapeTest.java50 paint.setColor(TEST_COLOR_1); in testDraw()
58 paint.setColor(TEST_COLOR_2); in testDraw()
DPathShapeTest.java62 paint.setColor(TEST_COLOR_1); in testDraw()
69 paint.setColor(TEST_COLOR_2); in testDraw()
DShapeTest.java105 paint.setColor(TEST_COLOR_1); in testDraw()
111 paint.setColor(TEST_COLOR_2); in testDraw()
DRectShapeTest.java58 paint.setColor(TEST_COLOR_1); in testDraw()
64 paint.setColor(TEST_COLOR_2); in testDraw()
DRoundRectShapeTest.java72 paint.setColor(TEST_COLOR_1); in testDraw()
79 paint.setColor(TEST_COLOR_2); in testDraw()
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java59 goldenPaint.setColor(defaultColor); in assertAllPixelsOfColor()
63 goldenPaint.setColor(colorRectangle.second); in assertAllPixelsOfColor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java62 gradientDrawable.setColor(Color.TRANSPARENT); in testGetOpacity()
66 gradientDrawable.setColor(0x80FFFFFF); in testGetOpacity()
78 gradientDrawable.setColor(Color.RED); in testGetOpacity()
83 gradientDrawable.setColor(Color.RED); in testGetOpacity()
294 gradientDrawable.setColor(color); in testSetColor()
299 gradientDrawable.setColor(color); in testSetColor()
326 gradientDrawable.setColor(color); in testSetColorList()
330 gradientDrawable.setColor(color); in testSetColorList()
/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()
DCameraPreviewView.java46 mPaint.setColor(Color.GREEN); in onDraw()
/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/managedprovisioning/
DNfcTestActivity.java138 paint.setColor(Color.WHITE); in createSampleImage()
140 paint.setColor(Color.RED); in createSampleImage()

12