Lines Matching refs:InputTarget
789 Vector<InputTarget> inputTargets;
839 Vector<InputTarget> inputTargets;
911 EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) {
921 const InputTarget& inputTarget = inputTargets.itemAt(i);
923 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
926 prepareDispatchCycleLocked(currentTime, connection, eventEntry, &inputTarget);
931 inputTarget.inputChannel->getName().string());
1055 const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) {
1101 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0),
1119 const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime,
1242 int32_t outsideTargetFlags = InputTarget::FLAG_DISPATCH_AS_OUTSIDE;
1244 outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1287 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS;
1289 targetFlags |= InputTarget::FLAG_SPLIT;
1292 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1342 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0));
1349 int32_t targetFlags = InputTarget::FLAG_FOREGROUND
1350 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER;
1352 targetFlags |= InputTarget::FLAG_SPLIT;
1355 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1375 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0));
1385 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0));
1395 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1425 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
1429 InputTarget::FLAG_ZERO_COORDS, BitSet32(0));
1438 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1475 InputTarget::FLAG_WINDOW_IS_OBSCURED
1476 | InputTarget::FLAG_DISPATCH_AS_IS,
1552 if (touchedWindow.targetFlags & InputTarget::FLAG_SPLIT) {
1595 int32_t targetFlags, BitSet32 pointerIds, Vector<InputTarget>& inputTargets) {
1599 InputTarget& target = inputTargets.editTop();
1608 InputTarget>& inputTargets) {
1612 InputTarget& target = inputTargets.editTop();
1614 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
1770 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1775 connection->getInputChannelName(), inputTarget->flags,
1776 inputTarget->xOffset, inputTarget->yOffset,
1777 inputTarget->scaleFactor, inputTarget->pointerIds.value);
1791 if (inputTarget->flags & InputTarget::FLAG_SPLIT) {
1795 if (inputTarget->pointerIds.count() != originalMotionEntry->pointerCount) {
1797 originalMotionEntry, inputTarget->pointerIds);
1807 splitMotionEntry, inputTarget);
1814 enqueueDispatchEntriesLocked(currentTime, connection, eventEntry, inputTarget);
1818 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1822 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1823 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT);
1824 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1825 InputTarget::FLAG_DISPATCH_AS_OUTSIDE);
1826 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1827 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER);
1828 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1829 InputTarget::FLAG_DISPATCH_AS_IS);
1830 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1831 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT);
1832 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1833 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER);
1842 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1844 int32_t inputTargetFlags = inputTarget->flags;
1848 inputTargetFlags = (inputTargetFlags & ~InputTarget::FLAG_DISPATCH_MASK) | dispatchMode;
1853 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset,
1854 inputTarget->scaleFactor);
1877 if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
1879 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT) {
1881 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER) {
1883 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
1885 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER) {
1901 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_OBSCURED) {
1966 && !(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) {
1983 if (dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS) {
2214 InputTarget target;
2227 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
2230 &target, InputTarget::FLAG_DISPATCH_AS_IS);
3015 & (InputTarget::FLAG_FOREGROUND
3016 | InputTarget::FLAG_SPLIT | InputTarget::FLAG_DISPATCH_AS_IS);
4381 if (targetFlags & InputTarget::FLAG_SPLIT) {
4389 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
4390 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS;
4417 if (window.targetFlags & (InputTarget::FLAG_DISPATCH_AS_IS
4418 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) {
4419 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK;
4420 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS;
4431 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {
4443 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {