Searched refs:physicalPort (Results 1 – 13 of 13) 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 | 65 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/ |
D | android_hardware_display_DisplayViewport.cpp | 44 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/ |
D | InputReaderBase.cpp | 87 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort() local 88 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeInputReaderPolicy.cpp | 88 std::optional<uint8_t> physicalPort, in addDisplayViewport() argument 106 v.physicalPort = physicalPort; in addDisplayViewport()
|
D | UinputDevice.cpp | 174 UinputTouchScreen::UinputTouchScreen(const Rect& size, const std::string& physicalPort) in UinputTouchScreen() argument 178 mPhysicalPort(physicalPort) {}
|
D | FakeInputReaderPolicy.h | 53 std::optional<uint8_t> physicalPort, ViewportType type);
|
D | InputMapperTest.cpp | 178 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument 181 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
|
D | InputMapperTest.h | 133 std::optional<uint8_t> physicalPort,
|
D | UinputDevice.h | 218 explicit UinputTouchScreen(const Rect& size, const std::string& physicalPort = "");
|
D | InputReader_test.cpp | 1679 std::optional<uint8_t> physicalPort, in setDisplayInfoAndReconfigure() argument 1682 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 405 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked() 407 viewport.physicalPort = null; in populateViewportLocked()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 278 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
|