Settings: Navbar customization (1/3)

This commit is a complete recoded Version of our old one. Implements following feature:

- custom Style
  Navbar background color
  navbar button color
  navbar glow color
  navbar button transparency

- custom dimen
  navbar height
  navbar heidht landscape
  navbar width
  all have the ability to set to 0 to hide

- custom button
  complete system and logic overwork
  custom buttons
  custom icons
  custom applications
  longpress actions
  complete dynamic
  no systemUI restarts

- custom navring
  complete system and logic overwork
  custom targets
  custom icons
  custom applications
  longpress actions
  complete dynamic
  no systemUI restarts

- misc
  glowpad glow time
  show menu location
  show menu

TODO: Navbar transparency
      and other will be a surprise

PatchSet 2+3:
- code cleanup
- fix fc without gnow
- shows now up on all devices
- fix custom icon chooser 0 byte issue on some devices
- menu button update navbar

Patchset 4+5
rebase

Petchset 6
- screenshot navbar fix
- cleanup code settings

Patchset 7:
- add custim navring icon frameworks part
- fix navring custom application icon size

Patchset 8:
- update Androidmanifest.xml with new classes

Patchset 9:
Whitespace cleanup

Patchset 10
- fix FC on button qty choose
- fix for mnazim logcat spam

Change-Id: I779d9a13ce85f10fad4ce5f287fb6162a42c8793

Conflicts:
	AndroidManifest.xml
	res/menu/nav_bar_style_dimen.xml
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/interface_settings.xml
	res/xml/navbar_settings.xml
	res/xml/navbar_style_dimen_settings.xml
	src/com/android/settings/slim/LockscreenTargets.java

Conflicts:

	AndroidManifest.xml
	res/menu/nav_bar_style_dimen.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/navbar_settings.xml
	src/com/android/settings/cyanogenmod/NavBarDimen.java
	src/com/android/settings/cyanogenmod/NavBarSettings.java
Settings: Change navbar height and width on the fly

without reboot now

Change-Id: Ic7a55b6ed473001fd05ddcc4656be911f5e9bdff
Settings: Moveable navbar (2/2)

New slim feature....phones can decide on the fly if they want
on landscape view a real landscape navbar.

navbar width settings are hidden now for tablet and large screen
new option also

some code cleanup

Patchset 2:
- standard value correction

Change-Id: Ie5535d8f92d0ab3590ace159a22c8ab813671e09
Re-enabling Navigation bar transparency (2/2)
- It's been hidden due the hole new SlimRoms nav bar customization implementation

Change-Id: Ifbc90c2ced6796d43cd3bd9d50bf1c309510c1dc

Conflicts:

	res/values/cm_strings.xml
Settings: Navigation bar button color mode (2/2)

due some user complains about the bad coloring of custom and app icons, a fix
became a feature.

- overworked colorizing more icon specific
- introduce color mode (0 = all icons, 1 = only system icons, 2 = system and custom icons)
- change porterduff mode for app and custom icons....now a lot better for most icons
- changed in settings to fit the other structure

cheers

Change-Id: I51847db228f1ff70e9b75201eec78c25f284a4f6

Conflicts:

	AndroidManifest.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
Last App Toggle [1/2]

Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Change-Id: I05762c15b69bd432f539683997c234f5802d8820

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/cyanogenmod/NavRingTargets.java
	src/com/android/settings/cyanogenmod/NavbarButtonSettings.java
Fix sorting of navbar and navring dialog sorted in alphabetical order now....was a bit strange the way before

cheers

Change-Id: I34dfa9952e5e53e031607b980ef46149fa7e0104

Conflicts:
	res/values/cm_arrays.xml
Fixes

Change-Id: Iba254af1c19ce205f134ab698b2e76034da5e0ae
Fixes & missing stuffs
Ability to disable hardware keys via nav bar settings (1/2)

cm_strings.xml already committed

<string name="hw_keys_title">Hardware Keys</string>
<string name="key_menu_enabled">Menu Key Enabled</string>
<string name="key_back_enabled">Back Key Enabled</string>
<string name="key_home_enabled">Home Key Enabled</string>
Settings: Lazy dev part 2 + small fixes (2/2)

this is based on the last lazy dev commit from me with the same
reasons, this time navbar and statusbar white color did no stick because
of not used long var to save.

Best on that....I realized later that I am not allone a lazy dev. Aosp
does count -1 automatic as white lmao

whatever changed default valus to -2 and cleaned 4 lines up

cheers

Change-Id: I7f18863a31fe3ee8ad9061e2707ffbba4a2813d3
Fix: disable navigationbar can move when navbar is disabled

cheers

Change-Id: I5cceadc39834994cc78f9084431939691a614c1b
Settings: Change navbar general behaviour (2/2)

This commit changes that navbar is present on all devices even
with hardware keys. On hardware key devices the navbar height is
set to 0 as default now. Several reasons for that.

- no SystemUI restart when de/activating (last one we had :p)
- our navbar is very resource friendly so even no problem for the
  low end devices
- we can now use some of the navbar stuff you will see in next commits
  navbar magic :p

This commit also respects the different handling off menu's. Thats
why a part of the code (hasNavigationBar()) will be still left because
it is needed in main for

core/java/android/view/ViewConfiguration.java
core/java/android/view/IWindowManager.aidl
core/java/android/view/WindowManagerPolicy.java

this files which are controling that.

Settings commit:
- additional cleanup of no needed imports

cheers

Change-Id: Ida80c6ecaeaf9f20fff80a58f2b62c30d2ba54d6

Conflicts:
	src/com/android/settings/slim/LockscreenWidgets.java
	src/com/android/settings/slim/NotificationDrawerSettings.java
	src/com/android/settings/slim/quicksettings/QuickSettingsTilesStyle.java

Conflicts:

	src/com/android/settings/cyanogenmod/NavbarSettings.java
Settigs: Fix navbarheight 0dp

Change-Id: I098488e6a93192d5151a85aa0abddfca482d0d99
Comestic change to navbar settings text
Fixes Bug #280 (Settings/Interface/Navbar)

Change-Id: Ib3989684c5bea808c73495d8d7b8374fb1edd14a
Settings: enable navbar enable/disable for navbar devices and remove 0dp entry

Change-Id: Ib70e53609d9f4356e88a01e3aa76e4c25a3983fb
Settings: we do not have any SystemUI restarts any more correct the s…
…trings

Change-Id: I530616734bf56045b1016aa95d8121b2bb8481f3
Settings: We want to be consistent (Only for nav bar)

this change shows now for all places a proper summary
for the color pickers if it is resetted to default
as well when settings are opened first time.

Change-Id: Ia8cf4efe350c0076d00e05e2287254a1beba7004
Fix: show 3 dot menu overflow for navbar devices even

when navbar is disabled

cheers

Change-Id: I3dfe2637d44d0d982cd5371c380c7c864d3d0c79

Conflicts:
	src/com/android/settings/cyanogenmod/NavbarSettings.java
Settings: add back 0dp navbar values

for width, height, and lanscape height due
much user requests

cheers

Change-Id: Ie1a8b4d3deb1cbc1b7eafab94afd2cf1b9625e2b