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: Simplified Chinese Translations

Updated translations and reorganized all CM strings into cm_arrays.xml
and cm_strings.xml respectively.

Patch Set 2: Made the changes suggested by Engle Mars, as well as
deleted all comments as per the new translation policy. Also added some
new strings.

Patch Set 3: Updated with new suggestions and strings.

Change-Id: I03cdf2864a3f17b9a7fcc48d6d4acab0e684ba30
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
Power sound notifications: fix ringtone picker title

Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf
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
Settings: RU translation

Patch Set 2: Update translation
Settings: Refactor dimens

Change-Id: I2eca4e63bfabff018c23de0c9f653f326eca58f3
Settings: Add translatable false tag

Added translatable false tag to auto_brightness_brightness_format
and removed it in any other languages

Change-Id: Ia0b00209186baa5eccb2f9882f5ba97240de9aa8
Settings : FR translation

Patch set 2 : rebase, correction
Patch set 3 : correction

Change-Id: I1a1a3541f5e9e1a989df20666b56930d8c6708ce