DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590
Fix removal of dock battery views in PhoneStatusBar

removeView is not recursive. Find and remove the dock views from their
direct parent. Fixes inconsistent paddings/margins with the wi-fi
indicator on tablets.

Change-Id: I56745059aaf84b1e52b6a4fd8806481beae0daff
Fix misspelled comment

Change-Id: Id13737b3a40eeee70ec0816aebe551d34ce89691
Correct padding for status bar icons

4dp is used in AOSP.

Change-Id: I7f97cb9feabe267c67722d600d0891ab2ce1a907
qs: Add torch and GPS tiles by default if supported

 * New configuration variable config_enableTorch has been moved from
   the settings app that devices should overlay onto.

Change-Id: I2e4cb81390548cf055eae2836280fe9bdc65f0b0
QCFace: Fix package path

Change-Id: I8282331003d0494bd5620cfb6e91f2dcfa708d30
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Support GESTURE_SENSOR input device type with GestureService

* The GESTURE_SENSOR input device type is meant to support touch sensors
  which are meant for gesture input only, very similar to a touchpad,
  but without the pointer capability.
* Define separate service to handle gestures from GESTURE_SENSOR device
  type.

Change-Id: I9b273df2a3cc141774d7f7cd81e43a90ea5b230b
Hide InputDevice.SOURCE_GESTURE_SENSOR from API

Change-Id: If009e9595fc593594b0e7764669996de137483a1
PieInputFilter: Fix the check for the input device type

input sources are composites with all the supported capabilities,
not direct representations of the hardware.
A touchscreen with gesture or stylus capabilities will be a
TOUCHSCREEN|GESTURE, for example, and fail this check. Fix it.

Change-Id: Ib3a5b27be9f461245c6d010e1a7f454e9284437f