Setings: Forward port Display Rotation settings

Originaly authored by Robert Burns (burnsra)

Change-Id: I4f96b3f804ee4732b277c35340790f3561d69764

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

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Fix possible NPE in Display settings

Change-Id: I186203782aa27fb4eaa77500fecb82946bfdd173

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

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Fix the spacing between displayed rotation angles

Before: http://goo.gl/QJ7hE
After:  http://goo.gl/V0alW

My suggestion: http://goo.gl/Sn4R5

Patch Set 1:    * initial commit

Patch Set 2:    * simplify code
                * fix code style issues
                * rename/delete strings
                * remove 'Activated.' before the values
                  when Auto-rotate screen is activated

Patch Set 3:    * remove display rotation unit string
                  and use the degree sign after every
                  value

Patch Set 4:    * code cleanup

Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461

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

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Swap volume buttons when the screen is rotated (2/2)

Patch Set 7: Hide option if device not supported

Patch Set 8: Fix string derp introduced on ps7

Patch Set 9: Invert the orientation interpretations on tablets

Change-Id: Ie2166a4d50050e7a60933251bfc8cda97c42d419

Conflicts:
	res/values/strings.xml

Signed-off-by: Paul Beeler <sparksco@gmail.com>