/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LinearGradientTest.java | 45 assertTrue(Color.green(b.getPixel(10, 0)) < Color.green(b.getPixel(10, 5))); in testLinearGradient() 46 assertTrue(Color.green(b.getPixel(10, 5)) < Color.green(b.getPixel(10, 10))); in testLinearGradient() 48 assertTrue(Color.green(b.getPixel(10, 15)) > Color.green(b.getPixel(10, 20))); in testLinearGradient() 49 assertTrue(Color.green(b.getPixel(10, 20)) > Color.green(b.getPixel(10, 25))); in testLinearGradient()
|
D | SweepGradientTest.java | 114 int green = (int) ((1d - delta) * Color.green(colors[i1]) + in checkColors() local 115 delta * Color.green(colors[i2])); in checkColors() 118 color = Color.argb(alpha, red, green, blue); in checkColors() 126 assertEquals(Color.green(color), Color.green(pixel), tolerance); in checkColors()
|
D | PixelXorXfermodeTest.java | 61 int green = Color.green(color); in alphaColor() local 63 return Color.argb(alpha, red, green, blue); in alphaColor()
|
D | ComposeShaderTest.java | 58 int green = (int)((greenX + greenY - greenX * greenY) * 255); in testPorterDuff() local 63 assertEquals(green, Color.green(pixel), TOLERANCE); in testPorterDuff()
|
D | ColorTest.java | 40 assertEquals(0x00, Color.green(Color.RED)); in testGreen() 41 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen()
|
D | ColorMatrixColorFilterTest.java | 100 assertEquals(Color.green(expected), Color.green(actual), tolerance); in assertColor()
|
D | BlurMaskFilterTest.java | 78 assertEquals(Color.green(expected), Color.green(actual)); in checkColor()
|
D | LightingColorFilterTest.java | 86 assertEquals(Color.green(expected), Color.green(actual), TOLERANCE); in assertColor()
|
D | DiscretePathEffectTest.java | 81 if (Color.green(pixel) > 0) { in testDiscretePathEffect()
|
D | CornerPathEffectTest.java | 82 if (Color.green(pixel) > 0) { in testCornerPathEffect()
|
D | EmbossMaskFilterTest.java | 87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); in brightness()
|
D | PorterDuffColorFilterTest.java | 52 assertEquals(0x80, Color.green(lowerLeft), TOLERANCE); in testPorterDuffColorFilter()
|
D | YuvImageTest.java | 381 int g = Color.green(actual) - Color.green(exp); in distance() 388 int g = Color.green(argb); in argb2yuv()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | PSNRComparer.java | 67 MSE += (Color.green(ideal[index]) - Color.green(given[index])) * in verifySame() 68 (Color.green(ideal[index]) - Color.green(given[index])); in verifySame()
|
D | MeanSquaredComparer.java | 98 float green = Color.green(color) / 255.0f; in getColorSum() local 100 return (red + green + blue); in getColorSum()
|
D | NearPixelComparer.java | 62 error += Math.abs(Color.green(ideal) - Color.green(given)); in pixelsAreSame()
|
D | WeightedPixelDifference.java | 60 error += Math.abs(Color.green(color1) - Color.green(color2)); in errorBetweenPixels()
|
D | ThresholdDifferenceComparer.java | 54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index])); in verifySame()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_lut.rs | 20 short green[256]; 27 tmp.g = green[in.g];
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | raytrace.js | 81 green : 0.0, property in Flog.RayTracer.Color 90 this.green = g; 98 result.green = c1.green + c2.green; 108 result.green = c1.green + s; 120 result.green = c1.green - c2.green; 130 result.green = c1.green * c2.green; 140 result.green = c1.green * f; 150 result.green = c1.green / f; 158 this.green = (this.green > 0.0) ? ( (this.green > 1.0) ? 1.0 : this.green ) : 0.0; 163 …var d = Math.abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue -… [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 11 + Math.abs(Color.green(color) - Color.green(expectedColor)) in verifyPixelWithThreshold()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ArgbEvaluatorTest.java | 29 int gRED = Color.green(RED); in testEvaluate() 33 int gBLUE = Color.green(BLUE); in testEvaluate() 50 int gResult = Color.green(result); in testEvaluate()
|
D | AnimationActivity.java | 253 int green = (int)(Math.random() * 255); in addBall() local 255 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 256 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 86 diff += Math.abs(Color.green(aPix) - Color.green(bPix)); // green in calcDifferenceMetric()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapFilterTests.java | 46 int weight = Color.red(color) + Color.blue(color) + Color.green(color);
|