/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LinearGradientTest.java | 50 assertTrue(Color.red(b.getPixel(10, 15)) < Color.red(b.getPixel(10, 20))); in testLinearGradient() 51 assertTrue(Color.red(b.getPixel(10, 20)) < Color.red(b.getPixel(10, 25))); in testLinearGradient() 59 assertTrue(Color.red(b.getPixel(10, 0)) > Color.red(b.getPixel(10, 15))); in testLinearGradient() 60 assertTrue(Color.red(b.getPixel(10, 15)) > Color.red(b.getPixel(10, 30))); in testLinearGradient()
|
D | SweepGradientTest.java | 112 int red = (int) ((1d - delta) * Color.red(colors[i1]) + in checkColors() local 113 delta * Color.red(colors[i2])); in checkColors() 118 color = Color.argb(alpha, red, green, blue); in checkColors() 125 assertEquals(Color.red(color), Color.red(pixel), tolerance); in checkColors()
|
D | PixelXorXfermodeTest.java | 60 int red = Color.red(color); in alphaColor() local 63 return Color.argb(alpha, red, green, blue); in alphaColor()
|
D | ColorMatrixColorFilterTest.java | 92 assertEquals(Color.red(expected), Color.red(actual), TOLERANCE); in assertColor()
|
D | BlurMaskFilterTest.java | 77 assertEquals(Color.red(expected), Color.red(actual)); in checkColor()
|
D | ColorTest.java | 108 assertEquals(0xff, Color.red(Color.RED)); in testRed() 109 assertEquals(0xff, Color.red(Color.YELLOW)); in testRed()
|
D | LightingColorFilterTest.java | 85 assertEquals(Color.red(expected), Color.red(actual), TOLERANCE); in assertColor()
|
D | DiscretePathEffectTest.java | 86 if (Color.red(pixel) > 0) { in testDiscretePathEffect()
|
D | YuvImageTest.java | 380 int r = Color.red(actual) - Color.red(exp); in distance() 387 int r = Color.red(argb); in argb2yuv()
|
D | EmbossMaskFilterTest.java | 87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); in brightness()
|
D | PorterDuffColorFilterTest.java | 51 assertEquals(0x80, Color.red(lowerLeft), TOLERANCE); in testPorterDuffColorFilter()
|
D | ComposeShaderTest.java | 62 assertEquals(y, Color.red(pixel), TOLERANCE); in testPorterDuff()
|
D | BitmapFactoryTest.java | 328 final int r = Color.red(actual) - Color.red(expect); in distance()
|
D | BitmapRegionDecoderTest.java | 401 int r = Color.red(actual) - Color.red(exp); in distance()
|
D | CanvasTest.java | 958 final int red = 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() 970 final int red = 0x22; 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 | 80 red : 0.0, property in Flog.RayTracer.Color 89 this.red = r; 97 result.red = c1.red + c2.red; 107 result.red = c1.red + s; 119 result.red = c1.red - c2.red; 129 result.red = c1.red * c2.red; 139 result.red = c1.red * f; 149 result.red = c1.red / f; 157 this.red = (this.red > 0.0) ? ( (this.red > 1.0) ? 1.0 : this.red ) : 0.0; 163 …var d = Math.abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue -… [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ArgbEvaluatorTest.java | 28 int rRED = Color.red(RED); in testEvaluate() 32 int rBLUE = Color.red(BLUE); in testEvaluate() 49 int rResult = Color.red(result); in testEvaluate()
|
D | AnimationActivity.java | 247 int red = (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 | 47 Vec3i red(255, 0, 0); in processData() local 78 drawPoint(200 - exposureRed, mCheckerColors[i][j].r(), red); in processData()
|
/cts/tools/dasm/src/java_cup/ |
D | emit.java | 488 int red; in do_action_table() local 532 red = ((reduce_action)act).reduce_with().index(); in do_action_table() 533 if (red != row.default_reduce) in do_action_table() 534 out.print(j + "," + (-(red+1)) + ","); in do_action_table()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 133 mComponentInfo.icon = R.drawable.red; in testGetIconResource()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GridViewTest.java | 749 R.drawable.blue, R.drawable.red, 752 R.drawable.pass, R.drawable.red,
|
D | TextViewTest.java | 1776 assertEquals(mActivity.getResources().getColor(R.drawable.red), 1778 assertEquals(mActivity.getResources().getColor(R.drawable.red), 1962 Drawable top = mActivity.getResources().getDrawable(R.drawable.red); 2134 final Drawable top = mActivity.getResources().getDrawable(R.drawable.red); in testGetExtendedPaddingTop() 2153 final Drawable bottom = mActivity.getResources().getDrawable(R.drawable.red); in testGetExtendedPaddingBottom() 2171 final Drawable top = mActivity.getResources().getDrawable(R.drawable.red); in testGetTotalPaddingTop() 2197 final Drawable bottom = mActivity.getResources().getDrawable(R.drawable.red); in testGetTotalPaddingBottom() 2226 Drawable left = mActivity.getResources().getDrawable(R.drawable.red); in testGetTotalPaddingLeft() 2244 Drawable right = mActivity.getResources().getDrawable(R.drawable.red); in testGetTotalPaddingRight() 2310 assertEquals(mActivity.getResources().getColor(R.drawable.red), in testSetTextAppearance()
|
D | ProgressBarTest.java | 361 Drawable d2 = mContext.getResources().getDrawable(R.drawable.red); in testVerifyDrawable()
|
/cts/tests/src/android/opengl/cts/ |
D | CompressedTextureSurfaceView.java | 210 int deltaR = Math.abs(R - Color.red(original)); in comparePixel()
|