/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 24 assertEquals(0xff, Color.alpha(Color.RED)); in testAlpha() 30 assertEquals(Color.RED, Color.argb(0xff, 0xff, 0x00, 0x00)); in testArgb() 35 assertEquals(0x00, Color.blue(Color.RED)); in testBlue() 40 assertEquals(0x00, Color.green(Color.RED)); in testGreen() 55 Color.colorToHSV(Color.RED, hsv); in testHSVToColor1() 56 assertEquals(Color.RED, Color.HSVToColor(hsv)); in testHSVToColor1() 70 Color.colorToHSV(Color.RED, hsv); in testHSVToColor2() 71 assertEquals(Color.RED, Color.HSVToColor(0xff, hsv)); in testHSVToColor2() 83 assertEquals(Color.RED, Color.parseColor("#ff0000")); in testParseColor() 84 assertEquals(Color.RED, Color.parseColor("#ffff0000")); in testParseColor() [all …]
|
D | PorterDuffXfermodeTest.java | 38 b1.eraseColor(Color.RED); in testPorterDuffXfermode() 47 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); in testPorterDuffXfermode() 56 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); in testPorterDuffXfermode() 57 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode() 65 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); in testPorterDuffXfermode()
|
D | PorterDuffColorFilterTest.java | 35 b1.eraseColor(Color.RED); in testPorterDuffColorFilter() 49 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); in testPorterDuffColorFilter() 62 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); in testPorterDuffColorFilter() 72 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); in testPorterDuffColorFilter()
|
D | ColorMatrixColorFilterTest.java | 54 paint.setColor(Color.RED); in testColorMatrixColorFilter() 56 assertColor(Color.RED, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter() 70 paint.setColor(Color.RED); in testColorMatrixColorFilter()
|
D | BlurMaskFilterTest.java | 41 paint.setColor(Color.RED); in testBlurMaskFilter() 53 checkQuadrants(Color.RED, b, x, y, 5); in testBlurMaskFilter() 56 checkQuadrants(Color.RED, b, x, y, 255); in testBlurMaskFilter()
|
D | PaintFlagsDrawFilterTest.java | 58 p.setColor(Color.RED); in drawText() 80 assertEquals(Color.RED, pixelWithoutFilter); in delta() 82 combinedBitmap.setPixel(i, j, Color.RED); in delta() 95 if (pixel == Color.RED) { in assertUnderline()
|
D | AvoidXfermodeTest.java | 45 redAvoidingGreenPaint.setColor(Color.RED); in testAvoidXfermode() 64 assertEquals(Color.RED, b.getPixel(BASE_SIZE + BASE_SIZE / 2, BASE_SIZE / 2)); in testAvoidXfermode()
|
D | PathDashPathEffectTest.java | 47 p.setColor(Color.RED); in testPathDashPathEffect() 54 p.setColor(Color.RED); in testPathDashPathEffect()
|
D | SweepGradientTest.java | 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; in test2Colors() 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 | 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()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ArgbEvaluatorTest.java | 25 final int RED = 0xffFF8080; in testEvaluate() local 27 int aRED = Color.alpha(RED); in testEvaluate() 28 int rRED = Color.red(RED); in testEvaluate() 29 int gRED = Color.green(RED); in testEvaluate() 30 int bRED = Color.blue(RED); in testEvaluate() 40 result = (Integer) evaluator.evaluate(0.5f, RED, BLUE); in testEvaluate()
|
D | ObjectAnimatorTest.java | 88 int startColor = mActivity.view.RED; in testOfInt() 114 int startColor = mActivity.view.RED; in testOfObject() 140 int startColor = mActivity.view.RED; in testOfPropertyValuesHolder() 167 int startColor = mActivity.view.RED; in testGetPropertyName() 201 int startColor = mActivity.view.RED; in testGetTarget()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | QuoteSpanTest.java | 31 QuoteSpan q = new QuoteSpan(Color.RED); in testConstructor() 74 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); in testDescribeContents() 79 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); in testGetSpanTypeId() 86 QuoteSpan quoteSpan = new QuoteSpan(Color.RED); in testWriteToParcel() 90 assertEquals(Color.RED, q.getColor()); in testWriteToParcel()
|
D | ForegroundColorSpanTest.java | 71 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); in testDescribeContents() 76 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); in testGetSpanTypeId() 83 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.RED); in testWriteToParcel() 87 assertEquals(Color.RED, f.getForegroundColor()); in testWriteToParcel()
|
D | BackgroundColorSpanTest.java | 69 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); in testDescribeContents() 74 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); in testGetSpanTypeId() 81 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.RED); in testWriteToParcel() 85 assertEquals(Color.RED, b.getBackgroundColor()); in testWriteToParcel()
|
D | ClickableSpanTest.java | 32 tp.linkColor = Color.RED; in testUpdateDrawState() 37 assertEquals(Color.RED, tp.getColor()); in testUpdateDrawState()
|
D | BulletSpanTest.java | 34 BulletSpan b = new BulletSpan(BulletSpan.STANDARD_GAP_WIDTH, Color.RED); in testConstructor() 102 BulletSpan bulletSpan = new BulletSpan(BulletSpan.STANDARD_GAP_WIDTH, Color.RED); in testWriteToParcel()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 36 final int[] colors = new int[] { Color.RED, Color.BLUE }; in testColorStateList() 39 assertEquals(Color.RED, c.getDefaultColor()); in testColorStateList() 43 assertNotSame(Color.RED, c1.getDefaultColor()); in testColorStateList() 46 assertEquals(Color.RED & 0x00FF0000, c1.getDefaultColor() & 0x00FF0000); in testColorStateList()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | RippleDrawableTest.java | 28 new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); in testConstructor() 33 new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); in testAccessRadius()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountOperationsTest.java | 47 .setHighlightColor(Color.RED) 58 .setHighlightColor(Color.RED) 70 .setHighlightColor(Color.RED) 137 .setHighlightColor(Color.RED) in testRegisterPhoneAccount_DisallowEnable()
|
/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/uirendering/src/android/uirendering/cts/differencevisualizers/ |
D | PassFailVisualizer.java | 36 output[y] = Color.RED; in getDifferences()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 58 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessThumbTint() 73 ColorStateList colors = ColorStateList.valueOf(Color.RED); in testAccessTrackTint()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | BitmapVerifier.java | 26 protected static final int FAIL_COLOR = Color.RED;
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 50 mPInnerBullsEye.setColor(Color.RED); in FaceView() 53 mPOuterBullsEye.setColor(Color.RED); in FaceView()
|