Settings: ability to turn off SlimPIE (2/2)

due that we have a problem on i9100 because of damn
exynos drivers we give the ability to turn off PIE
for i9100 via overlay for now

cheers

Change-Id: Iacf5f5db5baeaa1083d9bc632670f52582933a6a

Conflicts:
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
fixes

Change-Id: I38b235675803572c85b5f696831301b9ea7c87e4
Settings: SlimPIE the second (2/2)

This commit changes the following:
- add possibility to set trigger height on the left and right trigger
- add possibility to set gravity on the lef and right trigger
- change touch detection logic and calculation (it shows now up immediately...super fast :p)
- reduces values in dimens.xml because of the new touch detection much lesser are needed
- remove on settings the shown values on the left @seekbar on entries where it does not make sense
- reset menu for trigger dimensions
- minor string changes
- cleanup
- minor bugfixes

for me it is now like a PIE should be lol

cheers

Change-Id: Ib31025a05b94da6718d2ff66178a7657075e4c90

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
Settings: SlimPIE second layer (2/2)

I promissed yesterday to stop working on SlimPIE....but due
team and user whishes I decided to do a last tweak so that
all are happy.

This commit introduces the following:
- enable second buttons row
- up to 7 buttons + 7 longpress buttons
- usual customizations on that buttons
- means it is possible to add 5 + 5 on first row and 7 + 7 on second row
- resource friendly...reusing most of present code
- new introduced observer for second row is just
  observing when second row is really enabled
- due optimizations we can hold the speed and responsive we
  introduced yesterday on same level
- reduce default size back to 1
- some minor changes

Now SlimPIE is finished

Screenshots (first shows default values for first and second row):
https://dl.dropboxusercontent.com/u/106208842/Screenshot_2013-05-01-02-30-47.png
https://dl.dropboxusercontent.com/u/106208842/Screenshot_2013-05-01-02-36-25.png

cheers

Change-Id: Icac694022e051eb3ced986829f7196798c958b8e
Settings: reduce minimum PIE size

due to team request reduce the minimum value
to 0.84 (6% lower)...all below big icons will overlap the button
border

cheers

Change-Id: I6a4f25aca0feebf477160df08509a69e5b8d1f4d
Settings: make right pie mirror optional (2/2)

due 70% user feedback the wanted to have the right pie
mirrored on the horizontal axis  because of usability...the other 30% want a visual
logic... So a point to make it optional

default value is mirrored

cheers

Change-Id: Id1d9017b7180aa42171abf36721595ab9130d26e
Settings: Allow smaller SlimPIE sizes + multiDpi fixes (2/2)

Due team, user and kanger wishes I needed to do again something :p
Hopefully now really the last thing :D Is now in full range as well usable
for higher dpi then our stock dpi

This commit does:
- allow bigger size range for SlimPIE layout
- icon are now resized on smaller sizes (only then) then default size
  which allows much smaller overall size
- slight better positiong of the icons in the button item
- Fix: reported issues custom Icons are sometimes to small
- Fix: reported issue that estimated container size took not PIE_SIZE
  into account (follows now on every dpi and size the activation point)
- Fix: Settings style seekbar resets sometimes to last setted value
- Settings: a bit code rearrangement (not needed but I was bored :p)

And now really finished :p

cheers

Change-Id: I6917830262f1c1bf31f0175368daa7d9e187ad9c

Conflicts:
	src/com/android/settings/cyanogenmod/PieStyleSettings.java
Settings: revert to our old default size (2/2)

played so much with the stock dpi values to optimize that
I set the default value for our slim dpi a bit to low :p

Roms which use stock phon dpi can leaver it like it is

But should kang the correspondent frameworks patch which
allows more flexible size changes

cheers

Change-Id: Id251862be544e2408d8059037708ee84868f6b87

Conflicts:
	src/com/android/settings/cyanogenmod/PieStyleSettings.java
Settings: SlimPie do not got through onPreferenceChange every time

Change-Id: I4ae86f10829ee2c2057e4079d5d25363bb478719

Conflicts:
	src/com/android/settings/cyanogenmod/PieStyleSettings.java
Settings: reduce SlimPie observer footprint (2/2)

time for code cleanup projects. Switch to same
logic we already use in QS/NT shortcuts. Use
only one string for the whole SlimPie config
This reduces massive the observer footprint.

cheers

Change-Id: I967baabd09e6c85b8e857f8f57a096b9b8d48b92