Searched refs:ViewportType (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/include/input/ |
D | DisplayViewport.h | 96 enum class ViewportType : int32_t { enum
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 405 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/ |
D | InputReader.cpp | 230 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 …]
|
D | InputReader.h | 195 bool getDisplayViewport(ViewportType viewportType, const String8* displayId, 197 void setPhysicalDisplayViewport(ViewportType viewportType, const DisplayViewport& viewport);
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 147 mConfig.setPhysicalDisplayViewport(ViewportType::VIEWPORT_INTERNAL, v); in setDisplayViewport() 148 mConfig.setPhysicalDisplayViewport(ViewportType::VIEWPORT_EXTERNAL, v); in setDisplayViewport()
|