/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 | ComposeShaderTest.java | 58 int green = (int)((greenX + greenY - greenX * greenY) * 255); in testPorterDuff() local 63 assertEquals(green, Color.green(pixel), TOLERANCE); in testPorterDuff()
|
D | BlurMaskFilterTest.java | 78 assertEquals(Color.green(expected), Color.green(actual)); in checkColor()
|
D | ColorMatrixColorFilterTest.java | 100 assertEquals(Color.green(expected), Color.green(actual), tolerance); in assertColor()
|
D | ColorTest.java | 40 assertEquals(0x00, Color.green(Color.RED)); in testGreen() 41 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen()
|
D | LightingColorFilterTest.java | 86 assertEquals(Color.green(expected), Color.green(actual), TOLERANCE); in assertColor()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 11 + Math.abs(Color.green(color) - Color.green(expectedColor)) in verifyPixelWithThreshold() 22 int average = Color.red(color) + Color.green(color) + Color.blue(color); in verifyPixelGrayScale() 25 && Math.abs(Color.green(color) - average) <= threshold in verifyPixelGrayScale()
|
/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/refocus/ |
D | layered_filter_fast_f32.rs | 106 sharp->green = in.g * g_kOneOver255; 111 sharp->green = 112 ApplyLUT_Float(sharp->green, g_camera_response.lut_remove_crf_float); 270 float4 this_value = {weight * sharp->red, weight * sharp->green, 291 float4 this_value = {weight * sharp->red, weight * sharp->green, 387 fuzzy->green += factor * result.green; 433 sharp->green += factor * (fuzzy->green - sharp->green); 437 fuzzy->green = 0; 463 fuzzy->green += sharp->green * capacity; 484 ApplyLUT_Float(fuzzy->green, g_camera_response.lut_apply_crf_float); [all …]
|
D | pixel_format_f32.rsh | 7 // 1. Initially, it stores the input color (red, green, blue) and the depth 17 // the color (red, green, blue) of FocusPixel is updated and ready to be used in 21 // the color (red, green, blue) of FocusPixel is *not* changed. 28 float green; 52 float green;
|
D | layered_filter_f32_helper.rsh | 96 result.green += weight * sharp_nbr->green; 108 result.green *= factor; 144 fuzzy.green = result.g * factor; 180 result.green += weight * sharp_nbr->green; 192 result.green *= fac; 202 p->green = 0; 222 p->green = 0;
|
D | ImageCompare.java | 32 final int G = Color.green(pixel); in luma()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_lut.rs | 20 short green[256]; 27 tmp.g = green[in.g];
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 76 int gRED = Color.green(RED); in testArgbEvaluator() 80 int gBLUE = Color.green(BLUE); in testArgbEvaluator() 88 int gResult = Color.green(result); in testArgbEvaluator() 98 gResult = Color.green(result); in testArgbEvaluator() 108 gResult = Color.green(result); in testArgbEvaluator()
|
/cts/tests/camera/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/view/src/android/view/cts/util/ |
D | DrawingUtils.java | 83 + Color.green(expectedPixelColor) + "," in assertAllPixelsOfColor() 88 + Color.green(actualPixelColor) + "," in assertAllPixelsOfColor()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 177 View green = mActivity.findViewById(R.id.greenSquare); in isRestartingAnimation() local 181 return red.getTop() < closestDistance || green.getTop() < closestDistance; in isRestartingAnimation() 193 View green = mActivity.findViewById(R.id.greenSquare); in isRestartingClip() local 194 Rect greenClip = green.getClipBounds(); in isRestartingClip()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightStatusBarTests.java | 216 int bgGreen = Color.green(background); in mixSrcOver() 221 int fgGreen = Color.green(foreground); in mixSrcOver()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTestUtils.java | 164 totalError += Math.abs(Color.green(idealColor) - Color.green(givenColor)); in compareImages()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 176 int sourceGreen = Color.green(rowPixels[column]); in assertAllPixelsOfColor() 181 int expectedGreen = Color.green(color); in assertAllPixelsOfColor()
|