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