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: just a small movement

sorry...is more logical in this order

cheers

Change-Id: Ib7b581dd169ec111b955473284355da33212af8f
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
some changes
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/slim/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
Settings: SlimPie do not got through onPreferenceChange every time

Change-Id: I4ae86f10829ee2c2057e4079d5d25363bb478719
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