Add network usage stats to status bar…

… [1/2] [log]

PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: Ib06a713e6d93649ae8c8e5be5fd62c4f44a48416

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/dimens.xml
NetStats: Don't update stats when screen is off

Also moved registering of broadcast receiver and settings
observer to onAttachedToWindow() and unregistering to
onDetachedFromWindow() to avoid these being leaked.

Change-Id: Ia131a0db65c4c762b7f28493e812f9fb21358a27
NetStats: Add net stats to system bar

PS2:
PS3:
Hide net stats view when notification area is disabled.

Change-Id: Ib35dd46b026dab00abe73966105806c54266e466

Conflicts:
	packages/SystemUI/res/values/vendor_styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
NetStats: Use holo_blue_light as color

Change-Id: I9e1b69f694a0d5ba6d90000cab6ada7e8ac63936
NetStats: Respect LightsOut mode

Change-Id: Ib21152def0ab4a7a65c98cb5fffea4c5a932da96
NetStats: Option to hide NetStats if there is no traffic

Change-Id: If9626946d31f9a2ac30a3be57a182fb99ef2229f
NetStats: Show "MB/s" instead of only "MB"

Change-Id: I23fa4560a7551495cc4ffa5610c806d4da48f73b
NetStats: Make color settable by user

Change-Id: I9ec49ee9ffe51d07d4930103fa67be2266d41c5c
Traffic meter: Option to choose update speed

Change-Id: Ia61f71a71fc41a13489342fc0f843ae2ec3810cf
Either enable NetStats or Traffic meter

Change-Id: I0c9e21b7eb1a6de5599bd7abc912a61c3c2138ef