add option to force high-end graphics on low memory devices

Change-Id: I34e0d7381615485b58385abed743e01f7272772d
(cherry picked from commit e2e2a561e08870700cc2147bc7e0a705ca3fecc8)
Croatian V41 update

	modified:   res/values-hr/cr_strings.xml

(cherry picked from commit 1ef6f64db934c8be2aa2c1c95d70cf68d4688638)

Conflicts:
	res/values-hr/cr_strings.xml
Merge pull request #108 from redrum781/cm-11.0

Croatian V41 update
(cherry picked from commit 5a69d3cb42dfb572992219641bcc17446dac855a)

Conflicts:
	res/values-hr/cr_strings.xml
Revert "[WIP] LockScreen: allow long-press actions from hardware keys (2/2)"

Conflicts with SlimROM hardware key rebinding.
Revert for now till I find a solution.

This reverts commit 12678175034d707de56236b5d3fc8b48db5a932f.

Conflicts:

	src/com/android/settings/cyanogenmod/LockscreenInterface.java

(cherry picked from commit 7196e6822c7d6b7d4d287a5d7376ab7552bdc39f)

Conflicts:
	AndroidManifest.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Add back lockscreen quick unlock
Automatically unlock the lockscreen when the correct pin/password is keyed.

Some settings were removed accidentally during adding of
Forward port CM Screen Security settings (2/2)
https://github.com/temasek/android_packages_apps_Settings/commit/b277c50c9bb8bb15e63dd517d135c1a2891a6697

(cherry picked from commit 83117cbc550c7a41e9f7a0a58a39b19d1c6c763f)
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: I7320ea0578a10806883a45369dd628f2c51958fa

Comments from Slim dev:-
just a small hint dirty flashers will have a huge navbar suddenly on bootup
(at least if you had before changed something on the navbar heights) :p
so reset it to default in settings with the reset button or clean install
one of both :D

Patchset: 1
https://gerrit.slimroms.net/#/c/2743/
(cherry picked from commit 60cd34ebf166ca6dfdd10fd36cd8c6a8a15bc63c)