Home
last modified time | relevance | path

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

/frameworks/base/libs/input/tests/
DPointerController_test.cpp53 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId) override;
55 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
64 void loadPointerIconForType(SpriteIcon* icon, int32_t cursorType);
71 void MockPointerControllerPolicyInterface::loadPointerIcon(SpriteIcon* icon, int32_t) { in loadPointerIcon()
85 std::map<int32_t, SpriteIcon>* outResources, in loadAdditionalMouseResources()
88 SpriteIcon icon; in loadAdditionalMouseResources()
123 void MockPointerControllerPolicyInterface::loadPointerIconForType(SpriteIcon* icon, int32_t type) { in loadPointerIconForType()
203 Field(&SpriteIcon::style, CURSOR_TYPE_DEFAULT), in TEST_F()
204 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
205 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
[all …]
/frameworks/base/libs/input/
DPointerController.h41 SpriteIcon spotHover;
42 SpriteIcon spotTouch;
43 SpriteIcon spotAnchor;
47 std::vector<SpriteIcon> animationFrames;
66 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId) = 0;
68 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
109 void setCustomPointerIcon(const SpriteIcon& icon);
139 void updateSprite(const SpriteIcon* icon, float x, float y, int32_t displayId);
142 const SpriteIcon* lastIcon;
188 SpriteIcon pointerIcon;
[all …]
DSpriteIcon.h28 struct SpriteIcon { struct
29 inline SpriteIcon() : style(0), hotSpotX(0), hotSpotY(0) { } in SpriteIcon() argument
30 inline SpriteIcon(const SkBitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) : in SpriteIcon() argument
38 inline SpriteIcon copy() const { in copy() argument
44 return SpriteIcon(bitmapCopy, style, hotSpotX, hotSpotY); in copy()
DSpriteController.h75 virtual void setIcon(const SpriteIcon& icon) = 0;
78 setIcon(SpriteIcon()); in clearIcon()
162 SpriteIcon icon;
196 virtual void setIcon(const SpriteIcon& icon);
DSpriteIcon.cpp29 bool SpriteIcon::draw(sp<Surface> surface) const { in draw()
DAndroid.bp20 "SpriteIcon.cpp",
DPointerController.cpp310 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
472 void PointerController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
674 std::map<int32_t, SpriteIcon>::const_iterator iter = in updatePointerLocked()
798 void PointerController::Spot::updateSprite(const SpriteIcon* icon, float x, float y, in updateSprite()
DSpriteController.cpp358 void SpriteController::SpriteImpl::setIcon(const SpriteIcon& icon) { in setIcon()
/frameworks/base/libs/input/tests/mocks/
DMockSprite.h30 MOCK_METHOD(void, setIcon, (const SpriteIcon& icon), (override));
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp159 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon()
176 SpriteIcon* outSpriteIcon) { in loadSystemIconAsSprite()
229 void setCustomPointerIcon(const SpriteIcon& icon);
272 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId);
274 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
945 void NativeInputManager::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
1212 void NativeInputManager::loadPointerIcon(SpriteIcon* icon, int32_t displayId) { in loadPointerIcon()
1229 *icon = SpriteIcon( in loadPointerIcon()
1232 *icon = SpriteIcon(); in loadPointerIcon()
1251 void NativeInputManager::loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources, in loadAdditionalMouseResources()
[all …]