Fix Network Speed Indicator Hide

Set proper conditions so that it works correctly.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java

Change-Id: I777565fe0e4eef47e1745496c67fab6f69223445
Fix indentation…

… of packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java

Change-Id: I993570b5b621a74960d92a4dd8abfbee76cc86ea
Fix Derps

Change-Id: I5027ede86d7ba36ea3999469f4a577fe289b40cc

Conflicts:
	core/java/android/provider/Settings.java
Traffic meter: received bytes by time elapsed rather than fixed value

Also:

- avoid unnecessary object initialization
- improved display logic for B/KB/MB

I'll probably further improve by disabling everything if traffic meter is disabled. As it is, the traffic meter runs (but does not display) even if it's disabled. Also, the update logic is unnecessarily circuitous…
Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java

Change-Id: I663e3fbcf53c43277649a2bd7acad53e83fbb91c
Traffic meter: Speed in B/s should be integer

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java

Change-Id: I4322d4ebcac2261f5663faa7694bf83f64f26a72
Traffic meter: Fixed divide by zero error, improve display of slow speeds

[log]

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java

Change-Id: I284e31d0bc4b870a0eb1b0f2f6ac4cef783352a9
Partial rewrite of traffic indicator

[log]

- lower system impact: nothing runs when screen is off (previous version ran continuously unless the network speed indicator was disabled
- show summary of traffic when traffic stops (number of bytes in the current "burst")
- better formatting of the indicator

Remaining to improve:

- stop the indicator when the status bar is hidden (can't figure out how to get notifications when it does get hidden)

Change-Id: Iae248454a9f66979eb6c8148ac91faf820764831

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Traffic.java
Traffic meter: show summary of traffic in brackets

Change-Id: I00b056bc0076fdc9e3d573dfe4b0fb7c7aa11e0a
Traffic meter: Selectable summary timeout [1/2]

Change-Id: Ib3465fa2c719822d09cd7ba107a047c889b4a93f

Conflicts:
	core/java/android/provider/Settings.java
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: I1546bc8b9c27cfb7201dfabd4b613a5c2622317f