Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:InputTarget

793     Vector<InputTarget> inputTargets;
843 Vector<InputTarget> inputTargets;
924 EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) {
934 const InputTarget& inputTarget = inputTargets.itemAt(i);
936 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
939 prepareDispatchCycleLocked(currentTime, connection, eventEntry, &inputTarget);
944 inputTarget.inputChannel->getName().string());
1075 const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) {
1114 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0),
1132 const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime,
1227 int32_t outsideTargetFlags = InputTarget::FLAG_DISPATCH_AS_OUTSIDE;
1229 outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1231 outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED;
1263 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS;
1265 targetFlags |= InputTarget::FLAG_SPLIT;
1268 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1270 targetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED;
1320 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0));
1327 int32_t targetFlags = InputTarget::FLAG_FOREGROUND
1328 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER;
1330 targetFlags |= InputTarget::FLAG_SPLIT;
1333 targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
1353 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0));
1363 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0));
1373 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1403 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
1407 InputTarget::FLAG_ZERO_COORDS, BitSet32(0));
1416 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) {
1445 InputTarget::FLAG_WINDOW_IS_OBSCURED
1446 | InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED
1447 | InputTarget::FLAG_DISPATCH_AS_IS,
1522 if (touchedWindow.targetFlags & InputTarget::FLAG_SPLIT) {
1573 int32_t targetFlags, BitSet32 pointerIds, Vector<InputTarget>& inputTargets) {
1577 InputTarget& target = inputTargets.editTop();
1586 void InputDispatcher::addMonitoringTargetsLocked(Vector<InputTarget>& inputTargets) {
1590 InputTarget& target = inputTargets.editTop();
1592 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
1802 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1807 connection->getInputChannelName(), inputTarget->flags,
1808 inputTarget->xOffset, inputTarget->yOffset,
1809 inputTarget->scaleFactor, inputTarget->pointerIds.value);
1823 if (inputTarget->flags & InputTarget::FLAG_SPLIT) {
1827 if (inputTarget->pointerIds.count() != originalMotionEntry->pointerCount) {
1829 originalMotionEntry, inputTarget->pointerIds);
1839 splitMotionEntry, inputTarget);
1846 enqueueDispatchEntriesLocked(currentTime, connection, eventEntry, inputTarget);
1850 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1854 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1855 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT);
1856 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1857 InputTarget::FLAG_DISPATCH_AS_OUTSIDE);
1858 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1859 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER);
1860 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1861 InputTarget::FLAG_DISPATCH_AS_IS);
1862 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1863 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT);
1864 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget,
1865 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER);
1874 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1876 int32_t inputTargetFlags = inputTarget->flags;
1880 inputTargetFlags = (inputTargetFlags & ~InputTarget::FLAG_DISPATCH_MASK) | dispatchMode;
1885 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset,
1886 inputTarget->scaleFactor);
1909 if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) {
1911 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT) {
1913 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER) {
1915 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
1917 } else if (dispatchMode & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER) {
1933 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_OBSCURED) {
1936 if (dispatchEntry->targetFlags & InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED) {
2001 && !(dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS)) {
2018 if (dispatchEntry->targetFlags & InputTarget::FLAG_ZERO_COORDS) {
2256 InputTarget target;
2269 target.flags = InputTarget::FLAG_DISPATCH_AS_IS;
2272 &target, InputTarget::FLAG_DISPATCH_AS_IS);
3076 & (InputTarget::FLAG_FOREGROUND
3077 | InputTarget::FLAG_SPLIT | InputTarget::FLAG_DISPATCH_AS_IS);
4477 if (targetFlags & InputTarget::FLAG_SPLIT) {
4485 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) {
4486 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS;
4513 if (window.targetFlags & (InputTarget::FLAG_DISPATCH_AS_IS
4514 | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) {
4515 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK;
4516 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS;
4527 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {
4539 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) {