Searched refs:cct (Results 1 – 6 of 6) 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()
1204 public void setMatrix(int cct) { in setMatrix() argument1212 final float squareTemperature = cct * cct; in setMatrix()1214 + cct * mColorTempCoefficients[1] + mColorTempCoefficients[2]; in setMatrix()1216 + cct * mColorTempCoefficients[4] + mColorTempCoefficients[5]; in setMatrix()1218 + cct * mColorTempCoefficients[7] + mColorTempCoefficients[8]; in setMatrix()1357 public boolean setDisplayWhiteBalanceColorTemperature(int cct) { in setDisplayWhiteBalanceColorTemperature() argument1359 mDisplayWhiteBalanceTintController.setMatrix(cct); in setDisplayWhiteBalanceColorTemperature()
124 float cct; in setAmbientColorTemperatureOverride() local126 cct = Float.parseFloat(cctText); in setAmbientColorTemperatureOverride()131 mService.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
1985 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument1987 mDisplayWhiteBalanceController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
2279 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument2282 mDisplayPowerController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
1829 public static float[] cctToXyz(@IntRange(from = 1) int cct) { in cctToXyz()1830 if (cct < 1) { in cctToXyz()1834 final float icct = 1e3f / cct; in cctToXyz()1836 final float x = cct <= 4000.0f ? in cctToXyz()1841 final float y = cct <= 2222.0f ? in cctToXyz()1843 cct <= 4000.0f ? in cctToXyz()1868 public static float[] cctToIlluminantdXyz(@IntRange(from = 1) int cct) { in cctToIlluminantdXyz()1869 if (cct < 1) { in cctToIlluminantdXyz()1873 final float icct = 1.0f / cct; in cctToIlluminantdXyz()1875 final float x = cct <= 7000.0f ? in cctToIlluminantdXyz()