Process the BTN_MOUSE event

This is required in order to make the trackball on devices that has it to
work properly, like it does before ICS. In addition to this patch, you just
need an .idc file that matches the device name for your the trackball. You can
find it by either looking in a kernel log or a logcat.

For example, a device with a Crucial optical navigation pad, will be called
curcial-oj.idc

The .idc file should contain the following:

cursor.mode = navigation
cursor.orientationAware = 1

Place the file in /system/usr/idc folder.

Enable in BoardConfig.mk with BOARD_USE_LEGACY_TRACKPAD := true

Change-Id: I57e9912b9e4d6242c980c99f4fd28b0d50f19bb8
Add support for ICS camera blobs

Change-Id: Icf9010f4b6059405275107fadd5aac81cd294182
libinput: port over JumpyTouchFilter from Gingerbread

 This is the 2nd commit message:

libinput: Introduce touch.filterTouchEvents parameter

Parameter will be used to decide wheter to apply filters to the touch
events of devices with bad touchscreens (such as bravo or passion).

libinput: Add applyFilters() and applyFiltersWithId functions.

Functions are called when filterTouchInput parameter is true.

libinput: MultiTouchInputMapper: hook up JumpyTouchFilter.

libinput: MultiTouchInputMapper: modify JumpyTouchFilter.

    - Drop more points when transitioning
    - Drop both coordinates when transitioning
    - If last event was hovering reset the dropped points count and
      do nothing

libinput: MultiTouchInputMapper: add BadTouchReleaseFilter.

When lifting one of two fingers on HTC Bravo's touchscreen an jump to
0x0 is emmited. The BadTouchReleaseFilter seaches for a jump like this
and replaces all points with the last ones.

libinput: rename LOGD to ALOGD

Change-Id: I50b74717edb0af082b067a552d6b10467c0eb3f2
Allow compatibility with 'old' Touchscreens (Linux < 3.1)

BOARD_USE_LEGACY_TOUCHSCREEN := true in your BoardConfig.mk

Support the Multitouch, 10-points tested on the qtouch (Defy/Droid)

Remember to add the new idc file required for the touchscreen/keypad
Example: /system/usr/idc/qtouch-touchscreen.idc

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

 This is the 2nd commit message:

Legacy touchscreen: Fix B key issue

 This is the 3rd commit message:

simplify and improve BOARD_USE_LEGACY_TOUCHSCREEN

in addition to converting ABS_MT_TOUCH_MAJOR to ABS_MT_PRESSURE, it also converts ABS_MT_WIDTH_MAJOR to ABS_MT_TOUCH_MAJOR.

also add 2 workarounds for some touchscreen driver which
 1. has BTN_TOUCH feature but it doesn't send BTN_TOUCH event
 2. sends multi-touch event for not-in-use pointer

reference: http://source.android.com/tech/input/touch-devices.html

Change-Id: I7b7f8802e45bf9d9f8de00373559a30ea839a178
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b