Improve AOSP Download/Upload animation

This increases the number of png required for a full download/upload animation cycle.
These new png makes the animations much smoother.

(cherry picked from commit 585d90ee03e5d01347fd2a4a6c3440362984153f)
(cherry picked from commit 76b1c521de8041da27f57d9da99439e167953663)
(cherry picked from commit 5f283c91cb558392b9848cddaa60c813f1728965)
(cherry picked from commit 27c2f154c41c0a3c427ae4f898ac7381537bf2bd)
Fix appwidgets not updating

Previously there was a bug where if an appwidget's update caused a
TransactionTooLargeException then the AppWidgetServiceImpl.Host's
callbacks were completely disabled, for all widgets.

The fix still allows a DeadObjectException or other RemoteException
to disable the host callbacks, as that would be caused by a bad host.

Fixes issue 28216 on the public tracker
https://code.google.com/p/android/issues/detail?id=28216

Change-Id: I5c5d5939d7211ed23cca69e6674de730b51b0f3e
Signed-off-by: Kevin Barry <kevin@teslacoilsw.com>
(cherry picked from commit 0eeb3dcfa81b8d14a5b980441038fa9feeb3c557)
(cherry picked from commit f42976bf8534e01ebddb24c25a67ba3ef213dab4)
(cherry picked from commit 136675c94c1255337127d4776b80e68c3e6b7cb2)
(cherry picked from commit 25aa3becfd51a0cf7ffb9337b30679143370c6b7)
add a varaible
(cherry picked from commit 514ffb683718495ab5fa47f1913012aa2a218cdc)

(cherry picked from commit e8c960f363c3e907fab777c69094700fac119c2c)
(cherry picked from commit 65225b4942cc8e1aab2d5b547e08923cca4231da)
Re-implement user definable rotation angles

Change-Id: Iec6c1206d1c27b90482467aea53ae4c84b1efa65
(cherry picked from commit 064fa5c4fcf6298c7e06c62aad43fa73f6050a47)

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

(cherry picked from commit 203fab14f6750a25809f1364387a666e8ca1232f)
(cherry picked from commit aa3ec4ed5b6bbc16413ca75cee954f2a1118548a)