Home
last modified time | relevance | path

Searched refs:mPointerController (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/input/tests/
DPointerController_test.cpp139 sp<PointerController> mPointerController; member in android::PointerControllerTest
163 mPointerController = new PointerController(mPolicy, mLooper, mSpriteController); in PointerControllerTest()
180 mPointerController->setDisplayViewport(viewport); in ensureDisplayViewportIsSet()
196 mPointerController->unfade(PointerController::TRANSITION_IMMEDIATE); in TEST_F()
206 mPointerController->reloadPointerResources(); in TEST_F()
211 mPointerController->unfade(PointerController::TRANSITION_IMMEDIATE); in TEST_F()
222 mPointerController->updatePointerIcon(type); in TEST_F()
227 mPointerController->unfade(PointerController::TRANSITION_IMMEDIATE); in TEST_F()
245 mPointerController->setCustomPointerIcon(icon); in TEST_F()
249 mPointerController->setPresentation(PointerController::PRESENTATION_POINTER); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp75 if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) { in populateDeviceInfo()
135 mPointerController = getContext()->getPointerController(getDeviceId()); in configure()
157 mPointerController->fade(PointerControllerInterface::TRANSITION_IMMEDIATE); in configure()
319 mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_POINTER); in sync()
322 mPointerController->move(deltaX, deltaY); in sync()
326 mPointerController->setButtonState(currentButtonState); in sync()
329 mPointerController->unfade(PointerControllerInterface::TRANSITION_IMMEDIATE); in sync()
332 mPointerController->getPosition(&xCursorPosition, &yCursorPosition); in sync()
337 displayId = mPointerController->getDisplayId(); in sync()
461 return std::make_optional(mPointerController->getDisplayId()); in getAssociatedDisplayId()
DTouchInputMapper.cpp764 if (mPointerController == nullptr) { in configureSurface()
765 mPointerController = getContext()->getPointerController(getDeviceId()); in configureSurface()
768 mPointerController.clear(); in configureSurface()
1385 if (mPointerController != nullptr) { in reset()
1386 mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL); in reset()
1387 mPointerController->clearSpots(); in reset()
1591 mPointerController != nullptr) { in cookAndDispatch()
1592 mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_SPOT); in cookAndDispatch()
1593 mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL); in cookAndDispatch()
1595 mPointerController->setButtonState(mCurrentRawState.buttonState); in cookAndDispatch()
[all …]
DCursorInputMapper.h109 sp<PointerControllerInterface> mPointerController; variable
DTouchInputMapper.h379 sp<PointerControllerInterface> mPointerController; variable
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp394 sp<PointerControllerInterface> controller = mPointerController.promote(); in getPointerControllerLocked()
397 mPointerController = controller; in getPointerControllerLocked()
404 sp<PointerControllerInterface> controller = mPointerController.promote(); in updatePointerDisplayLocked()
427 sp<PointerControllerInterface> controller = mPointerController.promote(); in fadePointerLocked()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h163 wp<PointerControllerInterface> mPointerController; variable
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp850 wp<PointerControllerInterface> mPointerController; member in android::FakeInputReaderContext
879 sp<PointerControllerInterface> controller = mPointerController.promote(); in updatePointerDisplay()
917 sp<PointerControllerInterface> controller = mPointerController.promote(); in getPointerController()
920 mPointerController = controller; in getPointerController()