Revert "Settings: Configurable 0, 90, 180 and 270 degree rotation (2/2)"

This reverts commit 59d2b8748ea0c942635d2e598b60b31b2268cd55.

Conflicts:
	proguard.flags
	res/values/cr_strings.xml
	res/xml/display_rotation.xml
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/slim/DisplayRotation.java

(cherry picked from commit 3c6beaac3a52def5fa07993afabae431a627aa42)
Settings: Forward port Display Rotation settings

Originaly authored by Robert Burns (burnsra)

Settings: Fix possible NPE in Display settings
Change-Id: I186203782aa27fb4eaa77500fecb82946bfdd173

Display : Enable rotation on large screens
The auto-rotate toggle in statusbar is no longer present, so the check
is no longer valid.

Change-Id: I0a23e251b3cb793481d14ea8ad8a9079c7c0e962

Fix the spacing between displayed rotation angles
Before: http://goo.gl/QJ7hE
After:  http://goo.gl/V0alW

Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461

Settings: rotation settings for devices with hardware rotation lock
All settings would be disabled on devices with hardware rotation
lock due to dependency setting. Disable dependency to allow setting
swap volume and rotation degrees on those devices.

Change-Id: Iee0532902d59fa80666e17b3853db8e3d7ed5ddc

Add lockscreen rotation as an optional rotation setting (2/2)
This will allow the user to select wether or not to use the
rotation settings for the lockscreen.  This is dependent
upon the rotation setting being checked.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: If45c13a395e0d71b7c4cdcf484a6b8cef964ee37
JIRA: CYAN-339

Ported from cm-10.2, adjusted for 4.4

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I4f96b3f804ee4732b277c35340790f3561d69764

Conflicts:
	res/values/cm_strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Change-Id: Ib239e63200fc8565c3f66969aa495f1c40908adf

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

(cherry picked from commit 2680c417c58d9fc7a859b61d4d41b44ee4b69446)
Settings - Display Rotation: Checkboxes to Switches

Change-Id: I631c0ef65985d336e1a0790b6bb07ef7524ff6b2
Signed-off-by: STELIX <ssspinni@gmail.com>
(cherry picked from commit a78e8dd66453c7f3beaadfc80dc31ffdf96007e3)
Settings: Remove screen rotation from accessibility

We have a more advanced option in display settings

Change-Id: I8be43e899a14d184374b422a381b0db839709fbf

Conflicts:
	res/xml/accessibility_settings.xml
	src/com/android/settings/accessibility/AccessibilitySettings.java

(cherry picked from commit de9d22e8f32ecda2f33a3118f74d65d48a4c48d5)
Settings: Cleanup display settings code

Change-Id: Ib2a00bd7f7932ca6a75834e3cd5b4953d5b050de
(cherry picked from commit 14ec0399391c447f89772983f962f0f10dca09c5)