Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DPointerController.h40 SpriteIcon spotHover;
41 SpriteIcon spotTouch;
42 SpriteIcon spotAnchor;
46 std::vector<SpriteIcon> animationFrames;
65 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId) = 0;
67 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
110 void setCustomPointerIcon(const SpriteIcon& icon);
136 void updateSprite(const SpriteIcon* icon, float x, float y, int32_t displayId);
139 const SpriteIcon* lastIcon;
173 SpriteIcon pointerIcon;
[all …]
DSpriteController.h57 struct SpriteIcon { struct
58 inline SpriteIcon() : hotSpotX(0), hotSpotY(0) { } in SpriteIcon() function
59 inline SpriteIcon(const SkBitmap& bitmap, float hotSpotX, float hotSpotY) : in SpriteIcon() function
66 inline SpriteIcon copy() const { in copy() argument
72 return SpriteIcon(bitmapCopy, hotSpotX, hotSpotY); in copy()
107 virtual void setIcon(const SpriteIcon& icon) = 0;
110 setIcon(SpriteIcon()); in clearIcon()
193 SpriteIcon icon;
227 virtual void setIcon(const SpriteIcon& icon);
DPointerController.cpp308 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
467 void PointerController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
657 std::map<int32_t, SpriteIcon>::const_iterator iter = in updatePointerLocked()
777 void PointerController::Spot::updateSprite(const SpriteIcon* icon, float x, float y, in updateSprite()
DSpriteController.cpp380 void SpriteController::SpriteImpl::setIcon(const SpriteIcon& icon) { in setIcon()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp159 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon()
175 SpriteIcon* outSpriteIcon) { in loadSystemIconAsSprite()
228 void setCustomPointerIcon(const SpriteIcon& icon);
270 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId);
272 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
971 void NativeInputManager::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
1238 void NativeInputManager::loadPointerIcon(SpriteIcon* icon, int32_t displayId) { in loadPointerIcon()
1255 *icon = SpriteIcon(pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in loadPointerIcon()
1257 *icon = SpriteIcon(); in loadPointerIcon()
1276 void NativeInputManager::loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources, in loadAdditionalMouseResources()
[all …]