Searched refs:physicalPort (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/include/input/ |
D | DisplayViewport.h | 73 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/ |
D | DisplayViewport.java | 76 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/ |
D | android_hardware_display_DisplayViewport.cpp | 43 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/ |
D | InputReaderBase.cpp | 94 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/ |
D | DisplayDevice.java | 241 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked() 243 viewport.physicalPort = null; in populateViewportLocked()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 276 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 189 const std::string& uniqueId, std::optional<uint8_t> physicalPort, in addDisplayViewport() argument 192 orientation, uniqueId, physicalPort, viewportType); in addDisplayViewport() 252 int32_t orientation, const std::string& uniqueId, std::optional<uint8_t> physicalPort, in createDisplayViewport() argument 270 v.physicalPort = physicalPort; in createDisplayViewport() 1829 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument 1831 displayId, width, height, orientation, uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
|