Fix for positioning of glyphs within a bitmap

For positioning of glyphs within a bitmap, roundf(int + float) is used,
where the float is the glyph position and the int is the text position.
When the text position is varied, this may lead to the sum being rounded
in different directions, due to floating point rounding, caused by that
floating point numbers have different precision in different ranges.

This may therefore lead to slightly different positioning for glyphs and
therefore slightly different widths and heights for text strings,
depending on the position they are rendered at.

The solution in this patch is to use int + (int) roundf(float), which
has consistent rounding, and also enables us to use the full range of
ints.

Change-Id: Id1143cdfcbdfa9915ced878ae04df589a3e03cee
[1/2] Notifictation counter

PS2: Try to fix memory leak
PS12: Catch line 143 for debugging track down which instance of
      StatusBarIcon is causing NPE
PS13: Removing apply() from onAttachedToWindow to test a theory
PS14: Remove logging and check if icon is null before setting vars
PS15: == -> =
Change-Id: I95d06df346c77f0089abb749f2ee16a3d4678041
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/drawable-hdpi/ic_notification_overlay.9.png
	packages/SystemUI/res/drawable-mdpi/ic_notification_overlay.9.png
	packages/SystemUI/res/drawable-xhdpi/ic_notification_overlay.9.png
	packages/SystemUI/res/drawable-xxhdpi/ic_notification_overlay.9.png
	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java