Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java80 public @Nullable Integer physicalPort; field in DisplayViewport
94 physicalPort = viewport.physicalPort; in copyFrom()
127 && Objects.equals(physicalPort, other.physicalPort) in equals()
144 if (physicalPort != null) { in hashCode()
145 result += prime * result + physicalPort.hashCode(); in hashCode()
159 + ", physicalPort=" + physicalPort in toString()
/frameworks/native/include/input/
DDisplayViewport.h69 std::optional<uint8_t> physicalPort; member
87 physicalPort(std::nullopt), in DisplayViewport()
98 physicalPort == other.physicalPort && type == other.type;
124 physicalPort = std::nullopt; in setNonDisplayViewport()
135 physicalPort ? StringPrintf("%" PRIu8, *physicalPort).c_str() in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp44 jfieldID physicalPort; member
74 viewport->physicalPort = std::nullopt; in android_hardware_display_DisplayViewport_toNative()
75 jobject physicalPort = env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalPort); in android_hardware_display_DisplayViewport_toNative() local
76 if (physicalPort != nullptr) { in android_hardware_display_DisplayViewport_toNative()
77 viewport->physicalPort = std::make_optional(env->CallByteMethod(physicalPort, byteValue)); in android_hardware_display_DisplayViewport_toNative()
130 gDisplayViewportClassInfo.physicalPort = GetFieldIDOrDie(env, gDisplayViewportClassInfo.clazz, in register_android_hardware_display_DisplayViewport()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp125 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort() local
126 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java286 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked()
288 viewport.physicalPort = null; in populateViewportLocked()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h311 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp242 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in addDisplayViewport() argument
245 physicalPort, viewportType); in addDisplayViewport()
320 std::optional<uint8_t> physicalPort, ViewportType type) { in createDisplayViewport() argument
338 v.physicalPort = physicalPort; in createDisplayViewport()
2264 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument
2267 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
2723 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument
2725 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()