Home
last modified time | relevance | path

Searched refs:green (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DHumanEyeMatcher.kt147 val green = Color.green(referenceColor) - Color.green(testColor) in <lambda>() constant
155 return (redScalar * red * red) + (greenScalar * green * green) + (blueScalar * blue * blue) in <lambda>()
188 val outGreen = alpha * Color.green(color) + (1 - alpha) * Color.green(backgroundColor) in <lambda>()
DAlmostPerfectMatcher.kt141 val green = Color.green(referenceColor) - Color.green(testColor) in <lambda>() constant
149 (redScalar * red * red) + (greenScalar * green * green) + (blueScalar * blue * blue) in <lambda>()
DMSSIMMatcher.kt323 l += 0.72f * (Color.green(pixel) / 255f.toDouble()).pow(gamma) in getIntensity()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DMaterialYouColorsSimulationUtils.kt81 val green = (validGreenSum / validColorCount + 0.5).toInt() in fillAverageColorForUnmappedPixel() constant
86 (green shl 8) or // green in fillAverageColorForUnmappedPixel()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java185 && Math.abs(color1.green() - color2.green()) < COLOR_TOLERANCE in isSimilarColor()
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DUtils.kt32 this.red() == -1f && this.green() == -1f && this.blue() == -1f && this.alpha() == 0f in emptyColor()