Commit Graph

3 Commits

Author SHA1 Message Date
Steve Kondik d22b115d33 cmsdk: Improve color distance algorithm
* Use CIE2000 deltaE algorithm (from OpenIMAJ)
 * Try harder to find a good looking color (also try dominant color)
 * Use new Palette API

Change-Id: I0f0be52fe7c3e8376f1aa08c4bfa2751cd0659da
2016-02-08 08:11:57 -08:00
Steve Kondik c30bcacbca cmsdk: Add preference for automatic notification colors
Change-Id: I4bdb430917dac69f397995ea1c2abcacfb62136e
2016-02-08 08:11:25 -08:00
Steve Kondik 066a58e02d cmsdk: Add helper class for working with colors
* A bunch of generally useful algorithms and helpers for performing
   colorspace conversions and other color-related math.

Change-Id: If54ca156fc5473f6c1b39eb53bd871f48c3dc2a1
2015-12-09 21:03:27 -08:00