Home
last modified time | relevance | path

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

1234

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java40 private static final int BORDER_COLOR = Color.BLUE;
103 bitmap.setPixel(1, 0, Color.BLUE); in testClamp()
117 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.BLUE, Color.BLUE }, in testClamp()
125 bitmap.setPixel(1, 0, Color.BLUE); in testRepeat()
139 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.RED, Color.BLUE }, in testRepeat()
147 bitmap.setPixel(1, 0, Color.BLUE); in testMirror()
161 Assert.assertArrayEquals(new int[] { Color.RED, Color.BLUE, Color.BLUE, Color.RED }, in testMirror()
DPorterDuffXfermodeTest.java46 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode()
54 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
55 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
73 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
DPorterDuffColorFilterTest.java45 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter()
71 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); in testPorterDuffColorFilter()
72 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); in testPorterDuffColorFilter()
DLinearGradientTest.java45 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; in testLinearGradient()
64 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); in testLinearGradient()
89 Color.RED, Color.BLUE, TileMode.CLAMP);
DSweepGradientTest.java73 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray()
84 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
152 new int[] {Color.BLUE, Color.RED, Color.BLUE}, null); in testZeroScaleMatrix()
DColorMatrixColorFilterTest.java56 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
100 ColorUtils.verifyColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DLightingColorFilterTest.java57 verifyColor(Color.BLUE, bitmap.getPixel(0, 0)); in testLightingColorFilter()
60 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPathClippingTests.java55 paint.setColor(Color.BLUE);
70 canvas.drawColor(Color.BLUE);
87 canvas.drawColor(Color.BLUE);
119 Color.BLUE, in testCircleWithPoints()
146 Color.BLUE, in testViewRotate()
147 Color.BLUE, in testViewRotate()
162 canvas.drawColor(Color.BLUE); in testPathScale()
214 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
DBitmapTests.java58 setColor(Color.BLUE); in BitmapView()
128 child.setColor(Color.BLUE); in testChangeDuringRtAnimation()
160 Arrays.fill(blue, Color.BLUE); in testChangeDuringUiAnimation()
173 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
182 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
193 if (child.getColor() == Color.BLUE) { in testChangeDuringUiAnimation()
197 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
198 child.setColor(Color.BLUE); in testChangeDuringUiAnimation()
DShaderTests.java51 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelBitmapShader()
58 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelBitmapShader()
72 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelComposeShader()
80 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader()
89 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelComposeShader()
130 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
DExactCanvasTests.java53 p.setColor(Color.BLUE); in testBlueRect()
56 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect()
106 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack()
193 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode()
204 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare()
214 p.setColor(Color.BLUE); in testBluePaddedSquare()
DLayerTests.java155 child.setBackgroundColor(Color.BLUE); in testLayerClear()
189 child.setBackgroundColor(Color.BLUE); in testAlphaLayerChild()
240 child.setBackgroundColor(Color.BLUE); in testLayerResizeZero()
372 Color.BLUE, Color.BLUE, in testSaveLayerUnclippedWithColorFilterSW()
446 canvas.drawColor(Color.BLUE); in testSaveLayerUnclipped_restoreBehavior()
476 canvas.drawColor(Color.BLUE); in testSaveLayerClipped_restoreBehavior()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java83 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testDrawNull()
91 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testInvalidateDrawable()
99 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testScheduleDrawable()
112 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testUnscheduleDrawable()
124 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testGetChangingConfigurations()
138 Drawable backgroundDrawable = new ColorDrawable(Color.BLUE); in testDrawWithoutSetBounds()
208 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetVisible()
217 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetAlpha()
229 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testSetColorFilter()
241 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE)); in testGetOpacity()
[all …]
DDrawableContainerStateTest.java81 Drawable dr1 = spy(new ColorDrawable(Color.BLUE)); in testAddChild()
121 Drawable dr2 = spy(new ColorDrawable(Color.BLUE)); in testIsStateful()
214 Drawable dr1 = spy(new ColorDrawable(Color.BLUE)); in testConstantHeightsAndWidths()
250 Drawable dr1 = spy(new ColorDrawable(Color.BLUE)); in testGetOpacity()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java175 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
195 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
205 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testGlProducerCropBottomHalf()
231 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
259 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer()
286 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
299 Color.BLUE, Color.BLACK, Color.BLUE, Color.BLACK); in testWindowProducerCropBottomHalf()
318 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling()
398 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testNotLeaking()
436 assertBitmapQuadColor(bitmap, Color.RED, Color.GREEN, Color.BLUE, Color.BLACK, 30); in testVideoProducer()
[all …]
DViewOverlayTest.java145 final Drawable blueDrawable = new ColorDrawable(Color.BLUE); in testOverlayWithNonOverlappingDrawables()
155 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables()
163 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables()
260 redDrawable.setColor(Color.BLUE); in testOverlayDynamicChangesToOverlappingDrawables()
261 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.BLUE)); in testOverlayDynamicChangesToOverlappingDrawables()
/cts/tests/tests/text/src/android/text/style/cts/
DClickableSpanTest.java49 tp.linkColor = Color.BLUE; in testUpdateDrawState()
51 assertEquals(Color.BLUE, tp.getColor()); in testUpdateDrawState()
DForegroundColorSpanTest.java50 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor()
51 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
DBackgroundColorSpanTest.java56 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState()
58 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
DQuoteSpanTest.java63 quoteSpan = new QuoteSpan(Color.BLUE); in testGetColor()
64 assertEquals(Color.BLUE, quoteSpan.getColor()); in testGetColor()
/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/toastlegacy/src/android/widget/toast/cts/legacy/
DToastActivity.java34 view.setBackgroundColor(Color.BLUE); in onCreate()
/cts/tests/app/app2/src/com/android/app2/
DAlertWindowService.java34 import static android.graphics.Color.BLUE;
95 view.setBackgroundColor(BLUE); in addAlertWindow()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java42 mColor = Color.BLUE; in onKeyDown()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DUnclippedBlueView.java46 canvas.drawColor(Color.BLUE); in onDraw()

1234