Home
last modified time | relevance | path

Searched refs:color1 (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/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java196 float[] color1 = new float[9]; in convertToSRGB() local
199 staticMetadata.get(CameraCharacteristics.SENSOR_COLOR_TRANSFORM1), color1); in convertToSRGB() local
214 rawImageInput, ref1, ref2, calib1, calib2, color1, color2, in convertToSRGB()
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java202 final ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testGetColorStateList()