Home
last modified time | relevance | path

Searched refs:cct (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java124 float cct; in setAmbientColorTemperatureOverride() local
126 cct = Float.parseFloat(cctText); in setAmbientColorTemperatureOverride()
131 mService.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
DDisplayPowerController.java1985 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument
1987 mDisplayWhiteBalanceController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
DDisplayManagerService.java2277 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument
2280 mDisplayPowerController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java1103 public void setMatrix(int cct) { in setMatrix() argument
1111 final float squareTemperature = cct * cct; in setMatrix()
1113 + cct * mColorTempCoefficients[1] + mColorTempCoefficients[2]; in setMatrix()
1115 + cct * mColorTempCoefficients[4] + mColorTempCoefficients[5]; in setMatrix()
1117 + cct * mColorTempCoefficients[7] + mColorTempCoefficients[8]; in setMatrix()
1248 public boolean setDisplayWhiteBalanceColorTemperature(int cct) { in setDisplayWhiteBalanceColorTemperature() argument
1250 mDisplayWhiteBalanceTintController.setMatrix(cct); in setDisplayWhiteBalanceColorTemperature()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1829 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()