Home
last modified time | relevance | path

Searched defs:SpriteIcon (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/input/
DSpriteIcon.h29 struct SpriteIcon { struct
31 explicit SpriteIcon(const graphics::Bitmap& bitmap, PointerIconStyle style, float hotSpotX, in SpriteIcon() function
45 inline bool isValid() const { return bitmap.isValid() && !bitmap.isEmpty(); } in isValid()
47 inline int32_t width() const { return bitmap.getInfo().width; } in width()
48 inline int32_t height() const { return bitmap.getInfo().height; } in height()
DPointerController.h199 void setCustomPointerIcon(const SpriteIcon&) override { in setCustomPointerIcon()
/frameworks/native/services/inputflinger/tests/
DFakePointerController.h27 struct SpriteIcon { struct
47 void setCustomPointerIcon(const SpriteIcon& icon) override; argument
/frameworks/native/services/inputflinger/
DPointerChoreographer.cpp77 void setIconForController(const std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle>& icon, in setIconForController()
771 std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, in setPointerIcon()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1335 std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, in setPointerIcon()