Commit Graph

18 Commits

Author SHA1 Message Date
Steve Kondik 86cae92291 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
2016-07-20 10:07:31 -07:00
Adrian DC 25d7081418 cmsdk: Correct the useSegmentedBatteryLed details
* The power level is passed down as the alpha channel now,
    in order to preserve consistency and still pass down
    the color of the battery lights given to the liblights

Change-Id: Ia44cf1f73f09da6c96ac3b98e9387f1e3ec42249
2016-07-18 12:35:23 -07:00
Adnan Begovic b51572d697 cmsdk: Create CMSystemServer to handle our platform init.
Change-Id: I7b62978e2a284a3a1ec1ffc1d8c72545d7b0c939
2016-05-31 17:28:48 -07:00
Steve Kondik 462be9bc62 cmsdk: Add support for segmented LEDs
* For devices with segmented LEDs which can function as a range bar.

Change-Id: I346576b705635b60f9fd8716937e86b23bc7aa30
2016-05-03 18:54:07 -07:00
Steve Kondik bf3c0cf948 cmsdk: Add CMAudioManager
* This is a rework of the session callback API which previously
   lived in the framework due to JNI usage. This has been split out
   and cleaned up for CMSDK.
 * The JNI library lives on the server side, and the app-level
   callback has been changed to a protected broadcast. This allows
   us to wake up registered services when these events occur.
 * Additionally, we support listing all active audio sessions.
 * Also brings some JNI love/hate over to CMSDK.

Change-Id: I31c293943474419e3db088bb7ffab75f7440ac0f
2016-04-27 22:13:36 -07:00
Steve Kondik 1dab5a0ca9 cmsdk: Refactoring LiveDisplay
* Moving LiveDisplay to CMSDK!
 * Completely redesigned the feature for future expansion.
 * No new features in this patch, but a proper API is being
   designed.

Change-Id: Ic8f55678f9141bf3386b2a1cf2fd1e8b3916c278
2016-04-13 01:37:08 -07:00
Luis Vidal 4195a1cf89 Add Weather Content Provider [4/5]
Introduce CM Weather Manager and Weather Provider Services API.
The CM Weather Manager can be used by apps to request weather
updates.

The Weather Provider Services API allows a third party developer to
implement a weather service to process weather update requests and
update the CM Weather Content Provider data which can be consumed by
any other app holding the required permission.

Change-Id: Idcc80712ba92715109d3577d120f7fea85d6c996
2016-03-31 17:36:53 -07:00
d34d bfa500dd15 LLS: Add live lock screen service [1/4]
The live lock screen service is resposonsible for deciding what
LLS should be displayed at any given time.  Live lock screens can
be swapped out using a priority based system.

Change-Id: Ifba73e839b749fe78a9e4ee347dd20eea6bf0a22
2016-03-29 15:02:45 -07:00
Adnan Begovic 80f56517fd cmsdk: Introduce externalCMServices array to cmres.
Change-Id: I29427524e69327f79e0adae16ccd800fbd712646
2016-03-15 15:54:06 -07:00
Roman Birg 06965d4dfe cmsdk: adjust default tile order
Ref: CYNGNOS-1861

Change-Id: I0f4ab58cb38fe0c9a2dba1b7d38de9020544bdc4
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-02-11 11:44:09 -08:00
Keith Mok 3629a574b2 cmsdk: remove visualizer from default qs tile list
This fixes the following errors during bootup:
QSTileHost: Error creating tile for spec: visualizer
QSTileHost: java.lang.IllegalArgumentException: Bad tile spec: visualizer

CYNGNOS-1722

Change-Id: Idd45ef73beb004fb4afb310bb335f3cc85b08330
2016-01-26 13:22:40 -08:00
Khalid Zubair c972c0e85e Add resources for WiFi customization
Add resources needed by WiFi service (see
If1613a8556908f372a70fbd859fa35e9315f9613)

Change-Id: I76b838354459e4482795c9812d37bb204df708c3
2015-12-23 16:28:09 -08:00
Adnan Begovic af4d676a93 cmsdk: Add QS utility classes.
Change-Id: I5644f6d9769614d72220ee68a08202e6c69037d9
2015-12-08 17:44:26 -08:00
AdrianDC a63e78ba92 cmsdk: Move Notification LEDs settings to CMSettings
* Lights with Screen On
 * LEDs Brightness
 * Multiple LEDs

Change-Id: I8c3f3cae53c834d1d2798d9dece00e3253ccb1db
Signed-off-by: AdrianDC <radian.dc@gmail.com>
2015-11-13 14:13:09 +01:00
Adnan Begovic a09defa3c9 cmsdk: Move LiveDisplay settings and resources.
Change-Id: I6d0c3f8b645e2c8cca059ff343a774eab1933a9b
2015-11-10 18:10:54 -08:00
Adnan Begovic 3c42b723c3 cmsdk: Move proximitycheck to CMSettings.
Change-Id: If9e097c373404fe8983fd9160ebeb8405bd363d8
2015-11-09 18:00:32 -08:00
Steve Kondik 620c35bd6b cmsdk: Refactor the PerformanceManager
* Remove all code and configuration into CMSDK.
 * Deprecate the properties-based API

Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b
2015-11-03 17:59:44 -08:00
herriojr e78ca4d6fe Added Application Suggestions.
Added in custom Resolver to handle providing suggestions.

Added in Service to handle providing suggestions to custom resolver.

Added in ability to provider suggestions through a Proxy to another
application which must be installed during compile time if one is
to be used. This is a similar implementation to how the Location
Services work.

Change-Id: Id960260596b7bb6485caa1e1d07744e387a4c6e9
2015-09-14 14:29:43 -07:00