Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event

See b.android.com/55873

Change-Id: I92c549e1a595662d4df8fa0e47675ccb2b8814fd
utils: Allow non android namespaces to use ALOGD_IF_SLOW

Change-Id: I9207b64954fae2f56cc5f6aa5796a2e737400623
provide overrides for hwui memory limits for xxhdpi phones

Change-Id: I8b369619cd07530d0468a5449da30f338c13c7d2