Searched refs:idealColor (Results 1 – 2 of 2) sorted by relevance
157 int idealColor = expected.getPixel(x, y); in compareImages() local159 if (idealColor == givenColor) in compareImages()163 totalError += Math.abs(Color.red(idealColor) - Color.red(givenColor)); in compareImages()164 totalError += Math.abs(Color.green(idealColor) - Color.green(givenColor)); in compareImages()165 totalError += Math.abs(Color.blue(idealColor) - Color.blue(givenColor)); in compareImages()166 totalError += Math.abs(Color.alpha(idealColor) - Color.alpha(givenColor)); in compareImages()
92 int idealColor = ideal[index]; in verifySame() local94 if (idealColor == givenColor) { in verifySame()97 totalError += errorBetweenPixels(idealColor, givenColor); in verifySame()