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.h65 std::optional<uint8_t> physicalPort; member
83 physicalPort(std::nullopt), in DisplayViewport()
94 physicalPort == other.physicalPort && type == other.type;
118 physicalPort = std::nullopt; in setNonDisplayViewport()
130 physicalPort ? ftl::to_string(*physicalPort).c_str() : "<none>", in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp44 jfieldID physicalPort; member
76 viewport->physicalPort = std::nullopt; in android_hardware_display_DisplayViewport_toNative()
77 jobject physicalPort = env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalPort); in android_hardware_display_DisplayViewport_toNative() local
78 if (physicalPort != nullptr) { in android_hardware_display_DisplayViewport_toNative()
79 viewport->physicalPort = std::make_optional(env->CallByteMethod(physicalPort, byteValue)); in android_hardware_display_DisplayViewport_toNative()
132 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.cpp88 std::optional<uint8_t> physicalPort, in addDisplayViewport() argument
106 v.physicalPort = physicalPort; in addDisplayViewport()
DUinputDevice.cpp174 UinputTouchScreen::UinputTouchScreen(const Rect& size, const std::string& physicalPort) in UinputTouchScreen() argument
178 mPhysicalPort(physicalPort) {}
DFakeInputReaderPolicy.h53 std::optional<uint8_t> physicalPort, ViewportType type);
DInputMapperTest.cpp178 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument
181 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
DInputMapperTest.h133 std::optional<uint8_t> physicalPort,
DUinputDevice.h218 explicit UinputTouchScreen(const Rect& size, const std::string& physicalPort = "");
DInputReader_test.cpp1679 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument
1682 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java405 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked()
407 viewport.physicalPort = null; in populateViewportLocked()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h278 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;