Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteIcon.h28 struct SpriteIcon { struct
29 inline SpriteIcon() : style(0), hotSpotX(0), hotSpotY(0) { } in SpriteIcon() function
30 inline SpriteIcon(const SkBitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) : in SpriteIcon() function
38 inline SpriteIcon copy() const { in copy() argument
47 inline void reset() { in reset()
54 inline bool isValid() const { return !bitmap.isNull() && !bitmap.empty(); } in isValid()
56 inline int32_t width() const { return bitmap.width(); } in width()
57 inline int32_t height() const { return bitmap.height(); } in height()