FLAG_WATCH_OUTSIDE_TOUCH constant
int
const FLAG_WATCH_OUTSIDE_TOUCH
Window flag: if you have set FLAG_NOT_TOUCH_MODAL, you can set this flag to receive a single special MotionEvent with the action MotionEvent.ACTION_OUTSIDE for touches that occur outside of your window.
Implementation
static const int FLAG_WATCH_OUTSIDE_TOUCH = 0x00040000;