aosp13/frameworks/native/services/inputflinger
AMOTION_EVENT_ACTION_OUTSIDE
/* This flag indicates that a MotionEvent with AMOTION_EVENT_ACTION_DOWN falls outside
* of the area of this target and so should instead be delivered as an
* AMOTION_EVENT_ACTION_OUTSIDE to this target. */
FLAG_DISPATCH_AS_OUTSIDE = 1 << 9,
1 InputDispatcher::dispatchMotionLocked()
1.1 InputDispatcher::findTouchedWindowTargetsLocked()
1.2 InputDispatcher::findTouchedWindowAtLocked() : set flag InputTarget::FLAG_DISPATCH_AS_OUTSIDE
2 InputDispatcher::dispatchEventLocked()
3 InputDispatcher::prepareDispatchCycleLocked()
4 InputDispatcher::enqueueDispatchEntriesLocked()
5 InputDispatcher::enqueueDispatchEntryLocked() : dispatchEntry->resolvedAction = AMOTION_EVENT_ACTION_OUTSIDE