Loading services/inputflinger/dispatcher/InputDispatcher.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -2257,7 +2257,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( const bool anotherDeviceIsActive = oldActiveDevices.count(entry.deviceId) == 0 && !oldActiveDevices.empty(); switchedDevice |= anotherDeviceIsActive; switchedDevice |= oldState->source != entry.source; } const bool isHoverAction = (maskedAction == AMOTION_EVENT_ACTION_HOVER_MOVE || Loading Loading @@ -2287,7 +2286,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( if (newGesture) { // If a new gesture is starting, clear the touch state completely. tempTouchState.reset(); tempTouchState.source = entry.source; isSplit = false; } else if (switchedDevice && maskedAction == AMOTION_EVENT_ACTION_MOVE) { ALOGI("Dropping move event because a pointer for a different device is already active " Loading Loading @@ -2694,7 +2692,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( } if (maskedAction == AMOTION_EVENT_ACTION_HOVER_ENTER || maskedAction == AMOTION_EVENT_ACTION_HOVER_MOVE) { tempTouchState.source = entry.source; } } else if (maskedAction == AMOTION_EVENT_ACTION_UP) { // Pointer went up. Loading services/inputflinger/dispatcher/TouchState.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -277,7 +277,6 @@ void TouchState::removeAllPointersForDevice(int32_t removedDeviceId) { std::string TouchState::dump() const { std::string out; out += StringPrintf("source=%s\n", inputEventSourceToString(source).c_str()); if (!windows.empty()) { out += " Windows:\n"; for (size_t i = 0; i < windows.size(); i++) { Loading services/inputflinger/dispatcher/TouchState.h +0 −3 Original line number Diff line number Diff line Loading @@ -29,9 +29,6 @@ class WindowInfoHandle; namespace inputdispatcher { struct TouchState { // source of the device that is current down, others are rejected uint32_t source = 0; std::vector<TouchedWindow> windows; TouchState() = default; Loading Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -2257,7 +2257,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( const bool anotherDeviceIsActive = oldActiveDevices.count(entry.deviceId) == 0 && !oldActiveDevices.empty(); switchedDevice |= anotherDeviceIsActive; switchedDevice |= oldState->source != entry.source; } const bool isHoverAction = (maskedAction == AMOTION_EVENT_ACTION_HOVER_MOVE || Loading Loading @@ -2287,7 +2286,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( if (newGesture) { // If a new gesture is starting, clear the touch state completely. tempTouchState.reset(); tempTouchState.source = entry.source; isSplit = false; } else if (switchedDevice && maskedAction == AMOTION_EVENT_ACTION_MOVE) { ALOGI("Dropping move event because a pointer for a different device is already active " Loading Loading @@ -2694,7 +2692,6 @@ std::vector<InputTarget> InputDispatcher::findTouchedWindowTargetsLocked( } if (maskedAction == AMOTION_EVENT_ACTION_HOVER_ENTER || maskedAction == AMOTION_EVENT_ACTION_HOVER_MOVE) { tempTouchState.source = entry.source; } } else if (maskedAction == AMOTION_EVENT_ACTION_UP) { // Pointer went up. Loading
services/inputflinger/dispatcher/TouchState.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -277,7 +277,6 @@ void TouchState::removeAllPointersForDevice(int32_t removedDeviceId) { std::string TouchState::dump() const { std::string out; out += StringPrintf("source=%s\n", inputEventSourceToString(source).c_str()); if (!windows.empty()) { out += " Windows:\n"; for (size_t i = 0; i < windows.size(); i++) { Loading
services/inputflinger/dispatcher/TouchState.h +0 −3 Original line number Diff line number Diff line Loading @@ -29,9 +29,6 @@ class WindowInfoHandle; namespace inputdispatcher { struct TouchState { // source of the device that is current down, others are rejected uint32_t source = 0; std::vector<TouchedWindow> windows; TouchState() = default; Loading