Searched refs:physicalPort (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 80 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/ |
D | DisplayViewport.h | 69 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/ |
D | android_hardware_display_DisplayViewport.cpp | 44 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/ |
D | InputReaderBase.cpp | 125 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/ |
D | DisplayDevice.java | 286 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked() 288 viewport.physicalPort = null; in populateViewportLocked()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 311 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 242 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()
|