jf: increase ui responsiveness

* lower touchslop, improves scroll response
* speed up the notification shade

Change-Id: I0262a5b359d4298a44bf8211baca13e01fa59535

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml
serrano: consumerir: Convert transmit input from ms to pulses

According to:

 https://developer.android.com/reference/android/hardware/ConsumerIrManager.html#transmit%28int,%20int[]%29

the pattern is supposed to be in ms.  Apparently Samsung and HTC
in versions 4.4.2 and earlier of Android were treating this as
the number of pulses instead of ms.  This is what our HAL is
supporting because it mimic'ed what the vendors were doing.

However, we should switch to the correct spec of the pattern (ms)
and eventually this will cause apps to converge on the right
patterns.

Currently, this change will break half the existing apps and cause
the other half of the apps to stop being broken and to start
working.

Change-Id: I87cedcc8e0b85d7b96ed63c7d4f82cc53ecb4ecb
serrano: Various updates for new blobs

Change-Id: I5f931d30f7ab5f84f41e5eb0dc2f3ce4f46af3e4

Conflicts:
	gps/Android.mk
	gps/etc/gps.conf
	gps/libloc_api_50001/Android.mk
	gps/libloc_api_50001/LocApiAdapter.cpp
	gps/libloc_api_50001/LocApiAdapter.h
	gps/libloc_api_50001/gps.c
	gps/libloc_api_50001/loc.cpp
	gps/libloc_api_50001/loc.h
	gps/libloc_api_50001/loc_eng.cpp
	gps/libloc_api_50001/loc_eng.h
	gps/libloc_api_50001/loc_eng_agps.cpp
	gps/libloc_api_50001/loc_eng_agps.h
	gps/libloc_api_50001/loc_eng_dmn_conn.cpp
	gps/libloc_api_50001/loc_eng_dmn_conn.h
	gps/libloc_api_50001/loc_eng_dmn_conn_glue_msg.c
	gps/libloc_api_50001/loc_eng_dmn_conn_glue_msg.h
	gps/libloc_api_50001/loc_eng_dmn_conn_glue_pipe.c
	gps/libloc_api_50001/loc_eng_dmn_conn_glue_pipe.h
	gps/libloc_api_50001/loc_eng_dmn_conn_handler.cpp
	gps/libloc_api_50001/loc_eng_dmn_conn_handler.h
	gps/libloc_api_50001/loc_eng_dmn_conn_thread_helper.c
	gps/libloc_api_50001/loc_eng_dmn_conn_thread_helper.h
	gps/libloc_api_50001/loc_eng_log.cpp
	gps/libloc_api_50001/loc_eng_log.h
	gps/libloc_api_50001/loc_eng_msg.cpp
	gps/libloc_api_50001/loc_eng_msg.h
	gps/libloc_api_50001/loc_eng_msg_id.h
	gps/libloc_api_50001/loc_eng_ni.cpp
	gps/libloc_api_50001/loc_eng_ni.h
	gps/libloc_api_50001/loc_eng_xtra.cpp
	gps/libloc_api_50001/loc_eng_xtra.h
	gps/ulp/inc/ulp.h
	gps/utils/Android.mk
	gps/utils/linked_list.c
	gps/utils/linked_list.h
	gps/utils/loc_cfg.cpp
	gps/utils/loc_cfg.h
	gps/utils/loc_log.cpp
	gps/utils/loc_log.h
	gps/utils/log_util.h
	gps/utils/msg_q.c
	gps/utils/msg_q.h
serrano: Import GPS HAL from klte

 * With some minor modifications

Change-Id: I6076783e9a070e329c7eab6c8595387b2b37706a

Conflicts:
	BoardConfigCommon.mk
	include/hardware/gps.h
serrano: Add back some sensor permissions

 * Was accidentally removed in a previous commit

Change-Id: I351fa076f4c03a93a8089ac55bc5367f31d7b3bc
serrano: Sync GPS HAL with CAF's kk_2.7_rb1.42 branch

 * Minus the following patch, as it's causing a missing symbol
   error when loading our proprietary libs:

   "Add a new LocAdapterProxyBase class"

Change-Id: Ia2e2de8928308151af710039d225b63aae2eff28
serrano: Remove TARGET_NO_RPC check from GPS HAL

 * We will not be building with RPC support anytime soon
   anyway, so just remove it.

Change-Id: I0157974b35dc612fe45821918b315fb6e447d85d
fstab: remove length parameter for encryption

* This is not needed and actually causes encryption to fail
  most of the time.

Change-Id: I86bdffccab213e4e06609c1c179666fab30ea7c6
serrano: Use FFMPEG for WMA playback

 * Hardware decoding is currently broken

Change-Id: Ia56fb3be06141ff998e0b7909c154b5bd6f8a576
serrano: Update gps.conf for CAF merge

Change-Id: I9dc433f31e3595093f3f77113ecfa467665239f6
serrano: Add missing AGPS_USE_PSC define

Change-Id: Ic0cfd515c6b7577ec7e93135e0f0099593c567c8
serrano: Add custom RIL class

Apparently we have to use and maintain our own RIL class now
for every device that will be using KitKat RIL blobs.

Completely unnecessary and bloated imo, but hey - if that's how
the flow goes these days, then by all means. It's not like we
have too little of it already. More is less.

Change-Id: Idb9a518e741fcc0c85dac65daed89c02dc71eb76

Conflicts:
	BoardConfigCommon.mk
	melius-common.mk
serrano: Modify init and proprietary files for KK RIL blobs

Change-Id: Ie352f8b908b9782011332225786c2b5b5a153f9c
serrano: init and ueventd updates from stock KitKat

Change-Id: I03c99b4d856587e78da67e0ea0f08e9aebc503e0
serrano: Allow more background services

Some services or broadcast may get tremendous delay because
of the limited background services. It will bring about many
issues like alarmmanagerservice's wakelock held too long.

Change-Id: I6ff85dfc92858318abd69e5de7c6eb80d5978156
serrano: Add back some RIL shit

Change-Id: Ice25617a082a678302ce1c0303f1bd85d00dc3d0
serrano: Get rid of init.qcom.post_boot.sh

 * Also make some adjustments to power HAL

Change-Id: I08a38aae3c378665f2eb12e02b376c86c9710a54

Conflicts:
	rootdir/init.qcom.rc
IR: Increase Buffer size

  Fixes JIRA CYAN-5239

Change-Id: I6d6a2cd48f9b7b485099c84517cab9e7b08d1e3a
serrano: Add missing device permissions

Change-Id: Idc74d22958297f0dca4d453161ccc626ad8aaa0f
serrano: Move system to top of fstab list

* As per info it should be mounted first since it contains
  the filesystem check utility. Also remove barrier=1 flag
  since it's the default anyway.

Change-Id: I8815e4a993cdf51c97574f36f5c76591610259ff