Hide QS Panel Toggle [2/2]

Patchset 2
- some smalle corrections
- change of logic
- some cosmetic fixes

cheers

Change-Id: I6a5d4d8420e5337cc9636482e21a048d496694ce

Conflicts:
	res/values/strings.xml
	res/xml/power_widget_settings.xml
	res/xml/quick_settings_panel_settings.xml
	src/com/android/settings/aoip/NotificationDrawerSettings.java
	src/com/android/settings/aoip/quicksettings/QuickSettings.java
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/slim/InterfaceSettings.java
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
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

Conflicts:
	res/xml/pie_control.xml
Move to aoip folder
Settings: just a small movement

sorry...is more logical in this order

cheers

Change-Id: Ib7b581dd169ec111b955473284355da33212af8f

Conflicts:
	res/xml/pie_control.xml
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: toggleQSShade (2/2)

we have a notfication shade toggle....but we cannot toggle
directly the QS drawer via SlimPIE, navbar or hw keys.

This commit does:
- bind qs shade toggle to slimpie, navbar or hw key
- logic detects if you are already in the notification drawer
  and switches then between qs and notification area. If not
  it closes the notification drawer or qs panel depending
  which of both is open
- icon changed to the same icons which are used in the notification
  drawer to have a visual consistence
- as well like the notificationshade toggle it is toggleable
  in expanded desktop mode or on fullscreen apps
- bindable as usual on normal and longpress actions
- for tablets it is of course just opening and closing
  due they have seperat notfication drawer and qs

small demonstration:

https://dl.dropboxusercontent.com/u/106208842/qstoggle.mp4

Change-Id: I0007a1b4e9b165db9ce69e57d9631d1332815e3d

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml