Base: [1/3] Customizable lockscreen & navring targets

This is a squashed commit, ported from CM:

Add GlowPadView extensions needed for lockscreen targets and nav ring
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: I4f82fd3fe04ac16c6737d38b2473f2a533c5d326

Framework : Lockscreen - Customizable shortcuts
Author: Danesh M <daneshm90@gmail.com>
Change-Id: Ic3b935df5c0da35f31373d96943e442dc39cf11b

Add back navigation ring customization
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: Iebe4ec7c2519b85cfd5189d060444764a50f3cf6
Base: Listanimation views and interpolator (1/2)

thanks team ThinkingBridge for it. Difference to original implementation

- code cleanup
- some smaller code fixes
- remove of rotation animation due it is to laggy
- multiuser support

Change-Id: I255b60dd963c616fb5c0aa583c23d52a7a5108f8

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I255b60dd963c616fb5c0aa583c23d52a7a5108f8

Conflicts:
	core/java/android/provider/Settings.java

rebase
Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9
Quick Settings: Add visual indicator of ON/OFF Setting of Mobile Data tile

Change-Id: I7dc0c8943df7a9478655bdde6745662c3831288f
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
Remove possible leak when exception occurred.

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

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

Bug: https://code.google.com/p/android/issues/detail?id=62137
Change-Id: I776cd83a66de37fdbbe8af367bf1b26e5e0c7247
gps: adding net_raw gid for IPC permission

for AFW to have permission to call loc api

Conflicts:

	core/java/com/android/internal/os/ZygoteInit.java

Change-Id: Ifc7451659431fa1c1998f5d75bfa5f2018a5d054
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
adjust settingsprovider defaults for transition

Change-Id: Icd0dd53f85f1ed952a02ee13810f16e5f325b616
increase touch sensitivity

Change-Id: I77e6aeca3667808e630dc142a2e561d3ddddef80
fix for screenshot animation glitch in portrait

edits by Stefano Semeraro aka Suxsem.

Change-Id: I7a03a24c5b1bfdfe616f940b2bd7be42091f45a6
enable market restore

Change-Id: I79067023cd1b3575bad14fae752049622d11c100