Pie controls: Tweaking UX for pie service (1/2)

With the introduction of pie service there is the need to
fine tune the parameters for activation again.

Patch Set #2:
* Base trigger thickness set to 10dp
* User settable activation sensitivity

Patch Set #4:
* Reverted #setSensitivity() in PieGestureTracker
* Added Sensitivity "Very High"

Change-Id: Ief7c1786467195f2ad52dcdb0efd3ad03a48834c
Reduce observers in SystemUI: StatusBarIconView

Currently, for each status bar icon view there is a observer that
listens for changes of STATUS_BAR_NOTIF_COUNT. With one
notification usually having one or more status bar icons
you may end up easily with 10+ more observers for ~5 notifications.

With this commit the internal observer class becomes a singleton.
This means there is now only one observer for all status bar icons
and additional binder calls on new notification are avoided.

See "dumpsys content"

Change-Id: I8c11b165b34b87e7363a8e96524ea70fe6b28342
Improve auto-brightness handling

- Add a setting to control the auto-brightness algorithm responsitivity
- Make the algorithm react much faster when the ambient brightness
  increases quickly, e.g. when receiving a call in bright sunlight.

Change-Id: Ic608901c476609dde69cae982228c09567140a83
profiles: Broadcast profile updates

Add broadcast to indicate profile changes that does not
cause a profile to be selected.

Use the new broadcast to update the Profile Tile more
reliably.

Currently the tile update is triggered by a profile
selection. However, the active profile may change without
triggering a selection. This happens, for instance, on
locale changes.

The Profile Tile does handle locale changes, but is subject
to a race condition. If it handles the locale change before
the profile manager does, the name change will not be seen.

Change-Id: I193454f5100f1ae04dd24d50f25e75ec961f4d68
Merge "Improve auto-brightness handling" into cm-10.1
Merge "Reduce observers in SystemUI: StatusBarIconView" into cm-10.1
Merge "Pie controls: Tweaking UX for pie service (1/2)" into cm-10.1
Merge "profiles: Broadcast profile updates" into cm-10.1
framework: merge CyanogenMod

Change-Id: I74612193c3aa32418a528f3ea10d6de0d54e4d58