Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DWeightedPixelDifference.java57 private static float errorBetweenPixels(int color1, int color2) { in errorBetweenPixels() argument
59 error += Math.abs(Color.red(color1) - Color.red(color2)); in errorBetweenPixels()
60 error += Math.abs(Color.green(color1) - Color.green(color2)); in errorBetweenPixels()
61 error += Math.abs(Color.blue(color1) - Color.blue(color2)); in errorBetweenPixels()
62 error += Math.abs(Color.alpha(color1) - Color.alpha(color2)); in errorBetweenPixels()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java292 final ColorStateList colorStateList = mContext.getColorStateList(R.color.color2); in testGetColorStateList()
306 final int color = mContext.getColor(R.color.color2); in testGetColor()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java197 float[] color2 = new float[9]; in convertToSRGB() local
201 staticMetadata.get(CameraCharacteristics.SENSOR_COLOR_TRANSFORM2), color2); in convertToSRGB() local
214 rawImageInput, ref1, ref2, calib1, calib2, color1, color2, in convertToSRGB()