Searched refs:cct (Results 1 – 7 of 7) sorted by relevance
135 public void setMatrix(int cct) { in setMatrix() argument142 if (cct < mTemperatureMin) { in setMatrix()145 cct = mTemperatureMin; in setMatrix()146 } else if (cct > mTemperatureMax) { in setMatrix()149 cct = mTemperatureMax; in setMatrix()153 mCurrentColorTemperature = cct; in setMatrix()156 mCurrentColorTemperatureXYZ = ColorSpace.cctToXyz(cct); in setMatrix()187 Slog.d(ColorDisplayService.TAG, "setDisplayWhiteBalanceTemperatureMatrix: cct = " + cct in setMatrix()
1208 public void setMatrix(int cct) { in setMatrix() argument1216 final float squareTemperature = cct * cct; in setMatrix()1218 + cct * mColorTempCoefficients[1] + mColorTempCoefficients[2]; in setMatrix()1220 + cct * mColorTempCoefficients[4] + mColorTempCoefficients[5]; in setMatrix()1222 + cct * mColorTempCoefficients[7] + mColorTempCoefficients[8]; in setMatrix()1361 public boolean setDisplayWhiteBalanceColorTemperature(int cct) { in setDisplayWhiteBalanceColorTemperature() argument1363 mDisplayWhiteBalanceTintController.setMatrix(cct); in setDisplayWhiteBalanceColorTemperature()
141 float cct; in setAmbientColorTemperatureOverride() local143 cct = Float.parseFloat(cctText); in setAmbientColorTemperatureOverride()148 mService.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
2031 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument2033 mDisplayWhiteBalanceController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
1486 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument1489 mDisplayPowerController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
219 final int cct = 6500; in displayWhiteBalance_validateTransformMatrix() local220 mDisplayWhiteBalanceTintController.setMatrix(cct); in displayWhiteBalance_validateTransformMatrix()223 .isEqualTo(cct); in displayWhiteBalance_validateTransformMatrix()
1842 public static float[] cctToXyz(@IntRange(from = 1) int cct) { in cctToXyz()1843 if (cct < 1) { in cctToXyz()1847 final float icct = 1e3f / cct; in cctToXyz()1849 final float x = cct <= 4000.0f ? in cctToXyz()1854 final float y = cct <= 2222.0f ? in cctToXyz()1856 cct <= 4000.0f ? in cctToXyz()1881 public static float[] cctToIlluminantdXyz(@IntRange(from = 1) int cct) { in cctToIlluminantdXyz()1882 if (cct < 1) { in cctToIlluminantdXyz()1886 final float icct = 1.0f / cct; in cctToIlluminantdXyz()1888 final float x = cct <= 7000.0f ? in cctToIlluminantdXyz()