Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/color/
DCctEvaluator.java73 final int cct = index + mIndexOffset; in CctEvaluator() local
76 && cct >= cctRangeMinimums[nextParallelArraysIndex]) { in CctEvaluator()
82 || Math.abs(lastSteppedCct - cct) >= steps[parallelArraysIndex]) { in CctEvaluator()
83 lastSteppedCct = cct; in CctEvaluator()
93 final int cct = (int) (startValue + fraction * (endValue - startValue)); in evaluate() local
94 final int index = cct - mIndexOffset; in evaluate()
97 return cct; in evaluate()
DDisplayWhiteBalanceTintController.java219 public void setMatrix(int cct) { in setMatrix() argument
220 setTargetCct(cct); in setMatrix()
225 public void setTargetCct(int cct) { in setTargetCct() argument
232 if (cct < mTemperatureMin) { in setTargetCct()
236 } else if (cct > mTemperatureMax) { in setTargetCct()
241 mTargetCct = cct; in setTargetCct()
251 public float[] computeMatrixForCct(int cct) { in computeMatrixForCct() argument
252 if (!mSetUp || cct == 0) { in computeMatrixForCct()
253 Slog.w(ColorDisplayService.TAG, "Couldn't compute matrix for cct=" + cct); in computeMatrixForCct()
258 mCurrentColorTemperature = cct; in computeMatrixForCct()
[all …]
DColorTemperatureTintController.java23 abstract void setAppliedCct(int cct); in setAppliedCct() argument
27 abstract void setTargetCct(int cct); in setTargetCct() argument
35 abstract float[] computeMatrixForCct(int cct); in computeMatrixForCct() argument
DColorDisplayService.java1418 public void setMatrix(int cct) { in setMatrix() argument
1426 final float squareTemperature = cct * cct; in setMatrix()
1428 + cct * mColorTempCoefficients[1] + mColorTempCoefficients[2]; in setMatrix()
1430 + cct * mColorTempCoefficients[4] + mColorTempCoefficients[5]; in setMatrix()
1432 + cct * mColorTempCoefficients[7] + mColorTempCoefficients[8]; in setMatrix()
1577 public boolean setDisplayWhiteBalanceColorTemperature(int cct) { in setDisplayWhiteBalanceColorTemperature() argument
1579 mDisplayWhiteBalanceTintController.setTargetCct(cct); in setDisplayWhiteBalanceColorTemperature()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java303 final int cct = 6500; in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix() local
304 mDisplayWhiteBalanceTintController.setMatrix(cct); in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
310 .isEqualTo(cct); in displayWhiteBalance_getAndSetMatrix_validateTransformMatrix()
352 final int cct = 6500; in displayWhiteBalance_targetApplied_validateTransformMatrix() local
353 mDisplayWhiteBalanceTintController.setTargetCct(cct); in displayWhiteBalance_targetApplied_validateTransformMatrix()
354 final float[] matrixDwb = mDisplayWhiteBalanceTintController.computeMatrixForCct(cct); in displayWhiteBalance_targetApplied_validateTransformMatrix()
355 mDisplayWhiteBalanceTintController.setAppliedCct(cct); in displayWhiteBalance_targetApplied_validateTransformMatrix()
359 .isEqualTo(cct); in displayWhiteBalance_targetApplied_validateTransformMatrix()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java360 float cct; in setAmbientColorTemperatureOverride() local
362 cct = Float.parseFloat(cctText); in setAmbientColorTemperatureOverride()
367 mService.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
DDisplayPowerController.java1851 private void setDwbcOverride(float cct) { in setDwbcOverride() argument
1853 mDisplayWhiteBalanceController.setAmbientColorTemperatureOverride(cct); in setDwbcOverride()
3047 final float cct = Float.intBitsToFloat(msg.arg1); in handleMessage() local
3048 setDwbcOverride(cct); in handleMessage()
3130 public void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument
3133 msg.arg1 = Float.floatToIntBits(cct); in setAmbientColorTemperatureOverride()
DDisplayManagerService.java2989 void setAmbientColorTemperatureOverride(float cct) { in setAmbientColorTemperatureOverride() argument
2994 displayPowerController.setAmbientColorTemperatureOverride(cct); in setAmbientColorTemperatureOverride()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2010 public static float[] cctToXyz(@IntRange(from = 1) int cct) {
2011 if (cct < 1) {
2015 final float icct = 1e3f / cct;
2017 final float x = cct <= 4000.0f ?
2022 final float y = cct <= 2222.0f ?
2024 cct <= 4000.0f ?
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...