Home
last modified time | relevance | path

Searched refs:ViewportType (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/include/input/
DDisplayViewport.h96 enum class ViewportType : int32_t { enum
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp405 ViewportType viewportType = static_cast<ViewportType>(type); in setDisplayViewport()
407 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setDisplayViewport()
409 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
417 if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
510 outConfig->setPhysicalDisplayViewport(ViewportType::VIEWPORT_INTERNAL, in getReaderConfiguration()
512 outConfig->setPhysicalDisplayViewport(ViewportType::VIEWPORT_EXTERNAL, in getReaderConfiguration()
/frameworks/native/services/inputflinger/
DInputReader.cpp230 bool InputReaderConfiguration::getDisplayViewport(ViewportType viewportType, in getDisplayViewport()
233 if (viewportType == ViewportType::VIEWPORT_VIRTUAL && uniqueDisplayId != NULL) { in getDisplayViewport()
240 } else if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in getDisplayViewport()
242 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in getDisplayViewport()
253 void InputReaderConfiguration::setPhysicalDisplayViewport(ViewportType viewportType, in setPhysicalDisplayViewport()
255 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setPhysicalDisplayViewport()
257 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setPhysicalDisplayViewport()
2214 if (config->getDisplayViewport(ViewportType::VIEWPORT_INTERNAL, NULL, &v)) { in configure()
2587 if (config->getDisplayViewport(ViewportType::VIEWPORT_INTERNAL, NULL, &v)) { in configure()
3392 ViewportType viewportTypeToUse; in configureSurface()
[all …]
DInputReader.h195 bool getDisplayViewport(ViewportType viewportType, const String8* displayId,
197 void setPhysicalDisplayViewport(ViewportType viewportType, const DisplayViewport& viewport);
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp147 mConfig.setPhysicalDisplayViewport(ViewportType::VIEWPORT_INTERNAL, v); in setDisplayViewport()
148 mConfig.setPhysicalDisplayViewport(ViewportType::VIEWPORT_EXTERNAL, v); in setDisplayViewport()