Statusbar : custom notification count color (1/2)

credits : XXMrHyde
- set both icon background and text color
Customizeable status and navigation bar background color (1/2)

    - Opaque color
    - Semi transparent color, (transparency is always 40%)
    - Gradient shadow color

Conflicts:
	core/java/android/provider/Settings.java
Correct Notification panel button Animation

- Do not process Halo button if activated.
- cleanup clear button handling based on Vanir Rom commit

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
tether: tethering chooses wrong upstream when mobile_dun is required

When mobile_dun is required, the default mobile type will
be deleted from upstream list, this makes wifi become
the highest priority upstream even whne wifi is not available.

Change-Id: I2c12f6cd6d52331220dce900609ad072f9ec3fbc
CRs-fixed: 671675
Kill duplicate SYSTEM_NOTIFICATION_LISTENER in core/res/AndroidManifest.xml

Change-Id: I026c2c3a65850a13e8332384cb2e2899f0102392
AN/LSN: if (whoWritesCodeLikeThis?("if (A) { //nothing } else { something(); }") != Authors.ME) fixit();

Change-Id: I02343dd381d03cbebed4858806eace8730148496
Fix AN/LSN QuietHours logic and variable scope

Change-Id: I9de338603da9294252d889f6c037d09f40221ec4

Conflicts:
	packages/Keyguard/src/com/android/keyguard/NotificationViewManager.java
Vectone/Delight (MNC07) considered non-roaming on NOS (MNC03)

Change-Id: I743935b94bb531d78b784550e3028378cdc01959
Lycamobile (MNC04) considered non-roaming on Vodafone (MNC01)

Change-Id: Icff916672e5ed666adf2cdfeb26d24bf43b64683
Skip receiver if failed linkToDeath to ILocationListener

linkToDeath may failed when app was dead immediately after
starting the call to requestLocationUpdates in Location
service. If receiver still record in maps, an exception
will occurred when try to remove receiver's update because
unlinkToDeath will failed.

Change-Id: Id9b00da3b17c1371d61ab4644a70cf9ee934cdcc
missing recycle call, catch possible exception when unregistering

Change-Id: Id8d5ff359fc7b2f90b3188e593edc5948c58df74
Settings: Root list: More colors, (1/2)

Conflicts:
	core/java/android/provider/Settings.java
Custom bootanimation, (1/3):

Add OnAnimationFinishedListener to AnimationDrawable

Conflicts:
	core/java/android/provider/Settings.java
Fix Possible FC with statusbar recreation
TrafficMeter: fix monitor visibility when wifi or mobile data is disabled

After adding auto-hide option traffic monitor would stay visible when data was disabled and auto-hide was off.
Add custom color support to system and notification icon (1/2)

also apply th changes with ticker text correctly
ActivityManagerService: Fix heavy games kill during incoming call

Force heavy apps penalisation only to large "cached" apps. Donot
include "previous" app in this category. This ensures large apps
are not killed during special incoming alerts like incall, sms.

Change-Id: I51b4a238415efad63ef36f7e0cd056823a72a47d
SystemUI: disable statusbar time refresh when screen off

When screen is off, don't refresh the status bar to save power.
When screen is on, refresh immediately for user experience.

Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
 PA Pie : Cleanup and revamp functions (1/2)

- code cleanup base on DU and AICP, fixed PIE STICK function
- create seperate button layout preference
- add Torch buttons : credit AICP
- fix Notification panel View
mSurface was reset and lost initialization.

mSurface got reset and lost initialization when the developer call
setSurfaceTexture() in onSurfaceTextureAvailable().

Change-Id: If07260e3897e99b96e7a9d86ee5bc1528fb30ab4
Signed-off-by: ChaoJun Xue <xdtq47@motorola.com>