Home
last modified time | relevance | path

Searched defs:green (Results 1 – 20 of 20) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DColorUtils.java51 String green = verifyChannel("green", expected, observed, tolerance, (i) -> Color.green(i)); in verifyColor() local
59 @Nullable String green, @Nullable String blue, @Nullable String alpha) { in buildErrorString()
99 String green = verifyChannel("green", expected, observed, tolerance, (c) -> c.green()); in verifyColor() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DColorUtils.java51 String green = verifyChannel("green", expected, observed, tolerance, (i) -> Color.green(i)); in verifyColor() local
59 @Nullable String green, @Nullable String blue, @Nullable String alpha) { in buildErrorString()
99 String green = verifyChannel("green", expected, observed, tolerance, (c) -> c.green()); in verifyColor() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeTest.java182 int green = (Color.green(Color.GREEN) * Color.green(Color.BLUE)) / 255; in testBlendMode_MODULATE() local
209 int green = computeOverlay(alphaSrc, alphaDst, greenSrc, greenDst); in testBlendMode_OVERLAY() local
240 int green = computeDarken(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_DARKEN() local
267 int green = computeLighten(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_LIGHTEN() local
294 int green = computeColorDodge(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_COLOR_DODGE() local
330 int green = computeColorBurn(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_COLOR_BURN() local
364 int green = computeHardLight(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_HARD_LIGHT() local
398 int green = computeSoftLight(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_SOFT_LIGHT() local
443 int green = computeDifference(alphaDst, alphaSrc, greenDst, greenSrc); in testBlendMode_DIFFERENCE() local
469 int green = computeExclusion(greenDst, greenSrc); in testBlendMode_EXCLUSION() local
[all …]
DHardwareRendererTests.kt100 val green = channels[channelIndex++].toInt() and 0xFF in <lambda>() constant
182 val green = buffer.get() in testBasicDrawCpuConsumer() constant
464 val green = buffer.get().toInt() and 0xFF in testLotsOfBuffers() constant
/cts/tests/tests/graphics/src/android/graphics/cts/
DComposeShaderTest.java66 int green = (int) ((greenX + greenY - greenX * greenY) * 255); in testPorterDuff() local
99 int green = (int)((greenX + greenY - greenX * greenY) * 255); in testBlendMode() local
DSweepGradientTest.java131 int green = (int) ((1d - delta) * Color.green(colors[i1]) + in verifyColors() local
DBitmapTest.java739 public float green; field in BitmapTest.ARGB
741 ARGB(float alpha, float red, float green, float blue) { in ARGB()
/cts/tests/tests/os/src/android/os/cts/
DCrossProcessExceptionTest.java39 private IBinder green; field in CrossProcessExceptionTest
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java44 short green = (short) ((color >> 8) & 0xFF); in PixelColor() local
DPixelChecker.java67 final int green = scanline[i + 1] & 0xFF; in validatePlane() local
DRectChecker.java89 final int green = scanline[i + 1] & 0xFF; in validatePlaneForTarget() local
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java282 final View green = mActivity.findViewById(R.id.greenSquare); in earlyExitStop() local
DChangeBoundsTest.java458 public final PositionAndClip green; field in ChangeBoundsTest.RedAndGreen
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java252 int green = (int)(Math.random() * 255); in addBall() local
DValueAnimatorTest.java629 int green = Color.green(animatedValue); in testOfArgb() local
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java113 private static int makeColor(int red, int green, int blue) { in makeColor()
DEncodeVirtualDisplayWithCompositionTest.java134 private static int makeColor(int red, int green, int blue) { in makeColor()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java234 public void drawColor(float red, float green, float blue, float alpha) throws Throwable { in drawColor()
DASurfaceControlTest.java267 public void setColor(long surfaceControl, long surfaceTransaction, float red, float green, in setColor()
273 public void setColor(long surfaceControl, float red, float green, float blue, float alpha) { in setColor()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTransitionTest.java107 final View green = findBlue(); in enterExitTransitions() local