Lines Matching refs:inputTarget
399 const InputTarget& inputTarget, in createDispatchEntry() argument
405 const sp<WindowInfoHandle> win = inputTarget.windowHandle; in createDispatchEntry()
412 if (inputTarget.useDefaultPointerTransform() && !zeroCoords) { in createDispatchEntry()
413 const ui::Transform& transform = inputTarget.getDefaultPointerTransform(); in createDispatchEntry()
415 inputTarget.displayTransform, in createDispatchEntry()
416 inputTarget.globalScaleFactor, uid, vsyncId, in createDispatchEntry()
434 &inputTarget.getTransformForPointer(firstMarkedBit(inputTarget.getPointerIds())); in createDispatchEntry()
436 displayTransform = &inputTarget.displayTransform; in createDispatchEntry()
442 const ui::Transform& currTransform = inputTarget.getTransformForPointer(pointerId); in createDispatchEntry()
476 inputTarget.globalScaleFactor, uid, vsyncId, windowId); in createDispatchEntry()
2159 for (const InputTarget& inputTarget : inputTargets) { in dispatchEventLocked() local
2160 std::shared_ptr<Connection> connection = inputTarget.connection; in dispatchEventLocked()
2161 prepareDispatchCycleLocked(currentTime, connection, eventEntry, inputTarget); in dispatchEventLocked()
2957 InputTarget inputTarget{connection}; in createInputTargetLocked() local
2958 inputTarget.windowHandle = windowHandle; in createInputTargetLocked()
2959 inputTarget.dispatchMode = dispatchMode; in createInputTargetLocked()
2960 inputTarget.flags = targetFlags; in createInputTargetLocked()
2961 inputTarget.globalScaleFactor = windowHandle->getInfo()->globalScaleFactor; in createInputTargetLocked()
2962 inputTarget.firstDownTimeInTarget = firstDownTimeInTarget; in createInputTargetLocked()
2965 inputTarget.displayTransform = displayInfoIt->second.transform; in createInputTargetLocked()
2970 return inputTarget; in createInputTargetLocked()
2980 [&windowHandle](const InputTarget& inputTarget) { in addWindowTargetLocked() argument
2981 return inputTarget.connection->getToken() == windowHandle->getToken(); in addWindowTargetLocked()
3020 [&windowHandle](const InputTarget& inputTarget) { in addPointerWindowTargetLocked() argument
3021 return inputTarget.connection->getToken() == windowHandle->getToken(); in addPointerWindowTargetLocked()
3352 const InputTarget& inputTarget) { in prepareDispatchCycleLocked() argument
3359 connection->getInputChannelName().c_str(), inputTarget.flags.string().c_str(), in prepareDispatchCycleLocked()
3360 inputTarget.globalScaleFactor, bitsetToString(inputTarget.getPointerIds()).c_str(), in prepareDispatchCycleLocked()
3361 inputTarget.getPointerInfoString().c_str()); in prepareDispatchCycleLocked()
3376 if (inputTarget.flags.test(InputTarget::Flags::SPLIT)) { in prepareDispatchCycleLocked()
3382 if (inputTarget.getPointerIds().count() != originalMotionEntry.getPointerCount()) { in prepareDispatchCycleLocked()
3383 if (!inputTarget.firstDownTimeInTarget.has_value()) { in prepareDispatchCycleLocked()
3391 splitMotionEvent(originalMotionEntry, inputTarget.getPointerIds(), in prepareDispatchCycleLocked()
3392 inputTarget.firstDownTimeInTarget.value()); in prepareDispatchCycleLocked()
3408 inputTarget); in prepareDispatchCycleLocked()
3415 inputTarget); in prepareDispatchCycleLocked()
3420 std::shared_ptr<const EventEntry> eventEntry, const InputTarget& inputTarget) { in enqueueDispatchEntryAndStartDispatchCycleLocked() argument
3428 enqueueDispatchEntryLocked(connection, eventEntry, inputTarget); in enqueueDispatchEntryAndStartDispatchCycleLocked()
3438 const InputTarget& inputTarget) { in enqueueDispatchEntryLocked() argument
3441 if (isKeyOrMotion && !inputTarget.windowHandle && !connection->monitor) { in enqueueDispatchEntryLocked()
3443 << inputTarget << " connection: " << connection->getInputChannelName() in enqueueDispatchEntryLocked()
3449 createDispatchEntry(mIdGenerator, inputTarget, eventEntry, inputTarget.flags, in enqueueDispatchEntryLocked()
3476 if (inputTarget.dispatchMode == InputTarget::DispatchMode::OUTSIDE) { in enqueueDispatchEntryLocked()
3478 } else if (inputTarget.dispatchMode == InputTarget::DispatchMode::HOVER_EXIT) { in enqueueDispatchEntryLocked()
3480 } else if (inputTarget.dispatchMode == InputTarget::DispatchMode::HOVER_ENTER) { in enqueueDispatchEntryLocked()
3482 } else if (inputTarget.dispatchMode == InputTarget::DispatchMode::SLIPPERY_EXIT) { in enqueueDispatchEntryLocked()
3484 } else if (inputTarget.dispatchMode == InputTarget::DispatchMode::SLIPPERY_ENTER) { in enqueueDispatchEntryLocked()
3585 createDispatchEntry(mIdGenerator, inputTarget, std::move(cancelEvent), in enqueueDispatchEntryLocked()
3607 inputTarget.connection->getToken()); in enqueueDispatchEntryLocked()
6431 const auto inputTarget = in doDispatchCycleFinishedCommand() local
6435 if (inputTarget.has_value()) { in doDispatchCycleFinishedCommand()
6437 *inputTarget); in doDispatchCycleFinishedCommand()