An internal DSL for defining gestures in Android