Home
last modified time | relevance | path

Searched refs:SpriteIcon (Results 1 – 15 of 15) 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,
66 void loadPointerIconForType(SpriteIcon* icon, int32_t cursorType);
74 void MockPointerControllerPolicyInterface::loadPointerIcon(SpriteIcon* icon, int32_t) { in loadPointerIcon()
88 std::map<int32_t, SpriteIcon>* outResources, in loadAdditionalMouseResources()
91 SpriteIcon icon; in loadAdditionalMouseResources()
126 void MockPointerControllerPolicyInterface::loadPointerIconForType(SpriteIcon* icon, int32_t type) { in loadPointerIconForType()
210 Field(&SpriteIcon::style, CURSOR_TYPE_DEFAULT), in TEST_F()
211 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
212 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
[all …]
/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 graphics::Bitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) in SpriteIcon() argument
38 inline SpriteIcon copy() const { in copy() argument
39 return SpriteIcon(bitmap.copy(ANDROID_BITMAP_FORMAT_RGBA_8888), style, hotSpotX, hotSpotY); in copy()
DPointerControllerContext.h45 SpriteIcon spotHover;
46 SpriteIcon spotTouch;
47 SpriteIcon spotAnchor;
51 std::vector<SpriteIcon> animationFrames;
75 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId) = 0;
78 std::map<int32_t, SpriteIcon>* outResources,
DMouseCursorController.h58 void setCustomPointerIcon(const SpriteIcon& icon);
86 SpriteIcon pointerIcon;
91 std::map<int32_t, SpriteIcon> additionalMouseResources;
DSpriteController.h75 virtual void setIcon(const SpriteIcon& icon) = 0;
78 setIcon(SpriteIcon()); in clearIcon()
163 SpriteIcon icon;
197 virtual void setIcon(const SpriteIcon& icon);
DTouchSpotController.h60 void updateSprite(const SpriteIcon* icon, float x, float y, int32_t displayId);
63 const SpriteIcon* mLastIcon;
DSpriteIcon.cpp27 bool SpriteIcon::draw(sp<Surface> surface) const { in draw()
DTouchSpotController.cpp41 void TouchSpotController::Spot::updateSprite(const SpriteIcon* icon, float x, float y, in updateSprite()
101 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
DAndroid.bp32 "SpriteIcon.cpp",
DPointerController.h69 void setCustomPointerIcon(const SpriteIcon& icon);
DMouseCursorController.cpp305 void MouseCursorController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
389 std::map<int32_t, SpriteIcon>::const_iterator iter = in updatePointerLocked()
DPointerController.cpp272 void PointerController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
DSpriteController.cpp366 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.cpp221 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon()
233 SpriteIcon* outSpriteIcon) { in loadSystemIconAsSprite()
289 void setCustomPointerIcon(const SpriteIcon& icon);
341 virtual void loadPointerIcon(SpriteIcon* icon, int32_t displayId);
343 virtual void loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources,
1137 void NativeInputManager::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
1407 void NativeInputManager::loadPointerIcon(SpriteIcon* icon, int32_t displayId) { in loadPointerIcon()
1424 *icon = SpriteIcon( in loadPointerIcon()
1427 *icon = SpriteIcon(); in loadPointerIcon()
1446 void NativeInputManager::loadAdditionalMouseResources(std::map<int32_t, SpriteIcon>* outResources, in loadAdditionalMouseResources()
[all …]