From 86cae92291f728d0eca637573ecbe6e0a53ccf1a Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Mon, 18 Jul 2016 02:36:42 -0700 Subject: livedisplay: Add support for direct color balance control * We currently use the DisplayColorCalibration API for setting display temperature which makes a lot of guesses about what temperature the display really is. Some devices will support the new ColorBalance API (via QDCM or other mechanism), which offers a calibrated alternative. Add support for this, which will supercede DCC if available. * Additionally, define the available color temperature range as a set of overlayable values so this can be specified per-device. This range will be mapped to balance values using the power curve calculations in the new MathUtils class. Change-Id: I99608c09807b747d962680293c7b0cee8d669003 --- cm/res/res/values/config.xml | 8 ++++++++ cm/res/res/values/symbols.xml | 3 +++ 2 files changed, 11 insertions(+) (limited to 'cm/res') diff --git a/cm/res/res/values/config.xml b/cm/res/res/values/config.xml index f08a75f..9592bf1 100644 --- a/cm/res/res/values/config.xml +++ b/cm/res/res/values/config.xml @@ -57,6 +57,14 @@ 9000 0 + + 1000 + 10000 + false true true diff --git a/cm/res/res/values/symbols.xml b/cm/res/res/values/symbols.xml index 0e7143c..e79570b 100644 --- a/cm/res/res/values/symbols.xml +++ b/cm/res/res/values/symbols.xml @@ -73,6 +73,9 @@ + + + -- cgit v1.1