Home
last modified time | relevance | path

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

12

/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()
DColorMatrixColorFilterTest.java94 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE); in assertColor()
DBlurMaskFilterTest.java79 assertEquals(Color.blue(expected), Color.blue(actual)); in checkColor()
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()
DYuvImageTest.java382 int b = Color.blue(actual) - Color.blue(exp); in distance()
389 int b = Color.blue(argb); in argb2yuv()
DEmbossMaskFilterTest.java87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); in brightness()
DComposeShaderTest.java64 assertEquals(x, Color.blue(pixel), TOLERANCE); in testPorterDuff()
DBitmapFactoryTest.java330 final int b = Color.blue(actual) - Color.blue(expect); in distance()
DBitmapRegionDecoderTest.java403 int b = Color.blue(actual) - Color.blue(exp); in distance()
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()
/cts/suite/pts/hostTests/browser/browserlauncher/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/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java112 Drawable drawable3 = mResources.getDrawable(R.drawable.blue); in testVerifyDrawable()
DGridViewTest.java749 R.drawable.blue, R.drawable.red,
751 R.drawable.blue, R.drawable.failed,
DProgressBarTest.java360 Drawable d1 = mContext.getResources().getDrawable(R.drawable.blue); in testVerifyDrawable()
DTextViewTest.java1780 assertEquals(mActivity.getResources().getColor(R.drawable.blue),
1960 Drawable left = mActivity.getResources().getDrawable(R.drawable.blue);
2312 assertEquals(mActivity.getResources().getColor(R.drawable.blue), in testSetTextAppearance()
2318 assertEquals(mActivity.getResources().getColor(R.drawable.blue), in testSetTextAppearance()
/cts/tests/src/android/opengl/cts/
DCompressedTextureSurfaceView.java212 int deltaB = Math.abs(B - Color.blue(original)); in comparePixel()

12