Revert "Buttons: Prevent toggling disable hardware keys too quickly"

This reverts commit 337f537a41344bb310460ff64cf1154a9c5b4623.
Revert "Buttons: Allow disabling hard navigation keys"

This reverts commit fa000453dce8936ee6805c8d953f3ab8d42f2b21.

Conflicts:

	res/values/cm_strings.xml
Add Temasek version info
Power menu QS tile (2/2)

- Simple press goes to power menu dialog
- Long press goes to reboot dialog

Change-Id: Icbf64f014d1352d16823caf7bc7c0eec1e0c47d3

Conflicts:
	res/values/cr_strings.xml
Power menu into navring targets (2/2)

Change-Id: I95644d60b2d4db6d109bd4c75c007a43af52a2fa
Navigation bar dimensions (2/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

Change-Id: Icac45d5c74f1722c1d044c6651ea686e95beade4

Conflicts:

	res/values/cr_arrays.xml
	res/values/cr_strings.xml
Settings: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean modes to indicate low battery
     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Change-Id: I5f65c1f23a8f2a9790ca003be6a8ef09a06335c2
Settings: Security: implement a pin keypad shuffler [2/2]

this is to further prevent people using the tablet guessing your pin based on fingerprints left on the screen
example of the expected outcome - https://www.dropbox.com/sh/r3xb2q53ksaqni9/Oz1Eu8Dm7O

PatchSet:
- fix checkbox was wrong assigned
- enable only for PIN Password lock
- small cleanup of old code

PatchSet:
- cleanup

PatchSet:
- add modes.....disabled/always/on request

Change-Id: Ic44d7bd593033843691ecd553d1decb7c15ffd68

Conflicts:

	res/values/cr_strings.xml
Settings: Lock before unlock the new way (2/2)

for more information see fb commit please.
target selection if lock before unlock is activated
will be enabled and shows the repective settings dependend
on if it is a phone or tablet

Based on @kufikugel commit (97d8a510e90a7bad58d8691d6f83c6e64d2b907b) and adapted to work in LockscreenInterface.java of CyanogenMod

Thanks to him!

Change-Id: I60b114e2c7c5adffd079be0ba44ee31d1f02990e

Conflicts:

	res/values/cr_strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Fix interface settings crash for devices without navbar + enable all expanded desktop options to all devices

Change-Id: Ifaedabdf9915bf0e9b228e145c8cac29145c65d4

Conflicts:

	res/values/cr_strings.xml
Custom clear recents button (2/2)
- Option to show/hide
- Option to choose which corner to place (top left, top right, bottom left, bottom right)

Thanks omnirom team
Original commit: https://github.com/omnirom/android_packages_apps_OmniGears/commit/89818412841d558057c2b906bc3fd78f3c9adf13

Change-Id: I740c26906527e7300e962129f3435b5b90b6b721

Conflicts:

	res/values/cr_arrays.xml
	res/values/cr_strings.xml
Colorpicker Margaritov

Change-Id: I79c7c2d63a5e2d2cab280ba2ca3564fdc742e08f

Conflicts:
	res/values/cr_strings.xml
RAM bar (2/2)

Change-Id: I0f47445618a991e310923e2b85e180e921c57742

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

Conflicts:

	res/values/cr_strings.xml
	src/com/android/settings/Settings.java
Settings: notification drawer background (1/2)

    so after keyguard is mostly done let us start notification drawer
    and QS. First one custom background.....either color or picture
    with custom alpha and ability to set a landscape picture seperatly
     if the user want. (lanscape phone only)

    Compared to the 4.3 included version completly recoded and better
    integrated. No idea what I thought 1 year ago on the old implementation

    cheeers

Change-Id: I1c8a1f1256d96c6ea5c1b160814b9aa6835318f3

Conflicts:
	res/values/cr_arrays.xml
settings: notification transparency (2/2)

this add back notification transparency...compared to 4.3
it controlls as well the notification icon backgound transparency
which felt in the past dissplaced. As well codecleanup of the old
implementation.

largeIcon support I did not add due that google does not support it
as well at current status...it is only a placeholder in
NotificationData

Change-Id: I2f831fc3008d630e099f7fb60d56ea87636a4862
Settings: Clean up SeekBar

Change-Id: I564d4d2454929e87d4eea2ebf4ef27792666e759

Conflicts:

	res/values/cr_strings.xml
Status bar clock and date customization (2/2)
Thanks SlimRoms for the codes
Based on this commit: https://github.com/SlimRoms/packages_apps_Settings/commit/312052742259b25edd583b58a10d2b973181b74d

Change-Id: Ib924fc2a5a52fdd71b3c9bab19122e7b779a8699

Conflicts:

	res/values/cr_arrays.xml
	res/values/cr_strings.xml
Put a dependecy in left handed nav option

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

Change-Id: I1484f045ff80105c7bd70fe69ecd042fef42eec0
[2/2] Settings: Wakelock Blocker

Change-Id: Ic4dc068a9e8f6d1b625d5d13cef404dab3711064

Conflicts:

	res/values/cr_strings.xml
	res/xml/settings_headers.xml