Home
last modified time | relevance | path

Searched refs:InputTarget (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputTarget.cpp29 case InputTarget::FLAG_DISPATCH_AS_IS: in dispatchModeToString()
31 case InputTarget::FLAG_DISPATCH_AS_OUTSIDE: in dispatchModeToString()
33 case InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER: in dispatchModeToString()
35 case InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT: in dispatchModeToString()
37 case InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT: in dispatchModeToString()
39 case InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER: in dispatchModeToString()
DTouchState.cpp56 if (targetFlags & InputTarget::FLAG_SPLIT) { in addOrUpdateWindow()
64 if (targetFlags & InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT) { in addOrUpdateWindow()
65 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS; in addOrUpdateWindow()
118 (InputTarget::FLAG_DISPATCH_AS_IS | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) { in filterNonAsIsTouchWindows()
119 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK; in filterNonAsIsTouchWindows()
120 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS; in filterNonAsIsTouchWindows()
136 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in getFirstForegroundWindowHandle()
147 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in isSlippery()
DInputDispatcher.cpp524 InputTarget::FLAG_DISPATCH_AS_OUTSIDE, in findTouchedWindowAtLocked()
853 std::vector<InputTarget> inputTargets; in dispatchKeyLocked()
905 std::vector<InputTarget> inputTargets; in dispatchMotionLocked()
996 const std::vector<InputTarget>& inputTargets) { in dispatchEventLocked()
1006 for (const InputTarget& inputTarget : inputTargets) { in dispatchEventLocked()
1170 std::vector<InputTarget>& inputTargets, in findFocusedWindowTargetsLocked()
1221 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, in findFocusedWindowTargetsLocked()
1239 std::vector<InputTarget>& inputTargets, in findTouchedWindowTargetsLocked()
1355 int32_t targetFlags = InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS; in findTouchedWindowTargetsLocked()
1357 targetFlags |= InputTarget::FLAG_SPLIT; in findTouchedWindowTargetsLocked()
[all …]
DInputDispatcher.h290 const std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
328 std::vector<InputTarget>& inputTargets,
331 std::vector<InputTarget>& inputTargets,
342 BitSet32 pointerIds, std::vector<InputTarget>& inputTargets)
345 std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
346 void addGlobalMonitoringTargetsLocked(std::vector<InputTarget>& inputTargets, int32_t displayId,
368 EventEntry* eventEntry, const InputTarget* inputTarget)
371 EventEntry* eventEntry, const InputTarget* inputTarget)
374 const InputTarget* inputTarget, int32_t dispatchMode)
DInputTarget.h32 struct InputTarget { struct
DEntry.h170 inline bool hasForegroundTarget() const { return targetFlags & InputTarget::FLAG_FOREGROUND; } in hasForegroundTarget()
172 inline bool isSplit() const { return targetFlags & InputTarget::FLAG_SPLIT; } in isSplit()
DAndroid.bp26 "InputTarget.cpp",