Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DDisplayViewport.h73 std::optional<uint8_t> physicalPort; member
80 deviceWidth(0), deviceHeight(0), uniqueId(), physicalPort(std::nullopt), in DisplayViewport()
98 && physicalPort == other.physicalPort
124 physicalPort = std::nullopt; in setNonDisplayViewport()
135 physicalPort ? StringPrintf("%" PRIu8, *physicalPort).c_str() : "<none>", in toString()
/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java76 public @Nullable Byte physicalPort; field in DisplayViewport
89 physicalPort = viewport.physicalPort; in copyFrom()
121 && physicalPort == other.physicalPort in equals()
137 result += prime * result + physicalPort; in hashCode()
149 + ", physicalPort=" + physicalPort in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp43 jfieldID physicalPort; member
72 viewport->physicalPort = std::nullopt; in android_hardware_display_DisplayViewport_toNative()
73 jobject physicalPort = env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalPort); in android_hardware_display_DisplayViewport_toNative() local
74 if (physicalPort != nullptr) { in android_hardware_display_DisplayViewport_toNative()
75 viewport->physicalPort = std::make_optional(env->CallByteMethod(physicalPort, byteValue)); in android_hardware_display_DisplayViewport_toNative()
125 gDisplayViewportClassInfo.physicalPort = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp94 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort() local
95 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java241 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked()
243 viewport.physicalPort = null; in populateViewportLocked()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h279 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp197 const std::string& uniqueId, std::optional<uint8_t> physicalPort, in addDisplayViewport() argument
200 orientation, uniqueId, physicalPort, viewportType); in addDisplayViewport()
264 int32_t orientation, const std::string& uniqueId, std::optional<uint8_t> physicalPort, in createDisplayViewport() argument
282 v.physicalPort = physicalPort; in createDisplayViewport()
1841 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument
1843 displayId, width, height, orientation, uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()