Recognizing custom gestures in Android