Home
last modified time | relevance | path

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

123

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPathClippingTests.java46 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()
DShaderTests.java47 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()
DExactCanvasTests.java44 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()
DLayoutTests.java39 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
/cts/tests/tests/animation/src/android/animation/cts/
DEvaluatorTest.java73 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()
DObjectAnimatorTest.java90 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/
DPorterDuffXfermodeTest.java40 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()
DPorterDuffColorFilterTest.java37 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()
DColorMatrixColorFilterTest.java47 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
91 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DLinearGradientTest.java34 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()
DLightingColorFilterTest.java47 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testLightingColorFilter()
50 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
DSweepGradientTest.java62 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/
DClickableSpanTest.java40 tp.linkColor = Color.BLUE; in testUpdateDrawState()
42 assertEquals(Color.BLUE, tp.getColor()); in testUpdateDrawState()
DBackgroundColorSpanTest.java48 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState()
50 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
DForegroundColorSpanTest.java42 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor()
43 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
DQuoteSpanTest.java54 quoteSpan = new QuoteSpan(Color.BLUE); in testGetColor()
55 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/view/src/android/view/cts/
DViewOverlayTest.java138 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()
DTextureViewTest.java83 mActivity.drawColor(Color.BLUE); in testFirstFrames()
87 assertEquals(Color.BLUE, color); in testFirstFrames()
DPixelCopyTests.java129 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/
DColorChangeOnKeyView.java42 mColor = Color.BLUE; in onKeyDown()
DProjectionOffscreenActivity.java220 } 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/
DUnclippedBlueView.java46 canvas.drawColor(Color.BLUE); in onDraw()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java53 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/
DColorStateListTest.java40 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testConstructor()
89 final int[] colors = new int[]{Color.RED, Color.BLUE}; in testWithAlpha()

123