/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LightingColorFilterTest.java | 49 paint.setColor(Color.MAGENTA); in testLightingColorFilter() 54 paint.setColor(Color.MAGENTA); in testLightingColorFilter() 59 paint.setColor(Color.MAGENTA); in testLightingColorFilter() 66 paint.setColor(Color.MAGENTA); in testLightingColorFilter() 72 paint.setColor(Color.MAGENTA); in testLightingColorFilter() 78 paint.setColor(Color.argb(255, 60, 20, 40)); in testLightingColorFilter() 86 paint.setColor(Color.argb(0x80, 60, 20, 40)); in testLightingColorFilter()
|
D | ColorMatrixColorFilterTest.java | 56 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()
|
D | DiscretePathEffectTest.java | 54 paint.setColor(Color.GREEN); in testDiscretePathEffect() 71 paint.setColor(Color.RED); in testDiscretePathEffect() 78 paint.setColor(Color.BLUE); in testDiscretePathEffect()
|
D | PictureTest.java | 91 paint.setColor(Color.GREEN); in createImbalance() 167 paint.setColor(Color.GREEN); in drawPicture() 171 paint.setColor(Color.RED); in drawPicture() 174 paint.setColor(Color.BLUE); in drawPicture()
|
D | PathDashPathEffectTest.java | 53 p.setColor(Color.RED); in testPathDashPathEffect() 60 p.setColor(Color.RED); in testPathDashPathEffect()
|
D | CornerPathEffectTest.java | 58 pathPaint.setColor(Color.GREEN); in testCornerPathEffect() 79 expectedPaint.setColor(Color.RED); in testCornerPathEffect()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 53 p.setColor(Color.BLUE); in testBlueRect() 66 p.setColor(Color.BLACK); in testPoints() 79 p.setColor(Color.RED); in testBlackRectWithStroke() 82 p.setColor(Color.BLACK); in testBlackRectWithStroke() 95 p.setColor(Color.BLACK); in testBlackLineOnGreenBack() 108 p.setColor(Color.RED); in testDrawRedRectOnBlueBack() 120 p.setColor(Color.BLACK); in testDrawLine() 143 p.setColor(Color.WHITE); in testBasicText() 155 p.setColor(Color.BLACK); in drawTestTextOnPath() 211 p.setColor(Color.BLUE); in testBluePaddedSquare() [all …]
|
D | BitmapTests.java | 62 setColor(Color.BLUE); in BitmapView() 70 public void setColor(int color) { in setColor() method in BitmapTests.BitmapView 127 child.setColor(Color.RED); in testChangeDuringRtAnimation() 133 child.setColor(Color.BLUE); in testChangeDuringRtAnimation() 189 child.setColor(Color.BLUE); in testChangeDuringUiAnimation() 202 child.setColor(Color.RED); in testChangeDuringUiAnimation() 205 child.setColor(Color.BLUE); in testChangeDuringUiAnimation() 231 p.setColor(Color.BLUE); in testCreateFromPicture()
|
D | GradientTests.java | 41 paint.setColor(Color.RED); in testAlphaPreMultiplication() 44 paint.setColor(Color.WHITE); in testAlphaPreMultiplication()
|
D | EdgeEffectTests.java | 104 edgeEffect.setColor(Color.RED); in assertEdgeEffect() 133 edgeEffect.setColor(Color.GREEN); in testSetColor() 173 effect.setColor(Color.GREEN); in testGetColor()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 72 public void setColor(int value) { in setColor() method in ShapeHolder 73 mShape.getPaint().setColor(value); in setColor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MotionIndicatorView.java | 117 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/view/src/android/view/cts/ |
D | PixelCopyViewProducerActivity.java | 162 mPaint.setColor(Color.RED); in onDraw() 166 mPaint.setColor(Color.GREEN); in onDraw() 170 mPaint.setColor(Color.BLUE); in onDraw() 174 mPaint.setColor(Color.BLACK); in onDraw()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | DrawingUtils.java | 60 goldenPaint.setColor(defaultColor); in assertAllPixelsOfColor() 64 goldenPaint.setColor(colorRectangle.second); in assertAllPixelsOfColor()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 50 mPInnerBullsEye.setColor(Color.RED); in FaceView() 53 mPOuterBullsEye.setColor(Color.RED); in FaceView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ArcShapeTest.java | 76 paint.setColor(TEST_COLOR_1); in testDraw() 84 paint.setColor(TEST_COLOR_2); in testDraw()
|
D | PathShapeTest.java | 70 paint.setColor(TEST_COLOR_1); in testDraw() 77 paint.setColor(TEST_COLOR_2); in testDraw()
|
D | OvalShapeTest.java | 61 paint.setColor(TEST_COLOR_1); in testDraw() 69 paint.setColor(TEST_COLOR_2); in testDraw()
|
D | ShapeTest.java | 114 paint.setColor(TEST_COLOR_1); in testDraw() 120 paint.setColor(TEST_COLOR_2); in testDraw()
|
D | RectShapeTest.java | 68 paint.setColor(TEST_COLOR_1); in testDraw() 74 paint.setColor(TEST_COLOR_2); in testDraw()
|
D | RoundRectShapeTest.java | 82 paint.setColor(TEST_COLOR_1); in testDraw() 89 paint.setColor(TEST_COLOR_2); in testDraw()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 168 mPaint.setColor(mBackgroundColor); in onDraw() 171 mPaint.setColor(mTraceColor); in onDraw()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 79 gradientDrawable.setColor(Color.TRANSPARENT); in testGetOpacity() 83 gradientDrawable.setColor(0x80FFFFFF); in testGetOpacity() 95 gradientDrawable.setColor(Color.RED); in testGetOpacity() 335 gradientDrawable.setColor(color); in testSetColor() 340 gradientDrawable.setColor(color); in testSetColor() 367 gradientDrawable.setColor(color); in testSetColorList() 371 gradientDrawable.setColor(color); in testSetColorList()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 217 paint.setColor(0xffffffff); in drawContents() 227 paint.setColor(Color.BLACK); in drawContents() 244 paint.setColor(Color.GREEN); in drawContents()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | DaveyView.java | 54 mPaint.setColor(Color.BLACK); in DaveyView()
|