Home
last modified time | relevance | path

Searched refs:CancelationOptions (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DCancelationOptions.h29 struct CancelationOptions { struct
58 explicit CancelationOptions(Mode mode, const char* reason, in CancelationOptions() argument
61 CancelationOptions(const CancelationOptions&) = delete;
62 CancelationOptions operator=(const CancelationOptions&) = delete; argument
DInputState.cpp413 nsecs_t currentTime, const CancelationOptions& options) { in synthesizeCancelationEvents()
600 bool InputState::shouldCancelKey(const KeyMemento& memento, const CancelationOptions& options) { in shouldCancelKey()
614 case CancelationOptions::Mode::CANCEL_ALL_EVENTS: in shouldCancelKey()
615 case CancelationOptions::Mode::CANCEL_NON_POINTER_EVENTS: in shouldCancelKey()
617 case CancelationOptions::Mode::CANCEL_FALLBACK_EVENTS: in shouldCancelKey()
625 const CancelationOptions& options) { in shouldCancelMotion()
635 case CancelationOptions::Mode::CANCEL_ALL_EVENTS: in shouldCancelMotion()
637 case CancelationOptions::Mode::CANCEL_POINTER_EVENTS: in shouldCancelMotion()
639 case CancelationOptions::Mode::CANCEL_NON_POINTER_EVENTS: in shouldCancelMotion()
DInputState.h65 nsecs_t currentTime, const CancelationOptions& options);
136 static bool shouldCancelKey(const KeyMemento& memento, const CancelationOptions& options);
137 static bool shouldCancelMotion(const MotionMemento& memento, const CancelationOptions& options);
DInputDispatcher.cpp866 CancelationOptions::Mode mode) { in expandCancellationMode()
868 case CancelationOptions::Mode::CANCEL_ALL_EVENTS: in expandCancellationMode()
870 case CancelationOptions::Mode::CANCEL_POINTER_EVENTS: in expandCancellationMode()
872 case CancelationOptions::Mode::CANCEL_NON_POINTER_EVENTS: in expandCancellationMode()
874 case CancelationOptions::Mode::CANCEL_FALLBACK_EVENTS: in expandCancellationMode()
1524 CancelationOptions options(CancelationOptions::Mode::CANCEL_NON_POINTER_EVENTS, reason, in dropInboundEventLocked()
1534 CancelationOptions options(CancelationOptions::Mode::CANCEL_POINTER_EVENTS, reason, in dropInboundEventLocked()
1540 CancelationOptions options(CancelationOptions::Mode::CANCEL_NON_POINTER_EVENTS, in dropInboundEventLocked()
1677 CancelationOptions options(CancelationOptions::Mode::CANCEL_ALL_EVENTS, "device was reset", in dispatchDeviceResetLocked()
2068 CancelationOptions::Mode mode( in dispatchMotionLocked()
[all …]
DInputDispatcher.h626 void synthesizeCancelationEventsForAllConnectionsLocked(const CancelationOptions& options)
628 void synthesizeCancelationEventsForMonitorsLocked(const CancelationOptions& options)
631 const CancelationOptions&,
638 const std::shared_ptr<Connection>& connection, const CancelationOptions& options,