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

This reverts commit c1e2f1e6df19197054b99901d512ee59e74aae1d.

Conflicts:
	res/values/pixel_dimens.xml
Settings: Fix QuickSettings Style NPE

Change-Id: I75506afb7598f292e0593c379eda8ff573dfe640
Bluetooth: Acquire wakelock to turn on lcd during Connection

This patch acquires wakelock to turn on LCD display of DUT if screen
is off during connection access request for PBAP/MAP. Without this
patch it was observed that if screen was off, lcd remained off for
incoming connection access request from remote device and user only
was hearing notification sound without lcd being lit up.

Change-Id: I87c296fce4cd8e0c133f74169d991eee263fed08
CRs-Fixed: 650261
Bluetooth: Fix for device gets stuck in pairing

Fix for device gets stuck in pairing when trying to pair to two
devices one after the other or simultaneous. Now second pairing
is blocked when first pairing is ongoing.

Change-Id: Ib7e6788243a38b3a0dd864bee2b0797305468e27
CRs-fixed: 610056
[WIP] SlimPIE (2/2)

Ported from CM sources by @cristianomatos

Change-Id: I10e026e76748b1e273d38a983ea873a7076b124d

Conflicts:
	proguard.flags
	res/values/pixel_arrays.xml
	res/values/pixel_attrs.xml
	res/values/pixel_strings.xml
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)
- add Converter class for common methods we always use....till now only px->dp
  and dp->px method

Change-Id: Icf9754ee496ae3cc6d998f58a1dc543d0a7383ee

Conflicts:
	res/values/cr_dimens.xml
	src/com/android/settings/pixel/NavbarDimenSettings.java
SlimPIE: only allow interaction only if navbar is disable

Change-Id: Iced3c02d975386b92eee07ae2d249f79f4876f16
Settings: We don't need this
Revert "SlimPIE: only allow interaction only if navbar is disable"

This reverts commit 2fdd1df33ce5bf7b1efcd57782c59e5d18b32f47.
Toggle nav bar through power menu (2/2)

- This is highly based on this commit form SlimRoms: https://github.com/SlimRoms/packages_apps_Settings/commit/30482e059fb55b9d3aa4d461a0715d77ec70776a
- Now we can toggle nav bar on/of in power menu. It's easier to use PIE.

Thanks again to @kufikugel

Codes ported and new codes from @cristianomatos

Change-Id: I63c686ebd19d3a50afe3d71de191e484208000f2
[2/2] Add support for Peek app

Disable built in peek when Peek app is installed. Enable it again on app's unistall.

Change-Id: Icabb32c8322642eca81bccea7e053200a74a9b2b
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Settings: Allow All Widgets On Keyguard (2/2)
    Another user request with zero device impact
        for daily usage, so I went ahead and
        did it.

Change-Id: I204b3891f375abb0752cce7f9a4101c6b97a8f5d