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()
45 void InputTarget::addPointers(BitSet32 newPointerIds, float xOffset, float yOffset, in addPointers()
67 void InputTarget::setDefaultPointerInfo(float xOffset, float yOffset, float windowXScale, in setDefaultPointerInfo()
76 bool InputTarget::useDefaultPointerInfo() const { in useDefaultPointerInfo()
80 const PointerInfo& InputTarget::getDefaultPointerInfo() const { in getDefaultPointerInfo()
[all …]
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()
109 (InputTarget::FLAG_DISPATCH_AS_IS | InputTarget::FLAG_DISPATCH_AS_SLIPPERY_ENTER)) { in filterNonAsIsTouchWindows()
110 window.targetFlags &= ~InputTarget::FLAG_DISPATCH_MASK; in filterNonAsIsTouchWindows()
111 window.targetFlags |= InputTarget::FLAG_DISPATCH_AS_IS; in filterNonAsIsTouchWindows()
127 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in getFirstForegroundWindowHandle()
138 if (window.targetFlags & InputTarget::FLAG_FOREGROUND) { in isSlippery()
DInputDispatcher.cpp261 static std::unique_ptr<DispatchEntry> createDispatchEntry(const InputTarget& inputTarget, in createDispatchEntry()
840 InputTarget::FLAG_DISPATCH_AS_OUTSIDE, in findTouchedWindowAtLocked()
1103 InputTarget target; in dispatchFocusLocked()
1105 target.flags = InputTarget::FLAG_DISPATCH_AS_IS; in dispatchFocusLocked()
1194 std::vector<InputTarget> inputTargets; in dispatchKeyLocked()
1246 std::vector<InputTarget> inputTargets; in dispatchMotionLocked()
1339 const std::vector<InputTarget>& inputTargets) { in dispatchEventLocked()
1349 for (const InputTarget& inputTarget : inputTargets) { in dispatchEventLocked()
1449 std::vector<InputTarget>& inputTargets, in findFocusedWindowTargetsLocked()
1529 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, in findFocusedWindowTargetsLocked()
[all …]
DInputDispatcher.h339 const std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
394 std::vector<InputTarget>& inputTargets,
397 std::vector<InputTarget>& inputTargets,
407 BitSet32 pointerIds, std::vector<InputTarget>& inputTargets)
410 std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
411 void addGlobalMonitoringTargetsLocked(std::vector<InputTarget>& inputTargets, int32_t displayId,
428 EventEntry* eventEntry, const InputTarget& inputTarget)
431 EventEntry* eventEntry, const InputTarget& inputTarget)
434 const InputTarget& inputTarget, int32_t dispatchMode)
DInputTarget.h48 struct InputTarget { struct
DEntry.h216 inline bool hasForegroundTarget() const { return targetFlags & InputTarget::FLAG_FOREGROUND; } in hasForegroundTarget()
218 inline bool isSplit() const { return targetFlags & InputTarget::FLAG_SPLIT; } in isSplit()
DAndroid.bp32 "InputTarget.cpp",