Home
last modified time | relevance | path

Searched refs:physicalPort (Results 1 – 13 of 13) 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.h66 std::optional<uint8_t> physicalPort; member
84 physicalPort(std::nullopt), in DisplayViewport()
95 physicalPort == other.physicalPort && type == other.type;
121 physicalPort = std::nullopt; in setNonDisplayViewport()
132 physicalPort ? ftl::to_string(*physicalPort).c_str() : "<none>", in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp44 jfieldID physicalPort; member
75 viewport->physicalPort = std::nullopt; in android_hardware_display_DisplayViewport_toNative()
76 jobject physicalPort = env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalPort); in android_hardware_display_DisplayViewport_toNative() local
77 if (physicalPort != nullptr) { in android_hardware_display_DisplayViewport_toNative()
78 viewport->physicalPort = std::make_optional(env->CallByteMethod(physicalPort, byteValue)); in android_hardware_display_DisplayViewport_toNative()
131 gDisplayViewportClassInfo.physicalPort = GetFieldIDOrDie(env, gDisplayViewportClassInfo.clazz, in register_android_hardware_display_DisplayViewport()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp87 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort() local
88 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp82 std::optional<uint8_t> physicalPort, in addDisplayViewport() argument
100 v.physicalPort = physicalPort; in addDisplayViewport()
DUinputDevice.cpp174 UinputTouchScreen::UinputTouchScreen(const Rect& size, const std::string& physicalPort) in UinputTouchScreen() argument
178 mPhysicalPort(physicalPort) {}
DFakeInputReaderPolicy.h54 std::optional<uint8_t> physicalPort, ViewportType type);
DInputMapperTest.cpp161 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument
164 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
DInputMapperTest.h121 std::optional<uint8_t> physicalPort,
DUinputDevice.h217 explicit UinputTouchScreen(const Rect& size, const std::string& physicalPort = "");
DInputReader_test.cpp1574 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument
1577 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java375 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked()
377 viewport.physicalPort = null; in populateViewportLocked()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h261 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;