Loading services/inputflinger/include/PointerControllerInterface.h +0 −4 Original line number Diff line number Diff line Loading @@ -72,10 +72,6 @@ public: /* Dumps the state of the pointer controller. */ virtual std::string dump() = 0; /* Gets the bounds of the region that the pointer can traverse. * Returns true if the bounds are available. */ virtual std::optional<FloatRect> getBounds() const = 0; /* Move the pointer. */ virtual void move(float deltaX, float deltaY) = 0; Loading services/inputflinger/tests/FakePointerController.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -148,12 +148,6 @@ bool FakePointerController::isPointerShown() { return mIsPointerShown; } std::optional<FloatRect> FakePointerController::getBounds() const { if (!mEnabled) return std::nullopt; return mHaveBounds ? std::make_optional<FloatRect>(mMinX, mMinY, mMaxX, mMaxY) : std::nullopt; } void FakePointerController::move(float deltaX, float deltaY) { if (!mEnabled) return; Loading services/inputflinger/tests/FakePointerController.h +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ public: private: std::string dump() override { return ""; } std::optional<FloatRect> getBounds() const override; void move(float deltaX, float deltaY) override; void unfade(Transition) override; void setPresentation(Presentation) override {} Loading Loading
services/inputflinger/include/PointerControllerInterface.h +0 −4 Original line number Diff line number Diff line Loading @@ -72,10 +72,6 @@ public: /* Dumps the state of the pointer controller. */ virtual std::string dump() = 0; /* Gets the bounds of the region that the pointer can traverse. * Returns true if the bounds are available. */ virtual std::optional<FloatRect> getBounds() const = 0; /* Move the pointer. */ virtual void move(float deltaX, float deltaY) = 0; Loading
services/inputflinger/tests/FakePointerController.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -148,12 +148,6 @@ bool FakePointerController::isPointerShown() { return mIsPointerShown; } std::optional<FloatRect> FakePointerController::getBounds() const { if (!mEnabled) return std::nullopt; return mHaveBounds ? std::make_optional<FloatRect>(mMinX, mMinY, mMaxX, mMaxY) : std::nullopt; } void FakePointerController::move(float deltaX, float deltaY) { if (!mEnabled) return; Loading
services/inputflinger/tests/FakePointerController.h +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ public: private: std::string dump() override { return ""; } std::optional<FloatRect> getBounds() const override; void move(float deltaX, float deltaY) override; void unfade(Transition) override; void setPresentation(Presentation) override {} Loading