OSDN Git Service

settings: Add support for color balance in LiveDisplay
authorSteve Kondik <steve@cyngn.com>
Mon, 18 Jul 2016 09:41:19 +0000 (02:41 -0700)
committerSteve Kondik <shade@chemlab.org>
Wed, 20 Jul 2016 17:08:45 +0000 (10:08 -0700)
commita186b70f592628b0bc35c2a1ada23346f11c9083
tree831cd1d7b1395413201b805741b291c10dbafef0
parent99948dfb5f569e758805843b8c50a48804550e1b
settings: Add support for color balance in LiveDisplay

 * Use the newly exposed APIs to map color temperatures to
   the linear color balance range using a power curve
   calculation.

Change-Id: Ia1b7f26b5e4fff6d0f0e78d6cb62a7a9a2aec30e
src/com/android/settings/livedisplay/DisplayTemperature.java
src/com/android/settings/livedisplay/LiveDisplay.java