SearchPanel: check if string is null before accessing it

This fixes http://bugs.aokp.co/issues/104

Change-Id: Ib05d473bf6afcaada19c2490bebca18d0ba6fb58
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
AwesomeAction: check if ACTION_ASSIST intent can be handled

This will avoid a force close if no handler is available.

Fixes: http://bugs.aokp.co/issues/95

Change-Id: I041e8739ff9271cc02a73009e3def0585b00ffbc
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
FW: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.
You can turn on or off this feature in RC.
Also includes this patch - http://review.cyanogenmod.org/#/c/30867/

Video demonstration: http://www.youtube.com/watch?v=jZaDVBIFAuA
(Video for the initial Patch Set only)

PS10: Fix for doubletap on hidding toggles button

Change-Id: I930673565f2535a0a0058e1d4ff8b5fccf74c251
Merge remote-tracking branch 'aokp/jb-mr2' into aokp-mr2

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
Revert "Statusbar Traffic : Custom Text Color and Autohide Features (1/2)"

This reverts commit be91dae65014640bb6d4a1df385559607cb17807.

Conflicts:
	core/java/android/provider/Settings.java
Revert "Statusbar show Traffics (1/2)"

This reverts commit 117500bec1e5a9c106db59d88fcdd548761cdd27.

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Add network usage stats to status bar. [1/2]

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

Change-Id: Ib06a713e6d93649ae8c8e5be5fd62c4f44a48416

PS3:
Code cleanup, change default text color and size to fit
AOKP and add ability to change text color.

PS4:
Fix up layout for cleaner spacing and add for tablets.

Change-Id: Ie3cdb038fecfe8cbb9b7a670c50dc7ebd22690e1

Conflicts:
	packages/SystemUI/res/values/dimens.xml