/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapShaderTest.java | 40 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()
|
D | PorterDuffXfermodeTest.java | 46 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()
|
D | PorterDuffColorFilterTest.java | 45 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()
|
D | LinearGradientTest.java | 45 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);
|
D | SweepGradientTest.java | 73 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()
|
D | ColorMatrixColorFilterTest.java | 56 paint.setColor(Color.BLUE); in testColorMatrixColorFilter() 100 ColorUtils.verifyColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | LightingColorFilterTest.java | 57 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/ |
D | PathClippingTests.java | 55 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()
|
D | BitmapTests.java | 58 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()
|
D | ShaderTests.java | 51 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()
|
D | ExactCanvasTests.java | 53 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()
|
D | LayerTests.java | 155 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/ |
D | AdaptiveIconDrawableTest.java | 83 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 …]
|
D | DrawableContainerStateTest.java | 81 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/ |
D | PixelCopyTest.java | 175 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 …]
|
D | ViewOverlayTest.java | 145 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/ |
D | ClickableSpanTest.java | 49 tp.linkColor = Color.BLUE; in testUpdateDrawState() 51 assertEquals(Color.BLUE, tp.getColor()); in testUpdateDrawState()
|
D | ForegroundColorSpanTest.java | 50 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor() 51 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
|
D | BackgroundColorSpanTest.java | 56 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState() 58 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
|
D | QuoteSpanTest.java | 63 quoteSpan = new QuoteSpan(Color.BLUE); in testGetColor() 64 assertEquals(Color.BLUE, quoteSpan.getColor()); in testGetColor()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 72 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/ |
D | ToastActivity.java | 34 view.setBackgroundColor(Color.BLUE); in onCreate()
|
/cts/tests/app/app2/src/com/android/app2/ |
D | AlertWindowService.java | 34 import static android.graphics.Color.BLUE; 95 view.setBackgroundColor(BLUE); in addAlertWindow()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 42 mColor = Color.BLUE; in onKeyDown()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | UnclippedBlueView.java | 46 canvas.drawColor(Color.BLUE); in onDraw()
|