Home
last modified time | relevance | path

Searched refs:FloatPoint (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h27 struct FloatPoint { struct
31 inline FloatPoint(float x, float y) : x(x), y(y) {} in FloatPoint() argument
33 inline explicit FloatPoint(vec2 p) : x(p.x), y(p.y) {} in FloatPoint() function
86 virtual FloatPoint getPosition() const = 0;
DPointerChoreographerPolicyInterface.h57 const FloatPoint& position) = 0;
/frameworks/native/services/inputflinger/
DPointerChoreographer.h62 virtual FloatPoint getMouseCursorPosition(ui::LogicalDisplayId displayId) = 0;
99 FloatPoint getMouseCursorPosition(ui::LogicalDisplayId displayId) override;
121 std::tuple<ui::LogicalDisplayId /*displayId*/, FloatPoint /*cursorPosition*/>>;
DPointerChoreographer.cpp68 std::optional<std::tuple<ui::LogicalDisplayId, FloatPoint>> change, in notifyPointerDisplayChange()
659 FloatPoint cursorPosition = {0, 0}; in calculatePointerDisplayChangeToNotify()
730 FloatPoint PointerChoreographer::getMouseCursorPosition(ui::LogicalDisplayId displayId) { in getMouseCursorPosition()
/frameworks/base/libs/input/
DPointerController.h57 FloatPoint getPosition() const override;
178 FloatPoint getPosition() const override { in getPosition()
DMouseCursorController.h49 FloatPoint getPosition() const;
DPointerController.cpp166 FloatPoint PointerController::getPosition() const { in getPosition()
172 return FloatPoint{transform.inverse().transform(p.x, p.y)}; in getPosition()
DMouseCursorController.cpp114 FloatPoint MouseCursorController::getPosition() const { in getPosition()
/frameworks/native/services/inputflinger/tests/
DFakePointerController.h43 FloatPoint getPosition() const override;
DFakePointerController.cpp46 FloatPoint FakePointerController::getPosition() const { in getPosition()
DInterfaceMocks.h188 (ui::LogicalDisplayId displayId, const FloatPoint& position), (override));
DPointerChoreographer_test.cpp138 .WillByDefault([this](ui::LogicalDisplayId displayId, const FloatPoint& position) { in SetUp()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp309 FloatPoint getMouseCursorPosition(ui::LogicalDisplayId displayId);
384 const FloatPoint& position) override;
777 const FloatPoint& position) { in notifyPointerDisplayIdChanged()
1721 FloatPoint NativeInputManager::getMouseCursorPosition(ui::LogicalDisplayId displayId) { in getMouseCursorPosition()