reimplement navbar cursor keys (1/2)

Change-Id: Iffd8d7f98dc5ec3e5f208821e8eb09723f00b1df
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
Revert "DocumentsUI: Allow open files instead of URIs"

This reverts commit b6fc7807044ae1fac4c17c5a622002a3fd839c89.
DocumentsUI: Allow installing APKs from internal storage

* Create DocumentUtils cleass for easily getting relevant information regarding a uri-based file.

Change-Id: I4b657fbadaae8df2d4bcfb100583a4a337d08914
Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
DocumentUtils: Properly check the type of Document

* Check the correct portion of the uri to determine its type

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
DocumentsUI: Differentiate USBs from SDcards

* Also remove need for context from getPath()

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
DocumentsUI: Allow installation of apps from external storage

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
vanir adaptations of navbar bg themeing

Change-Id: Ib22ffd3abdaf7b52ad15061d86130aad70c5eeb8
Themes: Allow theming navbar bg color

Change-Id: I256afc30fc018ea752769029c5246bc7310c23a6

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Support theming navbar separately from SystemUI

Heavily modified for VANIR by nuclearmistake

This allows using a different theme for the navbar than the theme
applied to the rest of SystemUI.  This will not affect theming until
we have the front end in place that allows users to change this.

Change-Id: I3ad4e8774ac69d1e6e1d83fa5e1ffe59b977d4e9
Navbar themes: Vanirification

Change-Id: Iace5d7b276e67a3c005e61737ba9ba9249f842ce
todo: moar testing
Holy passing around drawables by value, Batman

this shit needs some TLC.

Change-Id: If744887871fa77410d4243ee9d8497c2fe2db048