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)
(cherry picked from commit a60ec589ad2fff6de38b4f49439c53815a5571d3)
(cherry picked from commit 4e75b0daebc63c80165050905c18dbb0d5bacfe3)
(cherry picked from commit d995ac8943e5a7cde3c200750845f5c981bfb493)
(cherry picked from commit 0686130b49ca84ae8d5b72d5ae07678bff4bd19b)
(cherry picked from commit 8dea568652248d75f84c0ba6c89f3f07c6d2b6a5)
(cherry picked from commit 760755680dbfbc8f997da98d708b75d823f8dd8e)
(cherry picked from commit 2d8f91ff029c7d33cb5f3582b9be5a12835d77e1)
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)
(cherry picked from commit 2d3a2cc7946d57eab354d4d1ff2e9eb0372cdd91)
(cherry picked from commit 723017bc7fb639adeab80f2f43db510b5f8aa373)
(cherry picked from commit e1589a774dfc4298f423eca7d5de64b013526c35)
(cherry picked from commit cbe569215b4afdfc3060730ffe99b28080be5b56)
(cherry picked from commit 75a798150a36a73e93c4c4b9ba2935bcba02f944)
(cherry picked from commit abe3c6024d9b8d969e02c389ce5dd53675dec39b)
(cherry picked from commit 3b456cf3621925315096cdffa85f912a0f60a425)
add a varaible
(cherry picked from commit 514ffb683718495ab5fa47f1913012aa2a218cdc)

(cherry picked from commit e8c960f363c3e907fab777c69094700fac119c2c)
(cherry picked from commit 65225b4942cc8e1aab2d5b547e08923cca4231da)
(cherry picked from commit c40bca4dfc66a8247aacae92e0af93efc4247dfe)
(cherry picked from commit 99813682e4b31846d56f3b24882d00e9c5ba65de)
(cherry picked from commit a96cb07f86ddb9902bfe1959a90c2c0418b36f54)
(cherry picked from commit 552ad00594d3ceb7d4e83134e2769155fa5f19ef)
(cherry picked from commit 9326a18876ceda2c6e9af093165a374f62f5add0)
(cherry picked from commit 8cd83006f5e130425ae247efc185d39b95eff71c)
(cherry picked from commit 28dc8834e555c231b0c935ee414d311f84471e20)
MediaFocusControl: Do not grant audio focus if notification stream is 0

Previously audio focus would be granted regardless of notification volume, meaning
that if notifications are muted the media stream would still be dimished for focus.
By checking if STREAM_NOTIFICATION is 0 and if a notification stream is
requesting focus, this no longer an issue.

PS1: Initial implement
PS2: Better implement in MediaFocusControl
PS3: Whitespace

Change-Id: Ie10a64e58ce77174a3bbdeaa936646d40c24404f
Signed-off-by: Evan Anderson <evan1124@gmail.com>
(cherry picked from commit e303cb2000f3ceb674863459b895c6021795dd66)
(cherry picked from commit 1c89a593d62e1b8a37c71eee43a2c40b0b517f66)
Suppress String resources build warnings

warnings suppressed are:
aapt: warning: **** string '%s' has no default or required localization for
aapt: warning: string '%s' has no default translation in

Patch Set 2: move ifdef and only suppress warnings for packages that
             define NO_DEFAULT_TRANSLATION_WARNINGS and/or
             NO_LOCALIZATION_WARNING

Patch Set 3: by default do not show warnings unless
             SHOW_DEFAULT_TRANSLATION_WARNINGS and/or
             SHOW_LOCALIZATION_WARNINGS

Change-Id: I50ef2a623959a1cc53053b446328df8e34cc99e8
(cherry picked from commit e6588d83aede7da80af13090035911ee86dd5e74)
(cherry picked from commit c84fa3527d860dca5cf84bfd9c1571b2c5e34d6d)