Home
last modified time | relevance | path

Searched refs:ambientColorTemperature (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
H A DAmbientLuxTest.java132 final float ambientColorTemperature = 8000.0f; in testNoSpline() local
139 ambientColorTemperature, 0.001); in testNoSpline()
152 final float ambientColorTemperature = 8000.0f; in testSpline_OneSegment() local
184 final float ambientColorTemperature = 8000.0f; in testSpline_TwoSegments() local
221 final float ambientColorTemperature = 8000.0f; in testSpline_VerticalSegment() local
240 final float ambientColorTemperature = 8000.0f; in testSpline_InvalidEndBias() local
247 ambientColorTemperature, 0.001); in testSpline_InvalidEndBias()
258 final float ambientColorTemperature = 8000.0f; in testSpline_InvalidBeginBias() local
265 ambientColorTemperature, 0.001); in testSpline_InvalidBeginBias()
278 final float ambientColorTemperature = 8000.0f; in testSpline_OneSegmentHighLight() local
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/display/whitebalance/
H A DDisplayWhiteBalanceController.java366 mLatestAmbientColorTemperature = ambientColorTemperature; in updateAmbientColorTemperature()
369 ambientColorTemperature = in updateAmbientColorTemperature()
376 if (ambientColorTemperature != -1.0f && in updateAmbientColorTemperature()
379 ambientColorTemperature = in updateAmbientColorTemperature()
380 bias * ambientColorTemperature + (1.0f - bias) in updateAmbientColorTemperature()
384 if (ambientColorTemperature != -1.0f && in updateAmbientColorTemperature()
387 ambientColorTemperature = in updateAmbientColorTemperature()
405 if (ambientColorTemperature == -1.0f || mThrottler.throttle(ambientColorTemperature)) { in updateAmbientColorTemperature()
422 float ambientColorTemperature = -1.0f; in updateDisplayColorTemperature() local
438 if (ambientColorTemperature == -1.0f) { in updateDisplayColorTemperature()
[all …]