Make system layout fill the window properly on expanded desktop mode.
This commit fixes e.g. the gap on the bottom of the lock screen or the gap on the right side of status bar on landscape mode.
Original CM commit has been modified to respect the customization of the navigation bar height, implemented here: https://github.com/rascarlo/platform_frameworks_base/commit/d60327dfeb1666a0d13ed2c7c3ceab18e466e6bd
Original CM commit use com.android.internal.R.dimen.navigation_bar_height/width to get the navigation bar default dimensions, I use mNavButtonsHeight * DisplayMetrics.DENSITY_DEVICE/DisplayMetrics.DENSITY_DEFAULT

Change-Id: Ic8a6b748f94d7dcc883201579d199898713c90fd
Revert "Swap volume buttons when the screen is rotated (1/2)"

This reverts commit d24d1cbf115a5e43edfef6a621985f71943129cf.
Revert "Navigation ring shortcut."

This reverts commit 109c4cd43fb026038a87f8a72764e00b14cba901.
Navring: Fix shortcut for uninstalled app

Fix NPE when the user uninstalls an app that was assigned to a navring
shortcut before.

Change-Id: I3f02fca73cb30e2edbb35d089ad127b35d8233c0
basic rotation config
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Configurable 0, 90, 180 and 270 degree rotation

Change-Id: Ia1859c51d71ef9d01cec2d13c6468ed89c6ac53e
Contributor: jonasl

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

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