Home
last modified time | relevance | path

Searched refs:PointerController (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/input/
DPointerController.cpp47 void PointerController::DisplayInfoListener::onWindowInfosChanged( in onWindowInfosChanged()
57 void PointerController::DisplayInfoListener::onPointerControllerDestroyed() { in onPointerControllerDestroyed()
64 std::shared_ptr<PointerController> PointerController::create( in create()
68 std::shared_ptr<PointerController> controller; in create()
71 controller = std::shared_ptr<PointerController>( in create()
75 controller = std::shared_ptr<PointerController>( in create()
79 controller = std::shared_ptr<PointerController>( in create()
102 PointerController::PointerController(const sp<PointerControllerPolicyInterface>& policy, in PointerController() function in android::PointerController
104 : PointerController( in PointerController()
117 PointerController::PointerController(const sp<PointerControllerPolicyInterface>& policy, in PointerController() function in android::PointerController
[all …]
DPointerController.h46 class PointerController : public PointerControllerInterface {
48 static std::shared_ptr<PointerController> create(
52 ~PointerController() override;
89 PointerController(const sp<PointerControllerPolicyInterface>& policy, const sp<Looper>& looper,
94 PointerController(const sp<PointerControllerPolicyInterface>& policy, const sp<Looper>& looper,
122 explicit DisplayInfoListener(PointerController* pc) : mPointerController(pc){}; in DisplayInfoListener()
130 PointerController* mPointerController GUARDED_BY(mLock);
142 class MousePointerController : public PointerController {
161 class TouchPointerController : public PointerController {
206 class StylusPointerController : public PointerController {
DPointerControllerContext.h37 class PointerController; variable
96 PointerController& controller);
108 void setHandlerController(std::shared_ptr<PointerController> controller);
109 void setCallbackController(std::shared_ptr<PointerController> controller);
127 std::weak_ptr<PointerController> pointerController;
133 std::weak_ptr<PointerController> pointerController;
171 PointerController& mController;
DPointerControllerContext.cpp35 SpriteController& spriteController, PointerController& controller) in PointerControllerContext()
83 void PointerControllerContext::setHandlerController(std::shared_ptr<PointerController> controller) { in setHandlerController()
88 std::shared_ptr<PointerController> controller) { in setCallbackController()
105 std::shared_ptr<PointerController> controller = pointerController.lock(); in handleMessage()
121 std::shared_ptr<PointerController> controller = pointerController.lock(); in handleEvent()
DAndroid.bp33 "PointerController.cpp",
/frameworks/base/libs/input/tests/
DPointerController_test.cpp144 class TestPointerController : public PointerController {
149 : PointerController( in TestPointerController()
184 std::shared_ptr<PointerController> mPointerController;
234 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
249 mPointerController->setPresentation(PointerController::Presentation::STYLUS_HOVER); in TEST_F()
250 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
264 mPointerController->setPresentation(PointerController::Presentation::POINTER); in TEST_F()
274 mPointerController->setPresentation(PointerController::Presentation::POINTER); in TEST_F()
276 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
291 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp420 std::list<std::weak_ptr<PointerController>> pointerControllers{};
466 void forEachPointerControllerLocked(std::function<void(PointerController&)> apply)
548 [&viewports](PointerController& pc) { pc.onDisplayViewportsUpdated(viewports); }); in setDisplayViewports()
732 std::function<void(PointerController&)> apply) { in forEachPointerControllerLocked()
770 std::shared_ptr<PointerController> pc = in createPointerController()
771 PointerController::create(this, mLooper, *mLocked.spriteController, type); in createPointerController()
1154 forEachPointerControllerLocked([lightsOut = mLocked.systemUiLightsOut](PointerController& pc) { in updateInactivityTimeoutLocked()
1331 forEachPointerControllerLocked([](PointerController& pc) { pc.reloadPointerResources(); }); in reloadPointerIcons()