Home
last modified time | relevance | path

Searched refs:displayPort (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java104 String displayPort = parser.getAttributeValue(null, "display"); in processInputPortAssociations() local
105 if (TextUtils.isEmpty(inputPort) || TextUtils.isEmpty(displayPort)) { in processInputPortAssociations()
111 Integer.parseUnsignedInt(displayPort); in processInputPortAssociations()
116 associations.add(new Pair<>(inputPort, displayPort)); in processInputPortAssociations()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp92 uint8_t displayPort) const { in getDisplayViewportByPort()
95 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp159 const auto& displayPort = ports.find(inputPort); in configure() local
160 if (displayPort != ports.end()) { in configure()
161 mAssociatedDisplayPort = std::make_optional(displayPort->second); in configure()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp494 uint8_t displayPort; in getReaderConfiguration() local
496 bool success = ParseUint(displayPortStr, &displayPort); in getReaderConfiguration()
502 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp567 const std::optional<uint8_t> displayPort = mDevice->getAssociatedDisplayPort(); in findViewport() local
568 if (displayPort) { in findViewport()
570 std::optional<DisplayViewport> v = mConfig.getDisplayViewportByPort(*displayPort); in findViewport()
574 getDeviceName().c_str(), *displayPort); in findViewport()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp192 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort()
193 return mConfig.getDisplayViewportByPort(displayPort); in getDisplayViewportByPort()
209 void addInputPortAssociation(const std::string& inputPort, uint8_t displayPort) { in addInputPortAssociation() argument
210 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()
960 const std::optional<uint8_t> displayPort = mDevice->getAssociatedDisplayPort(); in configure() local
961 if (displayPort && (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
962 mViewport = config->getDisplayViewportByPort(*displayPort); in configure()