Home
last modified time | relevance | path

Searched refs:BLUE (Results 1 – 25 of 136) sorted by relevance

123456

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java41 private static final int BORDER_COLOR = Color.BLUE;
104 bitmap.setPixel(1, 0, Color.BLUE); in testClamp()
118 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.BLUE, Color.BLUE }, in testClamp()
126 bitmap.setPixel(1, 0, Color.BLUE); in testRepeat()
140 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.RED, Color.BLUE }, in testRepeat()
148 bitmap.setPixel(1, 0, Color.BLUE); in testMirror()
162 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.BLUE, Color.RED }, in testMirror()
DPorterDuffXfermodeTest.java47 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode()
55 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
56 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
74 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
DRadialGradientTest.java49 Color.RED, Color.BLUE, TileMode.CLAMP); in testZeroScaleMatrix()
173 colors[0] = Color.pack(Color.BLUE); in testMismatchColorLongs()
180 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2()
215 new RadialGradient(0.5f, 0.5f, 0, Color.RED, Color.BLUE, TileMode.CLAMP); in testZeroRadius()
220 new RadialGradient(0.5f, 0.5f, 0, new int[] {Color.RED, Color.BLUE}, null, TileMode.CLAMP); in testZeroRadiusArray()
225 new RadialGradient(0.5f, 0.5f, 0, Color.pack(Color.RED), Color.pack(Color.BLUE), in testZeroRadiusLong()
231 new RadialGradient(0.5f, 0.5f, 0, new long[]{Color.pack(Color.RED), Color.pack(Color.BLUE)}, in testZeroRadiusLongArray()
DCanvasTest.java42 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_XYZ))); in testDrawColorXYZ()
47 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_LAB))); in testDrawColorLAB()
DPorterDuffColorFilterTest.java46 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter()
72 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); in testPorterDuffColorFilter()
73 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); in testPorterDuffColorFilter()
DSweepGradientTest.java78 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray()
89 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
157 new int[] {Color.BLUE, Color.RED, Color.BLUE}, null); in testZeroScaleMatrix()
210 colors[0] = Color.pack(Color.BLUE); in testMismatchColorLongs()
217 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapTests.java63 setColor(Color.BLUE); in BitmapView()
134 child.setColor(Color.BLUE); in testChangeDuringRtAnimation()
168 Arrays.fill(blue, Color.BLUE); in testChangeDuringUiAnimation()
181 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
190 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
201 if (child.getColor() == Color.BLUE) { in testChangeDuringUiAnimation()
205 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
206 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
232 p.setColor(Color.BLUE); in testCreateFromPicture()
243 }, true).runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testCreateFromPicture()
DRenderNodeTests.java126 canvas.drawColor(Color.BLUE); in testBasicDraw()
137 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBasicDraw()
150 canvas.drawColor(Color.BLUE); in testAlphaOverlappingRendering()
171 canvas.drawColor(Color.BLUE); in testAlphaNonOverlappingRendering()
224 canvas.drawColor(Color.BLUE); in testComputeApproximateMemoryUsage()
389 bitmap.eraseColor(Color.BLUE); in testBitmapRenderEffect()
404 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testBitmapRenderEffect()
418 paint.setColor(Color.BLUE); in testOffsetImplicitInputRenderEffect()
447 new ColorVerifier(Color.BLUE) in testOffsetImplicitInputRenderEffect()
471 paint.setColor(Color.BLUE); in testColorFilterRenderEffectImplicitInput()
[all …]
DPathClippingTests.java72 paint.setColor(Color.BLUE);
87 canvas.drawColor(Color.BLUE);
104 canvas.drawColor(Color.BLUE);
136 Color.BLUE, in testCircleWithPoints()
163 Color.BLUE, in testViewRotate()
164 Color.BLUE, in testViewRotate()
179 canvas.drawColor(Color.BLUE); in testPathScale()
235 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
DShaderTests.java52 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelBitmapShader()
59 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelBitmapShader()
73 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelComposeShader()
81 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader()
90 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelComposeShader()
131 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
DBlendModeTest.java41 private static final int SRC_COLOR = Color.BLUE;
135 testBlendMode(BlendMode.DST_OVER, Color.RED, Color.RED, Color.BLUE); in testBlendMode_DST_OVER()
140 testBlendMode(BlendMode.SRC_IN, BG_COLOR, Color.BLUE, BG_COLOR); in testBlendMode_SRC_IN()
150 testBlendMode(BlendMode.SRC_OUT, BG_COLOR, BG_COLOR, Color.BLUE); in testBlendMode_SRC_OUT()
160 testBlendMode(BlendMode.SRC_ATOP, DST_COLOR, Color.BLUE, BG_COLOR); in testBlendMode_SRC_ATOP()
165 testBlendMode(BlendMode.DST_ATOP, BG_COLOR, DST_COLOR, Color.BLUE); in testBlendMode_DST_ATOP()
170 testBlendMode(BlendMode.XOR, DST_COLOR, BG_COLOR, Color.BLUE); in testBlendMode_XOR()
175 testBlendMode(BlendMode.PLUS, DST_COLOR, Color.MAGENTA, Color.BLUE); in testBlendMode_PLUS()
180 int alpha = (Color.alpha(DST_COLOR) * Color.alpha(Color.BLUE)) / 255; in testBlendMode_MODULATE()
181 int red = (Color.red(DST_COLOR) * Color.red(Color.BLUE)) / 255; in testBlendMode_MODULATE()
[all …]
DCameraTests.java41 paint.setColor(Color.BLUE); in testBasicTranslate()
47 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, in testBasicTranslate()
DViewPropertyAnimatorTests.java50 target.setEndColor(Color.BLUE); in testViewCustomAlpha()
60 assertEquals(Color.BLUE, target.getBlendedColor()); in testViewCustomAlpha()
63 }).runWithVerifier(new ColorVerifier(Color.BLUE)); in testViewCustomAlpha()
87 target.setEndColor(Color.BLUE); in testViewCustomAlphaBy()
98 assertEquals(Color.BLUE, target.getBlendedColor()); in testViewCustomAlphaBy()
101 }).runWithVerifier(new ColorVerifier(Color.BLUE)); in testViewCustomAlphaBy()
516 alphaView.setEndColor(Color.BLUE); in createViewPropertyAnimatorTest()
DExactCanvasTests.java58 p.setColor(Color.BLUE); in testBlueRect()
61 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect()
111 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack()
199 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode()
208 canvas.drawColor(Color.BLUE, BlendMode.MULTIPLY); in testBasicColorBlendMode()
218 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare()
225 p.setColor(Color.BLUE); in testBluePaddedSquare()
DLayerTests.java202 child.setBackgroundColor(Color.BLUE); in testLayerClear()
241 child.setBackgroundColor(Color.BLUE); in testAlphaLayerChild()
292 child.setBackgroundColor(Color.BLUE); in testLayerResizeZero()
383 canvas.drawColor(Color.BLUE); in testSaveLayerRestoreBehavior()
409 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testWebViewWithLayer()
434 .runWithVerifier(new RectVerifier(Color.RED, Color.BLUE, in testWebViewWithOffsetLayer()
461 .runWithVerifier(new RectVerifier(Color.RED, Color.BLUE, in testWebViewWithParentLayer()
489 .runWithVerifier(new RectVerifier(Color.RED, Color.BLUE, in testWebViewScaledWithParentLayer()
573 Color.BLUE, in testWebViewWithUnclippedLayer()
618 Color.BLUE, in testWebViewWithUnclippedLayerAndComplexClip()
[all …]
DBlendModeColorFilterTest.java68 b2.eraseColor(Color.BLUE); in BlendModeColorFilterClient()
101 new int[]{Color.RED, Color.BLUE, Color.BLUE}); in testBlendModeColorFilter_DST()
DBitmapBlendModeTest.java53 Color.BLUE, Color.RED); in testClearBlendMode()
67 Color.BLUE, Color.RED); in testDstOutBlendMode()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java210 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
230 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
240 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testGlProducerCropBottomHalf()
266 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
281 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
289 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
318 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer()
345 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
358 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testWindowProducerCropBottomHalf()
377 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling()
[all …]
DASurfaceControlTest.java99 private static final PixelColor BLUE = new PixelColor(PixelColor.BLUE); field in ASurfaceControlTest
338 DEFAULT_LAYOUT_HEIGHT, PixelColor.BLUE); in testSurfaceTransaction_setBuffer_parentAndChild()
624 PixelColor.BLUE); in testSurfaceTransaction_setDestinationRect_twoLayers()
636 return BLUE; in testSurfaceTransaction_setDestinationRect_twoLayers()
653 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED, PixelColor.BLUE, in testSurfaceTransaction_setSourceRect()
666 return BLUE; in testSurfaceTransaction_setSourceRect()
685 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED, PixelColor.BLUE, in testSurfaceTransaction_setSourceRect_smallCentered()
699 return BLUE; in testSurfaceTransaction_setSourceRect_smallCentered()
718 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED, PixelColor.BLUE, in testSurfaceTransaction_setSourceRect_small()
740 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED, PixelColor.BLUE, in testSurfaceTransaction_setSourceRect_extraLarge()
[all …]
DViewOverlayTest.java146 final Drawable blueDrawable = new ColorDrawable(Color.BLUE); in testOverlayWithNonOverlappingDrawables()
156 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables()
164 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables()
261 redDrawable.setColor(Color.BLUE); in testOverlayDynamicChangesToOverlappingDrawables()
262 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.BLUE)); in testOverlayDynamicChangesToOverlappingDrawables()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java88 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testDrawNull()
96 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testInvalidateDrawable()
104 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testScheduleDrawable()
117 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testUnscheduleDrawable()
129 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testGetChangingConfigurations()
151 Drawable backgroundDrawable = new ColorDrawable(Color.BLUE); in testDrawWithoutSetBounds()
222 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetVisible()
231 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetAlpha()
254 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetColorFilter()
266 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testGetOpacity()
[all …]
/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/openglperf/src/android/openglperf/cts/
DTextureTestRenderer.java72 Color.RED, Color.RED, Color.BLUE, Color.BLUE, in TextureTestRenderer()
73 Color.RED, Color.RED, Color.BLUE, Color.BLUE, in TextureTestRenderer()
/cts/tests/tests/text/src/android/text/style/cts/
DClickableSpanTest.java50 tp.linkColor = Color.BLUE; in testUpdateDrawState()
52 assertEquals(Color.BLUE, tp.getColor()); in testUpdateDrawState()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/
DBitmapBlendModeTest.java54 Color.BLUE, Color.RED); in testClearBlendMode()
68 Color.BLUE, Color.RED); in testDstOutBlendMode()

123456