Revert "Settings: Handle navbar heights correct on dpi changes + more (2/2)"

This reverts commit 0610dbafa2d99283ff06bd6b698946f604f53069.
Revert "Set default value for navbar height & width"

This reverts commit 47de7d5f72fd170ca2c6499f0d1e6913d12044f2.
Revert "[2/2] Settings: allow to force enable navigation bar"

This reverts commit a6a6048e6ff245addbe2bf88317ea3b5b462c8db.

Conflicts:
	res/xml/system_ui_settings.xml

Change-Id: I519b0eb8281e012d775eb1f613280c1af44f6c49
Revert "[1/2] Left handed navbar during landscape mode"

This reverts commit 7c06ae0a98fe913d30985662cbbc1a40f8652549.
Revert "[2/2] Settings: Navigation bar height/width"

This reverts commit c3690a6d3fb32c3ff9b48ea5ad018964765c3da4.

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml

Change-Id: I03f20c990f8f2b82d4175cb90d231f2a2e5df23a
Revert "Add back navigation bar customization."

This reverts commit 3d78c928b3cdee7c2bf54c73ed4e8efd02cf8b87.

Conflicts:
	src/com/android/settings/Utils.java

Change-Id: I14dcdacd1d40a529e4f3ee0f5e6cf3295e8d1fb2
Revert "Add back navigation ring customization."

This reverts commit ab99452d34b8ce4f73cfa2365422ea0507ce6552.

Conflicts:
	res/values/cm_dimens.xml
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/NavRing.java
	src/com/android/settings/cyanogenmod/SystemUiSettings.java

Change-Id: Ia199fb8a221ff54f706c021f38aff7d397af84d7
Settings: Slims navbar and navring customizations

add back our navbar and navring tweeks. This is a completly overworked
version compared to the one we carry about a year now. Small glitches
we had are now all fixed. As well it does not need to register extra observers
code was much slimmed down and improved.
Beside that we adapt the 4.4 navbar changes to our system so that it it
consistent with the new 4.4 UI
This patch adds:
- Navbar up to 5 buttons
- navring up to 5 buttons
- dynamic menu behaviour
- landscape navbar options as well now on tablets
- button glow color
- button icon color
- navrign and navbar user can set system or custom icons
- navbar height and width
- enable/disable navbar and navring
- actions are vor navbar and available for the whole system over SlimActions.java
	back
	custom app or activtiy
	home
	kill app
	last app
	notification drawer
	ime switcher
	power menu
	qs pannel
	recents screen
	screen off
	screenshot
	search
	torch if it is available on the device
- navring has targets for handling vib/mute/sound
- added Color class based on blk_jacks idea which first grey an icon out
  and then color it. This gives way better results. As well it fits now
  perfectly with the new 4.4 UI. Put it on a central place so that it is
  from everywhere available. notification shortcuts adapted to the new class
  place
- complete new icons thanks to kroz who has redone all for xxhdpi
- our slim special swipe drag drop press longpress options support
  like on 4.3 this two features
- a lot lot fixes as well on current google code

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/slim/dslv/ButtonsListViewSettings.java
	src/com/android/settings/slim/fragments/NotificationsShortcutFragment.java

Change-Id: I6b057c8b685a0cdea51fa15eb34ba8c95592ffb6
Settings: fetch navbar color from systemUI

for better theme support on our new theme engine

Change-Id: I15ef4529578ed6260042c14c3c330bd2153ca561
Settings: new dslv + Dialog handling

dslv get some tweeks to be perfect
- dialogs get instance handling
- icons show all in same size independent which icons they are
- option "none" is on normal action not available and gets filtered

Other settings:
- clean up a bit
- use more centralized strings
- dialog get instance handling
- add missing landscape layout settings for color picker

Conflicts:
	res/layout-land/dialog_color_picker.xml
	res/values/slim_strings.xml
	res/xml/power_menu_fragment.xml
	src/com/android/settings/nameless/StatusBarClockStyle.java
	src/com/android/settings/slim/BatteryIconStyle.java
	src/com/android/settings/slim/dslv/ButtonsListViewSettings.java
	src/com/android/settings/slim/fragments/PowerMenuFragment.java

Change-Id: Iaee0989fb8724db8f11b15ba87503bddd15b1d59
correct navbar landscape default value for reset

Change-Id: I18e4eb23c34e57e5aed22523b0ebcb3bfda86834
Settings: add theme switch (TRDS) to navbar and navring

and show toast if a mode is running wich does not support
lightsensors

Change-Id: If3bfcb31558c9aa2b17718d7c2fdb8db631cc8d3
Settings: Handle navbar heights correct on dpi changes + more (2/2)

Till now we set the height in px in the settings. Which is a problem
especially on multiDPI roms like we are when the user afterwards changes
the dpi due that it isn't calculated correct anymore on the new dpi.

This commit does
- save the dp value in provider and calculate the real px in fb
- clean up the settings stuff for it + do it a bit nicer (only settings part
  where we do not set the value for the listview)
- as well this commit disables movable navbar for tablets (we may will enable
  it in future but it needs a lot more work to have it on tablets correct working)
- add Converter class for common methods we always use....till now only px->dp
  and dp->px method

Conflicts:
	res/values/cm_dimens.xml

Change-Id: I1d2a2f3d1f11f6ee93b4610cd965b259a61d8afd
Fix Slim Navbar

Change-Id: I86be182fa107f0ca72442994e810bfe69fe46274
settings: add back notification shortcuts + slim classes we need

this will add back slims notification shorcuts feature as well
we add common slim classes we use for navbar navring pie etc
see fb commit for more details

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/slim_navigation_settings.xml
	src/com/android/settings/slim/dslv/ButtonsListViewSettings.java
	src/com/android/settings/slim/fragments/NotificationsShortcutFragment.java

Change-Id: I658033489af9cbd7ca9b43617a17414298e6d6c9