FWB: IME animations (1/3)

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

Patch destiled from here:
https://gerrit.omnirom.org/#/c/4251/37

Change-Id: Ie530898e851f1ffb289a290597f534f662c08847

Conflicts:
	core/java/android/inputmethodservice/InputMethodService.java
	core/java/android/provider/Settings.java
	core/res/res/values/arrays_custom.xml
	core/res/res/values/symbols_custom.xml
FWB: Custom scrolling values 1/2

ported/modified from https://gerrit.omnirom.org/#/c/4251/
originally written by Yanuar Harry <ai.the.smarties.physics@gmail.com>

AICP:
PS2: fix build
PS3: Use default values as defaults

Change-Id: I7f23fe736507f836137c5d6dc0b5fd2ad4a95462