Loading services/inputflinger/dispatcher/InputDispatcher.cpp +45 −45 Original line number Diff line number Diff line Loading @@ -2699,7 +2699,9 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( std::vector<EventEntry*> cancelationEvents = connection->inputState.synthesizeCancelationEvents(currentTime, options); if (!cancelationEvents.empty()) { if (cancelationEvents.empty()) { return; } #if DEBUG_OUTBOUND_EVENT_DETAILS ALOGD("channel '%s' ~ Synthesized %zu cancelation events to bring channel back in sync " "with reality: %s, mode=%d.", Loading @@ -2716,8 +2718,7 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( } case EventEntry::Type::MOTION: { logOutboundMotionDetails("cancel - ", static_cast<const MotionEntry&>( *cancelationEventEntry)); static_cast<const MotionEntry&>(*cancelationEventEntry)); break; } case EventEntry::Type::FOCUS: { Loading Loading @@ -2752,7 +2753,6 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( startDispatchCycleLocked(currentTime, connection); } } MotionEntry* InputDispatcher::splitMotionEvent(const MotionEntry& originalMotionEntry, BitSet32 pointerIds) { Loading Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +45 −45 Original line number Diff line number Diff line Loading @@ -2699,7 +2699,9 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( std::vector<EventEntry*> cancelationEvents = connection->inputState.synthesizeCancelationEvents(currentTime, options); if (!cancelationEvents.empty()) { if (cancelationEvents.empty()) { return; } #if DEBUG_OUTBOUND_EVENT_DETAILS ALOGD("channel '%s' ~ Synthesized %zu cancelation events to bring channel back in sync " "with reality: %s, mode=%d.", Loading @@ -2716,8 +2718,7 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( } case EventEntry::Type::MOTION: { logOutboundMotionDetails("cancel - ", static_cast<const MotionEntry&>( *cancelationEventEntry)); static_cast<const MotionEntry&>(*cancelationEventEntry)); break; } case EventEntry::Type::FOCUS: { Loading Loading @@ -2752,7 +2753,6 @@ void InputDispatcher::synthesizeCancelationEventsForConnectionLocked( startDispatchCycleLocked(currentTime, connection); } } MotionEntry* InputDispatcher::splitMotionEvent(const MotionEntry& originalMotionEntry, BitSet32 pointerIds) { Loading