Speed up notification pullup & pulldown

based on an idea by Mr.Nigma @xda:
http://forum.xda-developers.com/showthread.php?t=2267307

Change-Id: I61213058b5cedddf90e974713af05c038e3af039
Increase scroll speeds

AOKP PS:
This does not increase touch sensitivity as advertised, it does, however
increase the speed of scrolling giving the feeling of more responsiveness.
Commit message editted to reflect this.

Change-Id: I77e6aeca3667808e630dc142a2e561d3ddddef80
Fix infinite recursive loop

There is an apparent recursive loop at IntProperty.java
in method set(Object, Integer)

This method unconditionally invokes itself. This would seem
to indicate an infinite recursive loop that will result in a stack overflow.

This was brought over from out original JB branch.  Somehow, this got
overlooked, and never made it into JB42.

Change-Id: I344f7d774d4a9c688dda1e10f796def0f503d037
Fix a programmatic smooth scroll bug

Bug: smoothScrollToPosition() stops at child view of which height is
higher than list view itself.

Change-Id: I695ca9db4c706aa7f365967dd3916f9a01917346
Signed-off-by: Yongyi Li <yongyi.li.cn@gmail.com>
frameworks/base: Fix for the race in Wallpaperservice

Wallpaperservice has a race among message handler of
DO_DETACH and service's onDestroy. In certain cases,
the engine kept track in mActiveEngines is removed by
message handler of DO_DETACH and service's onDestroy
doesn't get a entry in mActivieEngines and isn't able
to invoke detach. This keeps the broadcast receiver,
mReceiver active and is unregistered by the framework
and a corresponding leak is reported.

  Later, the message handler of DO_DETACH continues
and invokes detach on mEngine, which attempts to
unregister mReceiver and framework throws an exception
"Receiver not registered: android.service.wallpaper.
WallpaperService$Engine$1@40874580" and causes the
framework to reboot.

  In case of system_server, WindownManagerPolicy and
android.server.ServerThread contest for access of
shared members, mActiveEngines and mEgine. Fix is to
protect the critical section via synchronized block.

Change-Id: Ice79cb8344fb54bcc6e9f76f4b143daac2608d7b
ZygoteInit: increase GC threshold amount when preloading to postpone GC

AOKP PS:
Make more reasonable 5MB
Cleanup language

Change-Id: I7a6e195b82ebe2f4bd5bbb506e19200d452fa3e5
Fix a JNI local reference leak in JNIMediaPlayerListener::notify.

Bug: https://code.google.com/p/android/issues/detail?id=62137
Change-Id: I776cd83a66de37fdbbe8af367bf1b26e5e0c7247
Remove possible leak when exception occurred.

nameUtf8 is not released after exception.
In addtion, Fix code going down after ThrowException.

Change-Id: Id46e8ed55acd98e982ae532f7da2c0c48847f010
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.

Change-Id: Ic5455a993442780d43a3b0b02e84a7ab931010b1
Fixed race condition in Spinner.DialogPopup on null reference.

NullPointerException is triggered when DialogPopup is
dismissed due to object mPopup being null when not showing.
Race condition is triggered when dialog is dismissed before
touch event to dismiss dialog has been processed properly.

Fixed by adding a null check prior to accessing mPopup object.

Change-Id: I3c4fe9c279d92a7103fb4f68189d1d42beedc606
Updated czech translation

Change-Id: I70e0df6d4c2d01805f25bed84e83170fa252f7c1
Signed-off-by: kecinzer <kecinzer@gmail.com>
Fix the screen-off animation ignoring value set in ro.sf.hwrotation

Change-Id: Ib0729440cc76a604ff400cb9c4e8da3350b7d214

This patch partially fixes screen off animation in Tab 2 7" and 10"
Dynamic data usage [2/2]

Change-Id: Ibd0067418435442d8cff922faf8ef0f6a5a28761
Updated Simplified Chinese translations

Change-Id: I87624a11eb35ceea9f808c073744832d3560309c
Merge "Fix the screen-off animation ignoring value set in ro.sf.hwrotation" into kitkat
Tweak kill-app delay

*750 just feel a little too long imo. Adjust the delay
 slightly to make it feel a little more appropriate.

Change-Id: I900c0030150d456b4cc43e2349dcffbc13e5145f
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Merge "Speed up notification pullup & pulldown" into kitkat
Merge "Increase scroll speeds" into kitkat
Merge "Fix infinite recursive loop" into kitkat
Merge "Fix a programmatic smooth scroll bug" into kitkat