[1/3]Base: All in One Animation Control

Allow configure System, ListView, Scroll, and Keyboard Animation

base from
AOKP Animation Control https://github.com/AOKP/frameworks_base/commit/015c9cf00a8e49aea22d70b57b0af87c9134be73
thanks to Steve Spear <stephen.k.spear@gmail.com>

ListView Animation https://gerrit.omnirom.org/#/c/2863/
thanks to jkl5616<jkl5616@gmail.com>

Keyboard Animation https://github.com/zst123/XuiMod/commit/975cd531a9a847769b2af306495643a55ec44aaa
thanks to zst123 for patches

with slight modification to OmniRom

Scrolling Animation https://github.com/zst123/XuiMod/commit/48c180cfa762617f59b4ceb3da50a6c28befe24f
thanks to zst123 for patches

Conflicts:
	core/res/res/values/custom_strings.xml

Change-Id: I878e2e845c75a5e7ccf5de69383b18478de60d65
derpage fixage

Change-Id: If47962f2c896c4f0727eed655b45531d85e87e45
[1/2] Base: Navigation bar height/width

All credits to SlimRoms / kufikugel

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

Change-Id: I97af1fbd5a2e7df2337abc6c825b4905f576a48b
[1/2] Base: NavigationBar customization

Includes:

- Allows user to customize navigation bar.
  Features :
   - Choose from 1-6 # of buttons
   - Re-arrange / assign buttons
  Id: Idc9f5f401f15d207504e49de47666bb5510a06ca

- Navbar : Rework logic for determining orientation
  This patch introduces better checks for hybrid ui's.
  This should fix issues of small buttons due to incorrect ui determination
  Thanks Rolf Arne Schulze for testing :)
  Id: If5b61dc4764a98deedb5b801d11451fed2488cba

- Make navigation bar ready for per-user configuration.
  Also clean it up a bit.
  Id: Ic10bd161fce53bf30048a0cb927dcf1e2bfa7774

- Fix layout on N10
- Remove uncessary padding and logic
- Phone fixes
- Phone padding fixes

PS6: Added RTL support (http://review.cyanogenmod.org/#/c/55059/)
PS7: Navbar: Fix MDPI & HDPI landscape layout (http://review.cyanogenmod.org/#/c/56098/)

OmniGears part: https://gerrit.omnirom.org/#/c/3156/

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/custom_strings.xml

Change-Id: I5bcdd53e8344e8ce137088544a4a3964655c53af

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

rebase
[1/2] Base: Quick swipe

Change-Id: I7629084dd19881d09fc69849ddad593c8a4aed35
[1/2] Base: configurable rotation

Change-Id: I311b14754702831197c007e4dfe42d8523b970c6

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

Change-Id: I809e90d0762fcdaf267e2ac302e6705a6f3988b0
[1/2] framework/base: QH disable battery warning

Change-Id: I32f4125935d66e24cc118bb301769440969c199b
Active display: Respect Quiet Hours

PS2: Use QuietHoursHelper

Change-Id: Iba6f339e8073fa28ee6b96a6b889cd3faf724111
memoize activity manager graphics acceleration check

also account for devices without hardware rendering support

Change-Id: Ib400d85a261d9c5d0fd5770d6cda5f61832cba6b
adjust settingsprovider defaults for transition

Change-Id: Icd0dd53f85f1ed952a02ee13810f16e5f325b616
set default transitions to .5 for smoothness

Change-Id: If3265224e167fc6eca9658067fb2546a1ededbe6
Call to equals() comparing different types (FindBugs)

Call to HashSet<PrintServiceInfo>.equals(ArrayList<PrintServiceInfo>).
The result of this comparison will always be false.

Change-Id: Ic8cc6eab99cea4c7b3841faf6bc84c246273e8d0
Fix NPE in ConnectivityService

Could occur when requestRouteToHostAddress is called on a network
with no associated tracker.  Code later in the method handles
this case gracefully but code introduced in JB throws an exception.

Change-Id: I6c8a0e313ecbcca120aeb5dd0802a72114749aa1
base: Fix for wifi tethering crash

Pass network info along with CMD_UPSTREAM_CHANGED
Added a NULL check for Network info in CMD_UPSTREAM_CHANGED

CRs-fixed: 562910
Change-Id: I98bd37205255d9d4025cfb95b0688c68bce3c9bd
Wifi: Fix for connection failure between third client and GC.

When third device sends a connection request to the group client, the
existing connection is terminating and also the ongoing connection not
successful.Currently as there is  no use case where third device is
connecting to GC,and the existing onnection getting terminated.This
is addressed by ignoring the new connection request from third client
to GC and the existing connection is intact.
CRs-Fixed: 467049

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

edits by Stefano Semeraro aka Suxsem on XDA.

This fixes the glitch in the screenshot animation on the Galaxy Nexus and other affect devices.

Change-Id: I0dbe20bdf5a410e9b148f667eff2b321997d92d9
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
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