• Home
  • Raw
  • Download

Lines Matching refs:InputTarget

114         case InputTarget::FLAG_DISPATCH_AS_IS:  in dispatchModeToString()
116 case InputTarget::FLAG_DISPATCH_AS_OUTSIDE: in dispatchModeToString()
118 case InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER: in dispatchModeToString()
120 case InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT: in dispatchModeToString()
122 case InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT: in dispatchModeToString()
124 case InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER: in dispatchModeToString()
542 windowHandle, InputTarget::FLAG_DISPATCH_AS_OUTSIDE, BitSet32(0)); in findTouchedWindowAtLocked()
873 std::vector<InputTarget> inputTargets; in dispatchKeyLocked()
925 std::vector<InputTarget> inputTargets; in dispatchMotionLocked()
1019 EventEntry* eventEntry, const std::vector<InputTarget>& inputTargets) { in dispatchEventLocked()
1029 for (const InputTarget& inputTarget : inputTargets) { in dispatchEventLocked()
1195 const EventEntry* entry, std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) { in findFocusedWindowTargetsLocked()
1241 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0), in findFocusedWindowTargetsLocked()
1258 const MotionEntry* entry, std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, in findTouchedWindowTargetsLocked()
1373 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS; in findTouchedWindowTargetsLocked()
1375 targetFlags |= InputTarget::FLAG_SPLIT; in findTouchedWindowTargetsLocked()
1378 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED; in findTouchedWindowTargetsLocked()
1380 targetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED; in findTouchedWindowTargetsLocked()
1435 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1442 int32_t targetFlags = InputTarget::FLAG_FOREGROUND in findTouchedWindowTargetsLocked()
1443 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER; in findTouchedWindowTargetsLocked()
1445 targetFlags |= InputTarget::FLAG_SPLIT; in findTouchedWindowTargetsLocked()
1448 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED; in findTouchedWindowTargetsLocked()
1468 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1478 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0)); in findTouchedWindowTargetsLocked()
1487 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1519 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) { in findTouchedWindowTargetsLocked()
1523 InputTarget::FLAG_ZERO_COORDS, BitSet32(0)); in findTouchedWindowTargetsLocked()
1532 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1562 InputTarget::FLAG_WINDOW_IS_OBSCURED in findTouchedWindowTargetsLocked()
1563 | InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED in findTouchedWindowTargetsLocked()
1564 | InputTarget::FLAG_DISPATCH_AS_IS, in findTouchedWindowTargetsLocked()
1643 if (touchedWindow.targetFlags & InputTarget::FLAG_SPLIT) { in findTouchedWindowTargetsLocked()
1693 int32_t targetFlags, BitSet32 pointerIds, std::vector<InputTarget>& inputTargets) { in addWindowTargetLocked()
1701 InputTarget target; in addWindowTargetLocked()
1713 void InputDispatcher::addGlobalMonitoringTargetsLocked(std::vector<InputTarget>& inputTargets, in addGlobalMonitoringTargetsLocked()
1728 float xOffset, float yOffset, std::vector<InputTarget>& inputTargets) { in addMonitoringTargetLocked()
1729 InputTarget target; in addMonitoringTargetLocked()
1731 target.flags = InputTarget::FLAG_DISPATCH_AS_IS; in addMonitoringTargetLocked()
1943 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1972 if (inputTarget->flags & InputTarget::FLAG_SPLIT) { in prepareDispatchCycleLocked()
1999 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
2011 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT); in enqueueDispatchEntriesLocked()
2013 InputTarget::FLAG_DISPATCH_AS_OUTSIDE); in enqueueDispatchEntriesLocked()
2015 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER); in enqueueDispatchEntriesLocked()
2017 InputTarget::FLAG_DISPATCH_AS_IS); in enqueueDispatchEntriesLocked()
2019 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT); in enqueueDispatchEntriesLocked()
2021 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER); in enqueueDispatchEntriesLocked()
2030 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
2043 inputTargetFlags = (inputTargetFlags & ~InputTarget::FLAG_DISPATCH_MASK) | dispatchMode; in enqueueDispatchEntryLocked()
2073 if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) { in enqueueDispatchEntryLocked()
2075 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT) { in enqueueDispatchEntryLocked()
2077 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER) { in enqueueDispatchEntryLocked()
2079 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) { in enqueueDispatchEntryLocked()
2081 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER) { in enqueueDispatchEntryLocked()
2097 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_OBSCURED) { in enqueueDispatchEntryLocked()
2100 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED) { in enqueueDispatchEntryLocked()
2202 && !(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) { in startDispatchCycleLocked()
2220 if (dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS) { in startDispatchCycleLocked()
2469 InputTarget target; in synthesizeCancelationEventsForConnectionLocked()
2485 target.flags = InputTarget::FLAG_DISPATCH_AS_IS; in synthesizeCancelationEventsForConnectionLocked()
2488 &target, InputTarget::FLAG_DISPATCH_AS_IS); in synthesizeCancelationEventsForConnectionLocked()
3509 & (InputTarget::FLAG_FOREGROUND in transferTouchFocus()
3510 | InputTarget::FLAG_SPLIT | InputTarget::FLAG_DISPATCH_AS_IS); in transferTouchFocus()
5124 if (targetFlags & InputTarget::FLAG_SPLIT) { in addOrUpdateWindow()
5132 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) { in addOrUpdateWindow()
5133 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS; in addOrUpdateWindow()
5186 if (window.targetFlags & (InputTarget::FLAG_DISPATCH_AS_IS in filterNonAsIsTouchWindows()
5187 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) { in filterNonAsIsTouchWindows()
5188 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK; in filterNonAsIsTouchWindows()
5189 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS; in filterNonAsIsTouchWindows()
5205 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in getFirstForegroundWindowHandle()
5216 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in isSlippery()