Lines Matching refs:InputTarget
833 Vector<InputTarget> inputTargets; in dispatchKeyLocked()
883 Vector<InputTarget> inputTargets; in dispatchMotionLocked()
959 EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) { in dispatchEventLocked()
969 const InputTarget& inputTarget = inputTargets.itemAt(i); in dispatchEventLocked()
1110 const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) { in findFocusedWindowTargetsLocked()
1149 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0), in findFocusedWindowTargetsLocked()
1167 const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, in findTouchedWindowTargetsLocked()
1271 windowHandle, InputTarget::FLAG_DISPATCH_AS_OUTSIDE, BitSet32(0)); in findTouchedWindowTargetsLocked()
1299 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS; in findTouchedWindowTargetsLocked()
1301 targetFlags |= InputTarget::FLAG_SPLIT; in findTouchedWindowTargetsLocked()
1304 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED; in findTouchedWindowTargetsLocked()
1306 targetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED; in findTouchedWindowTargetsLocked()
1356 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1363 int32_t targetFlags = InputTarget::FLAG_FOREGROUND in findTouchedWindowTargetsLocked()
1364 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER; in findTouchedWindowTargetsLocked()
1366 targetFlags |= InputTarget::FLAG_SPLIT; in findTouchedWindowTargetsLocked()
1369 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED; in findTouchedWindowTargetsLocked()
1389 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1399 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0)); in findTouchedWindowTargetsLocked()
1409 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1439 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) { in findTouchedWindowTargetsLocked()
1443 InputTarget::FLAG_ZERO_COORDS, BitSet32(0)); in findTouchedWindowTargetsLocked()
1452 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1481 InputTarget::FLAG_WINDOW_IS_OBSCURED in findTouchedWindowTargetsLocked()
1482 | InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED in findTouchedWindowTargetsLocked()
1483 | InputTarget::FLAG_DISPATCH_AS_IS, in findTouchedWindowTargetsLocked()
1558 if (touchedWindow.targetFlags & InputTarget::FLAG_SPLIT) { in findTouchedWindowTargetsLocked()
1609 int32_t targetFlags, BitSet32 pointerIds, Vector<InputTarget>& inputTargets) { in addWindowTargetLocked()
1613 InputTarget& target = inputTargets.editTop(); in addWindowTargetLocked()
1622 void InputDispatcher::addMonitoringTargetsLocked(Vector<InputTarget>& inputTargets) { in addMonitoringTargetsLocked()
1626 InputTarget& target = inputTargets.editTop(); in addMonitoringTargetsLocked()
1628 target.flags = InputTarget::FLAG_DISPATCH_AS_IS; in addMonitoringTargetsLocked()
1838 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1859 if (inputTarget->flags & InputTarget::FLAG_SPLIT) { in prepareDispatchCycleLocked()
1886 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
1891 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT); in enqueueDispatchEntriesLocked()
1893 InputTarget::FLAG_DISPATCH_AS_OUTSIDE); in enqueueDispatchEntriesLocked()
1895 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER); in enqueueDispatchEntriesLocked()
1897 InputTarget::FLAG_DISPATCH_AS_IS); in enqueueDispatchEntriesLocked()
1899 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT); in enqueueDispatchEntriesLocked()
1901 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER); in enqueueDispatchEntriesLocked()
1910 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
1916 inputTargetFlags = (inputTargetFlags & ~InputTarget::FLAG_DISPATCH_MASK) | dispatchMode; in enqueueDispatchEntryLocked()
1945 if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) { in enqueueDispatchEntryLocked()
1947 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT) { in enqueueDispatchEntryLocked()
1949 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER) { in enqueueDispatchEntryLocked()
1951 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) { in enqueueDispatchEntryLocked()
1953 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER) { in enqueueDispatchEntryLocked()
1969 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_OBSCURED) { in enqueueDispatchEntryLocked()
1972 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED) { in enqueueDispatchEntryLocked()
2037 && !(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) { in startDispatchCycleLocked()
2053 if (dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS) { in startDispatchCycleLocked()
2292 InputTarget target; in synthesizeCancelationEventsForConnectionLocked()
2305 target.flags = InputTarget::FLAG_DISPATCH_AS_IS; in synthesizeCancelationEventsForConnectionLocked()
2308 &target, InputTarget::FLAG_DISPATCH_AS_IS); in synthesizeCancelationEventsForConnectionLocked()
3137 & (InputTarget::FLAG_FOREGROUND in transferTouchFocus()
3138 | InputTarget::FLAG_SPLIT | InputTarget::FLAG_DISPATCH_AS_IS); in transferTouchFocus()
4539 if (targetFlags & InputTarget::FLAG_SPLIT) { in addOrUpdateWindow()
4547 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) { in addOrUpdateWindow()
4548 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS; in addOrUpdateWindow()
4575 if (window.targetFlags & (InputTarget::FLAG_DISPATCH_AS_IS in filterNonAsIsTouchWindows()
4576 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) { in filterNonAsIsTouchWindows()
4577 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK; in filterNonAsIsTouchWindows()
4578 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS; in filterNonAsIsTouchWindows()
4589 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in getFirstForegroundWindowHandle()
4601 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in isSlippery()