Home
last modified time | relevance | path

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

12

/cts/tests/tests/animation/src/android/animation/cts/
DArgbEvaluatorTest.java26 final int BLUE = 0xff8080FF; in testEvaluate() local
31 int aBLUE = Color.alpha(BLUE); in testEvaluate()
32 int rBLUE = Color.red(BLUE); in testEvaluate()
33 int gBLUE = Color.green(BLUE); in testEvaluate()
34 int bBLUE = Color.blue(BLUE); in testEvaluate()
40 result = (Integer) evaluator.evaluate(0.5f, RED, BLUE); in testEvaluate()
DObjectAnimatorTest.java89 int endColor = mActivity.view.BLUE; in testOfInt()
115 int endColor = mActivity.view.BLUE; in testOfObject()
141 int endColor = mActivity.view.BLUE; in testOfPropertyValuesHolder()
168 int endColor = mActivity.view.BLUE; in testGetPropertyName()
202 int endColor = mActivity.view.BLUE; in testGetTarget()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DShaderTests.java45 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelBitmapShader()
52 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelBitmapShader()
66 shaderBitmap.eraseColor(Color.BLUE); in testSinglePixelComposeShader()
74 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader()
83 .runWithVerifier(new ColorVerifier(Color.BLUE)); in testSinglePixelComposeShader()
124 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
DPathClippingTests.java48 paint.setColor(Color.BLUE);
71 canvas.drawColor(Color.BLUE);
101 Color.BLUE, in testCircleWithPoints()
132 Color.BLUE, in testViewRotate()
133 Color.BLUE, in testViewRotate()
173 paint.setColor(Color.BLUE); in testWebViewClipWithCircle()
DExactCanvasTests.java46 p.setColor(Color.BLUE); in testBlueRect()
50 .runWithVerifier(new RectVerifier(Color.WHITE, Color.BLUE, rect)); in testBlueRect()
111 canvas.drawColor(Color.BLUE); in testDrawRedRectOnBlueBack()
174 canvas.drawColor(Color.BLUE, PorterDuff.Mode.MULTIPLY); in testBasicColorXfermode()
186 BitmapVerifier verifier = new RectVerifier(Color.WHITE, Color.BLUE, in testBluePaddedSquare()
195 p.setColor(Color.BLUE); in testBluePaddedSquare()
DLayoutTests.java37 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
/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()
DAvoidXfermodeTest.java50 blueTargetingGreenPaint.setColor(Color.BLUE); in testAvoidXfermode()
65 assertEquals(Color.BLUE, b.getPixel(BASE_SIZE / 2, BASE_SIZE + BASE_SIZE / 2)); in testAvoidXfermode()
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()
DColorMatrixColorFilterTest.java47 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
91 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
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()
DPictureTest.java158 paint.setColor(Color.BLUE); in drawPicture()
164 assertEquals(Color.BLUE, bitmap.getPixel(0, 0)); in checkBitmap()
DPixelXorXfermodeTest.java48 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); in testPixelXorXfermode()
/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()
DForegroundColorSpanTest.java42 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor()
43 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
DBackgroundColorSpanTest.java48 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState()
50 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
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/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java51 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testConstructor()
126 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testFindDrawableByLayerId()
149 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testAccessId()
189 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetNumberOfLayers()
208 Drawable colorDrawable = new ColorDrawable(Color.BLUE); in testAccessDrawable()
241 Drawable layer2A = new ColorDrawable(Color.BLUE); in testSetDrawableByLayerId()
261 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testSetLayerInset()
431 ColorDrawable colorDrawable = new ColorDrawable(Color.BLUE); in testGetChangingConfigurations()
472 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testSetVisible()
778 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetConstantState()
[all …]
/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/text/src/android/text/cts/
DTextPaintTest.java47 textPaintSrc.linkColor = Color.BLUE; in testSet()

12