am 82392e84: Merge change 2402 into donut

Merge commit '82392e84b9bcf618d1c41730ec14fb8dab841990'

* commit '82392e84b9bcf618d1c41730ec14fb8dab841990':
  Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.