diff options
author | 2024-09-09 19:53:06 +0000 | |
---|---|---|
committer | 2024-09-17 18:08:34 +0000 | |
commit | eb0c5075aaf373d0c008402ff61d48d8cb1e4efc (patch) | |
tree | 491dc392e7e8fec8bb417dab0f5d1645c3ba6ca2 /libs/input/PointerController.h | |
parent | d67b1f8337794d3aacfd12ecd5934f7a35731ef2 (diff) |
Use integer coordinates as the cursor starting point on a display
Ensure that the mouse cursor starts off with integer coordinates. Also,
remove the unused getBounds method.
Bug: 332973324
Test: atest PointerIconTest
Test: Presubmit
Flag: EXEMPT refactor
Change-Id: Ieb26e443d047b016980001ec51002d3d40d00e91
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r-- | libs/input/PointerController.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index 4d1e1d733cc1..ee8d1211341f 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -51,7 +51,6 @@ public: ~PointerController() override; - std::optional<FloatRect> getBounds() const override; void move(float deltaX, float deltaY) override; void setPosition(float x, float y) override; FloatPoint getPosition() const override; @@ -166,9 +165,6 @@ public: ~TouchPointerController() override; - std::optional<FloatRect> getBounds() const override { - LOG_ALWAYS_FATAL("Should not be called"); - } void move(float, float) override { LOG_ALWAYS_FATAL("Should not be called"); } |