/cts/tests/tests/animation/src/android/animation/cts/ |
D | ArgbEvaluatorTest.java | 26 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()
|
D | ObjectAnimatorTest.java | 89 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/ |
D | ShaderTests.java | 45 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()
|
D | PathClippingTests.java | 48 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()
|
D | ExactCanvasTests.java | 46 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()
|
D | LayoutTests.java | 37 new RectVerifier(Color.WHITE, Color.BLUE, new Rect(5, 5, 85, 85))); in testSimpleRectLayout()
|
/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 | AvoidXfermodeTest.java | 50 blueTargetingGreenPaint.setColor(Color.BLUE); in testAvoidXfermode() 65 assertEquals(Color.BLUE, b.getPixel(BASE_SIZE / 2, BASE_SIZE + BASE_SIZE / 2)); in testAvoidXfermode()
|
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 | ColorMatrixColorFilterTest.java | 47 paint.setColor(Color.BLUE); in testColorMatrixColorFilter() 91 assertColor(Color.BLUE, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
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()
|
D | PictureTest.java | 158 paint.setColor(Color.BLUE); in drawPicture() 164 assertEquals(Color.BLUE, bitmap.getPixel(0, 0)); in checkBitmap()
|
D | PixelXorXfermodeTest.java | 48 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); in testPixelXorXfermode()
|
/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 | ForegroundColorSpanTest.java | 42 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); in testGetForegroundColor() 43 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); in testGetForegroundColor()
|
D | BackgroundColorSpanTest.java | 48 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); in testUpdateDrawState() 50 assertEquals(Color.BLUE, tp.bgColor); in testUpdateDrawState()
|
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/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 51 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/ |
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/text/src/android/text/cts/ |
D | TextPaintTest.java | 47 textPaintSrc.linkColor = Color.BLUE; in testSet()
|