diff options
author | 2023-11-03 20:12:50 +0900 | |
---|---|---|
committer | 2023-12-04 21:42:08 +0000 | |
commit | 1a1571d994a0e6c754f46db1a63b09c8f76aa8eb (patch) | |
tree | f1d43ec1dc1f7d6304a3e602e2440e270ea0b49b /libs/input/PointerController.h | |
parent | c1ac283d9908e2d4881b9a1542bb12d2e46c7fa0 (diff) |
Add setPointerIcon for PointerChoreographer (base)
To set pointer icon for mouse or stylus, we are going to use
setPointerIcon with more parameters which will be useful for
multi-device experience and security.
Test: Manual
Bug: 293587049
Change-Id: I17bb047b0bfbff6cf3a129e4fa742ec489420faf
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r-- | libs/input/PointerController.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index fa07c3989720..a8b963367f4c 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -65,9 +65,9 @@ public: void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex, BitSet32 spotIdBits, int32_t displayId) override; void clearSpots() override; + void updatePointerIcon(PointerIconStyle iconId) override; + void setCustomPointerIcon(const SpriteIcon& icon) override; - void updatePointerIcon(PointerIconStyle iconId); - void setCustomPointerIcon(const SpriteIcon& icon); virtual void setInactivityTimeout(InactivityTimeout inactivityTimeout); void doInactivityTimeout(); void reloadPointerResources(); @@ -192,10 +192,10 @@ public: void setPresentation(Presentation) override { LOG_ALWAYS_FATAL("Should not be called"); } - void updatePointerIcon(PointerIconStyle) { + void updatePointerIcon(PointerIconStyle) override { LOG_ALWAYS_FATAL("Should not be called"); } - void setCustomPointerIcon(const SpriteIcon&) { + void setCustomPointerIcon(const SpriteIcon&) override { LOG_ALWAYS_FATAL("Should not be called"); } // fade() should not be called by inactivity timeout. Do nothing. |