Lines Matching full:inputtarget
1033 const InputTarget& inputTarget = mCurrentInputTargets.itemAt(i);
1035 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
1038 prepareDispatchCycleLocked(currentTime, connection, eventEntry, & inputTarget,
1044 inputTarget.inputChannel->getName().string());
1227 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0));
1363 int32_t outsideTargetFlags = InputTarget::FLAG_DISPATCH_AS_OUTSIDE;
1365 outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1418 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS;
1420 targetFlags |= InputTarget::FLAG_SPLIT;
1423 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1488 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0));
1495 int32_t targetFlags = InputTarget::FLAG_FOREGROUND
1496 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER;
1498 targetFlags |= InputTarget::FLAG_SPLIT;
1501 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1527 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0));
1537 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0));
1547 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1577 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
1581 InputTarget::FLAG_ZERO_COORDS, BitSet32(0));
1590 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1628 InputTarget::FLAG_WINDOW_IS_OBSCURED
1629 | InputTarget::FLAG_DISPATCH_AS_IS,
1704 if (touchedWindow.targetFlags & InputTarget::FLAG_SPLIT) {
1751 InputTarget& target = mCurrentInputTargets.editTop();
1764 InputTarget& target = mCurrentInputTargets.editTop();
1766 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
1874 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1881 connection->getInputChannelName(), inputTarget->flags,
1882 inputTarget->xOffset, inputTarget->yOffset,
1883 inputTarget->scaleFactor, inputTarget->pointerIds.value,
1888 bool isSplit = inputTarget->flags & InputTarget::FLAG_SPLIT;
1906 if (inputTarget->pointerIds.count() != originalMotionEntry->pointerCount) {
1908 originalMotionEntry, inputTarget->pointerIds);
1960 if ((motionEventDispatchEntry->targetFlags & InputTarget::FLAG_DISPATCH_MASK)
1961 != InputTarget::FLAG_DISPATCH_AS_IS) {
2023 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2024 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT);
2025 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2026 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_OUTSIDE);
2027 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2028 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER);
2029 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2030 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_IS);
2031 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2032 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT);
2033 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
2034 resumeWithAppendedMotionSample, InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER);
2044 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
2046 int32_t inputTargetFlags = inputTarget->flags;
2050 inputTargetFlags = (inputTargetFlags & ~InputTarget::FLAG_DISPATCH_MASK) | dispatchMode;
2055 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset,
2056 inputTarget->scaleFactor);
2095 if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
2097 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT) {
2099 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER) {
2101 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
2103 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER) {
2119 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_OBSCURED) {
2197 && !(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) {
2214 if (dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS) {
2246 if (!(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) {
2500 InputTarget target;
2513 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
2516 &target, false, InputTarget::FLAG_DISPATCH_AS_IS);
2853 const InputTarget& inputTarget = mCurrentInputTargets[i];
2854 if ((inputTarget.flags & InputTarget::FLAG_FOREGROUND) == 0) {
2860 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
3467 & (InputTarget::FLAG_FOREGROUND
3468 | InputTarget::FLAG_SPLIT | InputTarget::FLAG_DISPATCH_AS_IS);
4686 if (targetFlags & InputTarget::FLAG_SPLIT) {
4694 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
4695 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS;
4713 if (window.targetFlags & (InputTarget::FLAG_DISPATCH_AS_IS
4714 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) {
4715 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK;
4716 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS;
4727 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {
4739 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {