reimplement navbar cursor keys (1/2)

Change-Id: Iffd8d7f98dc5ec3e5f208821e8eb09723f00b1df
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
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
Revert Add network stats to status bar

Revert "Network stats: Improved codes"

This reverts commit 82bea065a1d19cd6e181f6b2adbe5804fcd1e8b9.

Revert "[1/2] Add network stats to status bar"

This reverts commit f5c3e3c16f9067428a7ecea269f1f9a942530e42.

Change-Id: I36054be88aa2da463e9e4d8c25d534803e2d6041
Squashed commits: network traffic meter [1/2]

[1/2] SystemUI: Network speed indicator

Change-Id: I88e7cdfe20342c695a33383db36bf80bb4ffe009

[1/2] SystemUI: Update network traffic indicator

Android measures the amount of data transferred in bytes,
however, by convention, data rates should be measured in bits
per second.

*Convert the change in total data and time to bits and seconds,
and then divide the amount transferred by the number of
seconds that have elapsed.

*Update the labels and have them use the correct SI prefixes.

*Factor out or add @hide to public methods and constructors

*Remove all Runnables and Messages from Handler queue when
disabled

*Minor formatting changes to stay consistent with Android's
code-style guidelines.
https://source.android.com/source/code-style.html

PS2: Set maximum digits to prevent it from filling the statusbar
PS3: Rebase
PS4: Add ability to display either bits or bytes

Change-Id: I9add610a8d14f5a48f2af0a82ced0c186224e282

base: fixed missing shading of statusbar network traffic

http://jira.omnirom.org/browse/OMNI-326

PS4:
handle traffic like signal cluster

Change-Id: I10c0f0fd1d63e78c9a1d09d1bff6a5221b8adec5

[1/2] Base: Upgrade network traffic meter

*Updated class name to be less ambiguous
*Replaced the multi-check in settings with a proper listview
*Added the ability to view up-stream, down-stream or both
*Added the option to change how often it refreshes
*Added a check before it updates the status bar to prevent it from
refreshing everything needlessly
*Added icons to show data direction
*Remove unused style attributes

Icon artwork is courtesy android design downloads
Some features were inspired by previous work done by 0xD34D

OmniGears: https://gerrit.omnirom.org/#/c/5130/

Change-Id: I9f86292a6adbc5e30967df76fae510be248fc38b

Add the ability to enable or disable the arrows networks directions

Inspired from omnirom https://github.com/omnirom/android_frameworks_base/commit/9adbe0ff56cbf7edf6da61b1a59b9d8ddf169e29

Change-Id: I441f59e7fa4f37536f9c5317126ec056a8438132