Stylus gestures features (2/2)

Forward-port to CM-11.0

Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295