Home
last modified time | relevance | path

Searched refs:blue (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorProcessTest.java48 private IParcelFileDescriptorPeer blue; field in ParcelFileDescriptorProcessTest
103 blue = blueConn.get(); in setUp()
104 red.setPeer(blue); in setUp()
105 blue.setPeer(red); in setUp()
126 blue.doGet(); in testPullPipeNormal()
128 blue.write(1); in testPullPipeNormal()
131 blue.close(); in testPullPipeNormal()
142 assertEquals(2, blue.read()); in testPushPipeNormal()
145 assertEquals(-1, blue.read()); in testPushPipeNormal()
146 assertEquals(null, blue.checkError()); in testPushPipeNormal()
[all …]
DParcelFileDescriptorTest.java249 final ParcelFileDescriptor blue = pipe[1]; in testPipeNormal() local
251 write(blue, 1); in testPipeNormal()
254 blue.close(); in testPipeNormal()
262 final ParcelFileDescriptor blue = pipe[1]; in testPipeError() local
264 write(blue, 2); in testPipeError()
265 blue.closeWithError("OMG MUFFINS"); in testPipeError()
322 final ParcelFileDescriptor blue = pair[1]; in testSocketErrorAfterClose() local
325 blue.closeWithError("BLUE RAWR"); in testSocketErrorAfterClose()
338 blue.checkError(); in testSocketErrorAfterClose()
344 final ParcelFileDescriptor blue = pair[1]; in testSocketMultipleCheck() local
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DLinearGradientTest.java43 assertTrue(Color.blue(b.getPixel(10, 0)) > Color.blue(b.getPixel(10, 5))); in testLinearGradient()
44 assertTrue(Color.blue(b.getPixel(10, 5)) > Color.blue(b.getPixel(10, 10))); in testLinearGradient()
61 assertTrue(Color.blue(b.getPixel(10, 0)) < Color.blue(b.getPixel(10, 15))); in testLinearGradient()
62 assertTrue(Color.blue(b.getPixel(10, 15)) < Color.blue(b.getPixel(10, 30))); in testLinearGradient()
DSweepGradientTest.java116 int blue = (int) ((1d - delta) * Color.blue(colors[i1]) + in checkColors() local
117 delta * Color.blue(colors[i2])); in checkColors()
118 color = Color.argb(alpha, red, green, blue); in checkColors()
127 assertEquals(Color.blue(color), Color.blue(pixel), tolerance); in checkColors()
DPixelXorXfermodeTest.java62 int blue = Color.blue(color); in alphaColor() local
63 return Color.argb(alpha, red, green, blue); in alphaColor()
DColorTest.java35 assertEquals(0x00, Color.blue(Color.RED)); in testBlue()
36 assertEquals(0x00, Color.blue(Color.YELLOW)); in testBlue()
DColorMatrixColorFilterTest.java101 assertEquals(Color.blue(expected), Color.blue(actual), tolerance); in assertColor()
DBlurMaskFilterTest.java79 assertEquals(Color.blue(expected), Color.blue(actual)); in checkColor()
DLightingColorFilterTest.java87 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE); in assertColor()
DDiscretePathEffectTest.java85 assertEquals(0xFF, Color.blue(pixel)); in testDiscretePathEffect()
DEmbossMaskFilterTest.java87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); in brightness()
/cts/tools/signature-tools/templates/
DStyles.st6 a.default:link {color: blue; text-decoration: none}
7 a.default:hover {color: blue; text-decoration: underline;}
8 a.default:visited {color: blue; text-decoration: none}
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DPSNRComparer.java65 MSE += (Color.blue(ideal[index]) - Color.blue(given[index])) * in verifySame()
66 (Color.blue(ideal[index]) - Color.blue(given[index])); in verifySame()
DMeanSquaredComparer.java99 float blue = Color.blue(color) / 255.0f; in getColorSum() local
100 return (red + green + blue); in getColorSum()
DNearPixelComparer.java63 error += Math.abs(Color.blue(ideal) - Color.blue(given)); in pixelsAreSame()
DWeightedPixelDifference.java61 error += Math.abs(Color.blue(color1) - Color.blue(color2)); in errorBetweenPixels()
DThresholdDifferenceComparer.java53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index])); in verifySame()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_lut.rs21 short blue[256];
28 tmp.b = blue[in.b];
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js82 blue : 0.0, property in Flog.RayTracer.Color
91 this.blue = b;
99 result.blue = c1.blue + c2.blue;
109 result.blue = c1.blue + s;
121 result.blue = c1.blue - c2.blue;
131 result.blue = c1.blue * c2.blue;
141 result.blue = c1.blue * f;
151 result.blue = c1.blue / f;
159 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0;
163 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue);
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DCompareUtils.java12 + Math.abs(Color.blue(color) - Color.blue(expectedColor)); in verifyPixelWithThreshold()
/cts/tests/tests/animation/src/android/animation/cts/
DArgbEvaluatorTest.java30 int bRED = Color.blue(RED); in testEvaluate()
34 int bBLUE = Color.blue(BLUE); in testEvaluate()
51 int bResult = Color.blue(result); in testEvaluate()
DAnimationActivity.java254 int blue = (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/
DBitmapUtils.java87 diff += Math.abs(Color.blue(aPix) - Color.blue(bPix)); // blue in calcDifferenceMetric()
/cts/tests/tests/app/src/android/app/cts/
DNotificationManagerTest.java59 sendNotification(id, R.drawable.blue); in testNotify()
85 sendNotification(2, R.drawable.blue); in testCancelAll()
/cts/suite/cts/deviceTests/opengl/assets/fragment/
Dwater35 …ragColor = vec4(1.0 - diffuse, 1.0 - diffuse, 1.0, 1.0 - (diffuse * 0.9));// Semi transparent blue.

12