Settings: Add Permissions Management to AOKP [1/4]

So that user can easily access the Permissions Management app via settings.

Change-Id: I4f30389c3f8c9f05c0279c60ed819a65aa0d69df
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
AOKPStats: update regex to reflect recent changes

Change-Id: I039bbf64487861cf0e8a820f3a64b5947a40564b
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Settings: Add Permissions Management to AOKP [1/4]" into jb-mr1
Settings: Updated czech translation

Change-Id: I931b02d00736f8d262aad1be81b9a7b72281f190
Signed-off-by: kecinzer <kecinzer@gmail.com>
Squash auto-brightness updates

Overhaul auto-brightness level UI.

This changes a few things:
- Don't imply a 'bucket' type of algorithm is used by showing an ambient
  brightness range for each line
- Allow manually entering the screen brightness
- Add a preview window for the cubic spline interpolation
- Add a help text

JIRA:CYAN-612
Change-Id: I64274280872b9fe4f6fdc368d654aca81e0a4e0c

Improve brightness curve preview

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

Change-Id: If4dabdf4c713e01e59a0f367f6e95772ebc12cd7

Correctly restore brightness customize dialog hierarchy.

This is especially important when rotating the device.

Change-Id: I345823cb0a4fb30bd8ecdf40d241e2e6a394ae0a
Merge "Squash auto-brightness updates" into jb-mr1
Update Japanese translation

PS2: rebase and add missing translations
PS3: fix whitespace

Change-Id: I480fa82b71f627ba28e64f4d56bebca270bc2f87
Signed-off-by: rdgate <rdgate@gmail.com>
Settings: Updated czech translation

According to new brightness settings

Change-Id: If6fde797ed3bf39b39be5765442f98f412422ec3
Signed-off-by: kecinzer <kecinzer@gmail.com>
Make menu item title and help text consistent.

Change-Id: I8ee773c473873e5e4c3ea3dbcc0ec3e53dc2b91c
Updated simplified Chinese translations

Change-Id: I634cc31dff349c02be15db2f5e994b8c6ba851cf
Update Japanese translation

Change-Id: Iebf4064ffb4dd2f4c4165cb7291b1da23f0ac3a9
Signed-off-by: rdgate <rdgate@gmail.com>
Merge "Settings: Updated czech translation" into jb-mr1
Merge "Updated simplified Chinese translations" into jb-mr1
Merge "Update Japanese translation" into jb-mr1
Squash Dark UI commits from Slim

Settings: Add new configuration qualifier for UI change on the fly (3/3)

last night I got an idea after 5 weeks of breaking stuff and
doing to much complicated things. Together with mnazim we tried
today to realize this idea. So another absolut new unique SlimBean
feature is born.

The aim we wanted at the end was to give a simple and resource friendly
way to change the complete UI of a rom on the fly. So why not use
the great fallback mechanism of AOSP and change/add a new
qualifier into the AOSP core. To explain how it works.....if you want
to add a new UI just add in /res folder of any app or framework you want
folders with the qualifier "inverted". Eg. drawable-inverted-xhdpi
or values-inverted or layout-port-inverted or whatever you want. Put in
only the files you want to modify thats it.

All qualifier in AOSP are following strict rules. You can read here.
Do not forget the order of qualifier is important. The new "inverted"
qualifier we added to the UIMode qualifier. To get more information
about read here

http://developer.android.com/guide/topics/resources/providing-resources.html

So what this commit does:
- add new qualifier "inverted"
- support for API level 13 and higher
- change the custom UI on the fly
- control default UI Mode over config.xml
- working for all apps. They just need to include folders
  with the new qualifier name
- resource friendly....no resource wasting either programmticaly
  then source blow, because you just need to put in the files you
  want to change
- cause of the qualifier structure compatible with every phone,
  language or whatever qualifier you want to use on top
- 100% compatible to theme manager. If a theme misses drawables
  they are replaced with them from the current UIMode which is set.

What is the benefit why not use just a theme? We started half year
ago TRDS which was inverted gapps system base themed....means we
morphed directly the changes into the framework. This methoed was
on of the reasons why trds got so popular. Points for that are easy
first the system is themed, means each theme you activate over
theme engine works on top the themed system. So you have a base
style and can modify more if you want. The other reason is easy
a lot faster and resource friendly. Now this idea went to the
rom to provide two core system based themes and user
can do on top what they want or not without, like you have

This commit just adds the support for this

cheers

mnazim and kufikugel

Change-Id: I401dabcb3691446aa7886c8601245f2cd2db71b8

Conflicts:
	res/values/strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/slim/UserInterface.java

Settings: Kill specific apps on TRDS toggle change

to take 100% effect on the new style

Gmail, email, Playstore and contacts

Patchset:
- cleanup

Change-Id: I563307ecffe47087d19145b90b15dd58438520d8

Settings: Add to be sure also some other apps for TRDS toggle

cheers

Change-Id: I20eafdcf38bf8031d6e6d69c7403fa44bfd220b9
Dark UI czech translation

Change-Id: Ia01566cc4dc515544e8fd2ca206f67555439b4a3
Signed-off-by: kecinzer <kecinzer@gmail.com>
Settings: Update Japanese translation

Change-Id: I5d81f0a8b6cfebefac128545a125074fc80a6af1
Signed-off-by: rdgate <rdgate@gmail.com>
Hungarian Translations

PS2: Fix XML

Change-Id: I7d46d16f7ec3974fdc1d81d2790d8f28e268e02d
Updated simplified Chinese translations

Change-Id: Ifb66dd541a810db3e7b1c35520d9ab6e03f4ca57
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1