/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PathClippingTests.java | 46 paint.setColor(Color.BLUE); 61 canvas.drawColor(Color.BLUE); 90 Color.BLUE, in testCircleWithPoints() 117 Color.BLUE, in testViewRotate() 118 Color.BLUE, in testViewRotate() 156 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
|
D | ShaderTests.java | 47 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelBitmapShader() 54 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelBitmapShader() 68 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelComposeShader() 76 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader() 85 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelComposeShader() 126 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
|
D | ExactCanvasTests.java | 44 p.setColor(Color.BLUE); in testBlueRect() 47 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect() 97 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack() 146 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode() 157 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare() 164 p.setColor(Color.BLUE); in testBluePaddedSquare()
|
D | LayoutTests.java | 39 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 73 final int BLUE = 0xff8080FF; in testArgbEvaluator() local 78 int aBLUE = Color.alpha(BLUE); in testArgbEvaluator() 79 int rBLUE = Color.red(BLUE); in testArgbEvaluator() 80 int gBLUE = Color.green(BLUE); in testArgbEvaluator() 81 int bBLUE = Color.blue(BLUE); in testArgbEvaluator() 85 int result = (Integer) evaluator.evaluate(0, RED, BLUE); in testArgbEvaluator() 95 result = (Integer) evaluator.evaluate(.5f, RED, BLUE); in testArgbEvaluator() 105 result = (Integer) evaluator.evaluate(1, RED, BLUE); in testArgbEvaluator()
|
D | ObjectAnimatorTest.java | 90 int endColor = mActivity.view.BLUE; in testOfInt() 116 int endColor = mActivity.view.BLUE; in testOfObject() 142 int endColor = mActivity.view.BLUE; in testOfPropertyValuesHolder() 169 int endColor = mActivity.view.BLUE; in testGetPropertyName() 203 int endColor = mActivity.view.BLUE; in testGetTarget()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PorterDuffXfermodeTest.java | 40 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode() 48 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode() 49 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode() 67 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
|
D | PorterDuffColorFilterTest.java | 37 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter() 63 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); in testPorterDuffColorFilter() 64 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); in testPorterDuffColorFilter()
|
D | ColorMatrixColorFilterTest.java | 47 paint.setColor(Color.BLUE); in testColorMatrixColorFilter() 91 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | LinearGradientTest.java | 34 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; in testLinearGradient() 53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); in testLinearGradient()
|
D | LightingColorFilterTest.java | 47 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testLightingColorFilter() 50 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
|
D | SweepGradientTest.java | 62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray() 72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ClickableSpanTest.java | 40 tp.linkColor = Color.BLUE; in testUpdateDrawState() 42 assertEquals(Color.BLUE, tp.getColor()); in testUpdateDrawState()
|
D | BackgroundColorSpanTest.java | 48 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState() 50 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
|
D | ForegroundColorSpanTest.java | 42 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor() 43 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
|
D | QuoteSpanTest.java | 54 quoteSpan = new QuoteSpan(Color.BLUE); in testGetColor() 55 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/view/src/android/view/cts/ |
D | ViewOverlayTest.java | 138 final Drawable blueDrawable = new ColorDrawable(Color.BLUE); in testOverlayWithNonOverlappingDrawables() 151 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables() 159 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingDrawables() 256 runTestOnUiThread(() -> redDrawable.setColor(Color.BLUE)); in testOverlayDynamicChangesToOverlappingDrawables() 257 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.BLUE)); in testOverlayDynamicChangesToOverlappingDrawables()
|
D | TextureViewTest.java | 83 mActivity.drawColor(Color.BLUE); in testFirstFrames() 87 assertEquals(Color.BLUE, color); in testFirstFrames()
|
D | PixelCopyTests.java | 129 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK, swapFence)); in testGlProducer() 148 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducer() 161 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducer() 202 assertBitmapQuadColor(bitmap, Color.RED, Color.GREEN, Color.BLUE, Color.BLACK, 30); in testVideoProducer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 42 mColor = Color.BLUE; in onKeyDown()
|
D | ProjectionOffscreenActivity.java | 220 } else if (ret != mPreviousColor && ret == Color.BLUE) { in onImageAvailable() 260 } else if (pixel == Color.BLUE) { in scanImage() 280 return Color.BLUE; in scanImage()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | UnclippedBlueView.java | 46 canvas.drawColor(Color.BLUE); in onDraw()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 53 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testConstructor() 128 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testFindDrawableByLayerId() 151 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testAccessId() 191 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetNumberOfLayers() 210 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testAccessDrawable() 243 Drawable layer2A = new ColorDrawable(Color.BLUE); in testSetDrawableByLayerId() 435 ColorDrawable colorDrawable = new ColorDrawable(Color.BLUE); in testGetChangingConfigurations() 497 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testSetVisible() 829 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetConstantState() 843 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testAddLayer() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 40 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testConstructor() 89 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithAlpha()
|