/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LinearGradientTest.java | 43 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()
|
D | SweepGradientTest.java | 116 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()
|
D | PixelXorXfermodeTest.java | 62 int blue = Color.blue(color); in alphaColor() local 63 return Color.argb(alpha, red, green, blue); in alphaColor()
|
D | ColorMatrixColorFilterTest.java | 94 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE); in assertColor()
|
D | BlurMaskFilterTest.java | 79 assertEquals(Color.blue(expected), Color.blue(actual)); in checkColor()
|
D | ColorTest.java | 35 assertEquals(0x00, Color.blue(Color.RED)); in testBlue() 36 assertEquals(0x00, Color.blue(Color.YELLOW)); in testBlue()
|
D | LightingColorFilterTest.java | 87 assertEquals(Color.blue(expected), Color.blue(actual), TOLERANCE); in assertColor()
|
D | DiscretePathEffectTest.java | 85 assertEquals(0xFF, Color.blue(pixel)); in testDiscretePathEffect()
|
D | YuvImageTest.java | 382 int b = Color.blue(actual) - Color.blue(exp); in distance() 389 int b = Color.blue(argb); in argb2yuv()
|
D | EmbossMaskFilterTest.java | 87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); in brightness()
|
D | ComposeShaderTest.java | 64 assertEquals(x, Color.blue(pixel), TOLERANCE); in testPorterDuff()
|
D | BitmapFactoryTest.java | 330 final int b = Color.blue(actual) - Color.blue(expect); in distance()
|
D | BitmapRegionDecoderTest.java | 403 int b = Color.blue(actual) - Color.blue(exp); in distance()
|
D | CanvasTest.java | 960 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/ |
D | raytrace.js | 82 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/ |
D | Styles.st | 6 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/ |
D | ArgbEvaluatorTest.java | 30 int bRED = Color.blue(RED); in testEvaluate() 34 int bBLUE = Color.blue(BLUE); in testEvaluate() 51 int bResult = Color.blue(result); in testEvaluate()
|
D | AnimationActivity.java | 249 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/ |
D | exposurecompensationtest.cpp | 49 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/ |
D | NotificationManagerTest.java | 60 sendNotification(2, R.drawable.blue); in testCancelAll()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSeekBarTest.java | 112 Drawable drawable3 = mResources.getDrawable(R.drawable.blue); in testVerifyDrawable()
|
D | GridViewTest.java | 749 R.drawable.blue, R.drawable.red, 751 R.drawable.blue, R.drawable.failed,
|
D | ProgressBarTest.java | 360 Drawable d1 = mContext.getResources().getDrawable(R.drawable.blue); in testVerifyDrawable()
|
D | TextViewTest.java | 1780 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/ |
D | CompressedTextureSurfaceView.java | 212 int deltaB = Math.abs(B - Color.blue(original)); in comparePixel()
|