Home
last modified time | relevance | path

Searched refs:blue (Results 1 – 25 of 31) 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()
DBlurMaskFilterTest.java79 assertEquals(Color.blue(expected), Color.blue(actual)); in checkColor()
DColorMatrixColorFilterTest.java94 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE); in assertColor()
DColorTest.java35 assertEquals(0x00, Color.blue(Color.RED)); in testBlue()
36 assertEquals(0x00, Color.blue(Color.YELLOW)); in testBlue()
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()
DYuvImageTest.java382 int b = Color.blue(actual) - Color.blue(exp); in distance()
389 int b = Color.blue(argb); in argb2yuv()
DComposeShaderTest.java64 assertEquals(x, Color.blue(pixel), TOLERANCE); in testPorterDuff()
DCanvasTest.java960 final int blue = 0xff; in testDrawRGB() local
962 mCanvas.drawRGB(red, green, blue); in testDrawRGB()
964 final int color = alpha << 24 | red << 16 | green << 8 | blue; in testDrawRGB()
972 final int blue = 0x44; in testDrawARGB() local
974 mCanvas.drawARGB(alpha, red, green, blue); in testDrawARGB()
975 final int color = alpha << 24 | red << 16 | green << 8 | blue; in testDrawARGB()
DBitmapRegionDecoderTest.java442 int b = Color.blue(actual) - Color.blue(exp); in distance()
DBitmapFactoryTest.java549 final int b = Color.blue(actual) - Color.blue(expect); in distance()
/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/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/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.java249 int blue = (int)(Math.random() * 255); in addBall() local
250 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall()
251 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
/cts/apps/CtsVerifier/lib/colorchecker/
Dexposurecompensationtest.cpp49 Vec3i blue(0, 0, 255); in processData() local
80 drawPoint(200 - exposureBlue, mCheckerColors[i][j].b(), blue); in processData()
/cts/tests/tests/app/src/android/app/cts/
DNotificationManagerTest.java60 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.
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java98 private static int makeColor(int red, int green, int blue) { in makeColor() argument
99 return 0xff << 24 | (red & 0xff) << 16 | (green & 0xff) << 8 | (blue & 0xff); in makeColor()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java113 Drawable drawable3 = mResources.getDrawable(R.drawable.blue); in testVerifyDrawable()

12