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
Adjust kernel data stack TCP parameters to optimize performance

Enhance Android MobileDataStateTracker class to identify technology
EVDO rev B separate from earlier releases.  This permits use of
separate TCP buffer size for higher bandwidth technology.

Change-Id: Ib8dfa315c4485c36c66b2c66950c42ccb81fe9e5
CRs-Fixed: 260740
frameworks/base: Increase Zygote preload GC threshold.

Increase Zygote preload GC threshold to half of the heapgrowthlimit,
to reduce boot up time.

Change-Id: I74a68a512c2266ac6e62f09f361f8607251ca9a7
Fixed group and child view caching in SimpleExpandableListAdapter.

Now the adapter reports the correct type count and type for group and child
views by overriding the respective methods from the base class. Each group
view has two types, one for expanded views, one for collapsed views. Each
child view has two types, one for the last view within a group, one for the
other views within a group.

Change-Id: I117b2c0f7e98fb7fe2fdd35c15f7d1f9dc06674f
Signed-off-by: Georg Hofmann <georg.hofmann@gmail.com>