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
Settings: Update Polish translation

PS2: Fixes

Change-Id: I292f5b0a62b8d2ab5716418942061cc1985fd17c
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
Merge "Settings: Update Polish translation" into cm-10.1
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
Merge remote-tracking branch 'upstream/cm-10.1' into HEAD