/frameworks/base/libs/input/tests/ |
D | PointerController_test.cpp | 55 virtual void loadPointerIcon(SpriteIcon* icon, ui::LogicalDisplayId displayId) override; 59 std::map<PointerIconStyle, SpriteIcon>* outResources, 70 void loadPointerIconForType(SpriteIcon* icon, int32_t cursorType); 77 void MockPointerControllerPolicyInterface::loadPointerIcon(SpriteIcon* icon, ui::LogicalDisplayId) { in loadPointerIcon() 91 std::map<PointerIconStyle, SpriteIcon>* outResources, in loadAdditionalMouseResources() 93 SpriteIcon icon; in loadAdditionalMouseResources() 137 void MockPointerControllerPolicyInterface::loadPointerIconForType(SpriteIcon* icon, int32_t type) { in loadPointerIconForType() 240 setIcon(AllOf(Field(&SpriteIcon::style, in TEST_F() 242 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 243 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F() [all …]
|
/frameworks/base/libs/input/ |
D | PointerControllerContext.h | 45 SpriteIcon spotHover; 46 SpriteIcon spotTouch; 47 SpriteIcon spotAnchor; 51 std::vector<SpriteIcon> animationFrames; 75 virtual void loadPointerIcon(SpriteIcon* icon, ui::LogicalDisplayId displayId) = 0; 79 std::map<PointerIconStyle, SpriteIcon>* outResources,
|
D | SpriteIcon.h | 29 struct SpriteIcon { struct 30 explicit SpriteIcon() = default; 31 explicit SpriteIcon(const graphics::Bitmap& bitmap, PointerIconStyle style, float hotSpotX, in SpriteIcon() function
|
D | MouseCursorController.h | 60 void setCustomPointerIcon(const SpriteIcon& icon); 89 SpriteIcon pointerIcon; 94 std::map<PointerIconStyle, SpriteIcon> additionalMouseResources;
|
D | SpriteController.h | 75 virtual void setIcon(const SpriteIcon& icon) = 0; 78 setIcon(SpriteIcon()); in clearIcon() 170 SpriteIcon icon; 205 virtual void setIcon(const SpriteIcon& icon);
|
D | TouchSpotController.h | 62 void updateSprite(const SpriteIcon* icon, float x, float y, ui::LogicalDisplayId displayId, 67 const SpriteIcon* mLastIcon;
|
D | SpriteIcon.cpp | 27 bool SpriteIcon::draw(sp<Surface> surface) const { in draw()
|
D | PointerController.h | 68 void setCustomPointerIcon(const SpriteIcon& icon) override; 199 void setCustomPointerIcon(const SpriteIcon&) override { in setCustomPointerIcon() argument
|
D | Android.bp | 38 "SpriteIcon.cpp",
|
D | TouchSpotController.cpp | 42 void TouchSpotController::Spot::updateSprite(const SpriteIcon* icon, float newX, float newY, in updateSprite() 110 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
|
D | MouseCursorController.cpp | 292 void MouseCursorController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon() 386 std::map<PointerIconStyle, SpriteIcon>::const_iterator iter = in updatePointerLocked()
|
D | PointerController.cpp | 284 void PointerController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
|
D | SpriteController.cpp | 401 void SpriteController::SpriteImpl::setIcon(const SpriteIcon& icon) { in setIcon()
|
/frameworks/native/services/inputflinger/include/ |
D | PointerControllerInterface.h | 25 struct SpriteIcon; 143 virtual void setCustomPointerIcon(const SpriteIcon& icon) = 0;
|
/frameworks/native/services/inputflinger/tests/ |
D | FakePointerController.h | 27 struct SpriteIcon { struct 47 void setCustomPointerIcon(const SpriteIcon& icon) override; argument
|
D | FakePointerController.cpp | 72 void FakePointerController::setCustomPointerIcon(const SpriteIcon& icon) { in setCustomPointerIcon()
|
D | PointerChoreographer_test.cpp | 1645 ASSERT_TRUE(mChoreographer.setPointerIcon(std::make_unique<SpriteIcon>( in TEST_F() 1651 ASSERT_FALSE(mChoreographer.setPointerIcon(std::make_unique<SpriteIcon>( in TEST_F() 1981 ASSERT_TRUE(mChoreographer.setPointerIcon(std::make_unique<SpriteIcon>( in TEST_P() 1987 ASSERT_FALSE(mChoreographer.setPointerIcon(std::make_unique<SpriteIcon>( in TEST_P()
|
/frameworks/base/libs/input/tests/mocks/ |
D | MockSprite.h | 30 MOCK_METHOD(void, setIcon, (const SpriteIcon& icon), (override));
|
/frameworks/native/services/inputflinger/ |
D | PointerChoreographer.h | 30 struct SpriteIcon; 70 virtual bool setPointerIcon(std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, 102 bool setPointerIcon(std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon,
|
D | PointerChoreographer.cpp | 77 void setIconForController(const std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle>& icon, in setIconForController() argument 79 if (std::holds_alternative<std::unique_ptr<SpriteIcon>>(icon)) { in setIconForController() 80 if (std::get<std::unique_ptr<SpriteIcon>>(icon) == nullptr) { in setIconForController() 83 controller.setCustomPointerIcon(*std::get<std::unique_ptr<SpriteIcon>>(icon)); in setIconForController() 771 std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, in setPointerIcon() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 233 static SpriteIcon toSpriteIcon(PointerIcon pointerIcon) { in toSpriteIcon() 239 return SpriteIcon(pointerIcon.bitmap, pointerIcon.style, pointerIcon.hotSpotX, in toSpriteIcon() 302 bool setPointerIcon(std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, 369 virtual void loadPointerIcon(SpriteIcon* icon, ui::LogicalDisplayId displayId); 373 std::map<PointerIconStyle, SpriteIcon>* outResources, 1335 std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon, in setPointerIcon() argument 1632 void NativeInputManager::loadPointerIcon(SpriteIcon* icon, ui::LogicalDisplayId displayId) { in loadPointerIcon() 1652 std::map<PointerIconStyle, SpriteIcon>* outResources, in loadAdditionalMouseResources() 2484 std::variant<std::unique_ptr<SpriteIcon>, PointerIconStyle> icon; in nativeSetPointerIcon() 2486 icon = std::make_unique<SpriteIcon>(pointerIcon.bitmap.copy( in nativeSetPointerIcon()
|