Improve brightness curve preview

- Avoid log spamming
- Add a little margin around the grid so outer control points aren't cut

Change-Id: Idb6cd2773186f9e7011486dc62f21e2fab85e245
Correctly restore brightness customize dialog hierarchy.

This is especially important when rotating the device.

Change-Id: Iaf1ceb46943e9d0a171d6a75d3d446dbec205095
Added hungarian translations

Change-Id: Idd2688618de27d5c683537211a2101cdec3af5e7
Settings: ES translations

- Move CM additions to new files
- Restore AOSP strings
- Power notification support
- Stylus gestures features
- Frequency selection for new IBSS
- Auto-brightness level UI

Change-Id: I3bf151f489d8824b7ecde1582c8a1921467e5a82
Led Settings : Hex input for colorpicker

Allow users to specify hex color codes

Change-Id: I644b624d569e5c2fbb0fc48683c73041b4193d27
Merge "Added hungarian translations" into cm-10.1
Merge "Improve brightness curve preview" into cm-10.1
Merge "Correctly restore brightness customize dialog hierarchy." into cm-10.1
Merge "Led Settings : Hex input for colorpicker" into cm-10.1
Merge "Settings: ES translations" into cm-10.1
CMStats: fix up the logic and potential sync failures

Change-Id: I69e32941f5b873fdfc30dd73370db821983effe7
Merge remote-tracking branch 'cmremote/cm-10.1' into cm-10.1
Settings: Broadcast ACTION_DATE_CHANGED

Send ACTION_DATE_CHANGED when user change the format of the date

Change-Id: I89ef0354ae2b0825378a6e8939341c4eccf63e17
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Fix NPE in Settings -> Language & input -> Default -> Setup input
methods

If the InputMethodAndLanguageSettings fragment is launched in IME-only
mode, it removes most preferences, so we need to null-check them before
use.

Change-Id: I297cc9c6885f62ed6ff65937ef5da401ab7cd271
JIRA:CYAN-896
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1