Home
last modified time | relevance | path

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

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DMaterialYouColorsSimulationUtils.kt62 var validRedSum = 0 in fillAverageColorForUnmappedPixel() variable
70 validRedSum = validRedSum + ((pixelValue shr 16) and 0xFF) in fillAverageColorForUnmappedPixel()
80 val red = (validRedSum / validColorCount + 0.5).toInt() in fillAverageColorForUnmappedPixel()