Home
last modified time | relevance | path

Searched refs:associatedDisplayId (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/Input/src/android/hardware/input/
DInputManagerTest.kt88 associatedDisplayId: Int, in notifyDeviceChanged()
96 .thenReturn(createInputDevice(deviceId, associatedDisplayId, usiVersion, generation)) in notifyDeviceChanged()
105 associatedDisplayId: Int, in addInputDevice()
109 notifyDeviceChanged(deviceId, associatedDisplayId, usiVersion) in addInputDevice()
137 associatedDisplayId: Int, in createInputDevice()
145 .setAssociatedDisplayId(associatedDisplayId) in createInputDevice()
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp258 ui::LogicalDisplayId associatedDisplayId) { in getPointerViewportForAssociatedDisplay() argument
259 if (!associatedDisplayId.isValid()) { in getPointerViewportForAssociatedDisplay()
260 associatedDisplayId = mConfig.defaultPointerDisplayId; in getPointerViewportForAssociatedDisplay()
263 if (viewport.displayId == associatedDisplayId) { in getPointerViewportForAssociatedDisplay()
DFakeInputReaderPolicy.h80 ui::LogicalDisplayId associatedDisplayId) override;
DPointerChoreographer_test.cpp67 ui::LogicalDisplayId associatedDisplayId) { in generateTestDeviceInfo() argument
72 /*isExternal=*/false, /*hasMic=*/false, associatedDisplayId); in generateTestDeviceInfo()
/frameworks/native/services/inputflinger/
DPointerChoreographer.h61 ui::LogicalDisplayId associatedDisplayId = ui::LogicalDisplayId::INVALID) = 0;
98 ui::LogicalDisplayId associatedDisplayId) override;
126 ui::LogicalDisplayId getTargetMouseDisplayLocked(ui::LogicalDisplayId associatedDisplayId) const
129 ensureMouseControllerLocked(ui::LogicalDisplayId associatedDisplayId) REQUIRES(mLock);
DPointerChoreographer.cpp554 ui::LogicalDisplayId associatedDisplayId) const { in getTargetMouseDisplayLocked()
555 return associatedDisplayId.isValid() ? associatedDisplayId : mDefaultMouseDisplayId; in getTargetMouseDisplayLocked()
559 PointerChoreographer::ensureMouseControllerLocked(ui::LogicalDisplayId associatedDisplayId) { in ensureMouseControllerLocked() argument
560 const ui::LogicalDisplayId displayId = getTargetMouseDisplayLocked(associatedDisplayId); in ensureMouseControllerLocked()
721 ui::LogicalDisplayId associatedDisplayId) { in getViewportForPointerDevice() argument
723 const ui::LogicalDisplayId resolvedDisplayId = getTargetMouseDisplayLocked(associatedDisplayId); in getViewportForPointerDevice()
/frameworks/native/libs/input/
DInputDevice.cpp205 ui::LogicalDisplayId associatedDisplayId, in initialize() argument
216 mAssociatedDisplayId = associatedDisplayId; in initialize()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp892 std::optional<ui::LogicalDisplayId> associatedDisplayId = device->getAssociatedDisplayId(); in canDispatchToDisplay() local
894 if (!associatedDisplayId || !associatedDisplayId->isValid()) { in canDispatchToDisplay()
898 return *associatedDisplayId == displayId; in canDispatchToDisplay()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h478 ui::LogicalDisplayId associatedDisplayId = ui::LogicalDisplayId::INVALID) = 0;
/frameworks/native/include/input/
DInputDevice.h283 bool isExternal, bool hasMic, ui::LogicalDisplayId associatedDisplayId,
/frameworks/base/core/java/android/view/
DInputDevice.java506 int usiVersionMinor, int associatedDisplayId, boolean enabled) { in InputDevice() argument
536 mAssociatedDisplayId = associatedDisplayId; in InputDevice()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java655 WaitForDevice(String deviceName, int vendorId, int productId, int associatedDisplayId) { in WaitForDevice() argument
685 return device.getAssociatedDisplayId() == associatedDisplayId; in WaitForDevice()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h288 ui::LogicalDisplayId associatedDisplayId) override { in getPointerViewportForAssociatedDisplay() argument
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp328 ui::LogicalDisplayId associatedDisplayId) override;
1404 ui::LogicalDisplayId associatedDisplayId) { in getPointerViewportForAssociatedDisplay() argument
1405 return mInputManager->getChoreographer().getViewportForPointerDevice(associatedDisplayId); in getPointerViewportForAssociatedDisplay()