Searched refs:VirtualMouse (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 240 const std::map<int, UinputAction> VirtualMouse::BUTTON_ACTION_MAPPING = { 246 const std::map<int, int> VirtualMouse::BUTTON_CODE_MAPPING = { 256 VirtualMouse::VirtualMouse(unique_fd fd) : VirtualInputDevice(std::move(fd)) {} in VirtualMouse() function in android::VirtualMouse 258 VirtualMouse::~VirtualMouse() {} in ~VirtualMouse() 260 bool VirtualMouse::writeButtonEvent(int32_t androidButtonCode, int32_t androidAction, in writeButtonEvent() 266 bool VirtualMouse::writeRelativeEvent(float relativeX, float relativeY, in writeRelativeEvent() 273 bool VirtualMouse::writeScrollEvent(float xAxisMovement, float yAxisMovement, in writeScrollEvent() 478 VirtualMouse::BUTTON_ACTION_MAPPING, eventTime); in writeButtonEvent()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualMouse.java | 39 public class VirtualMouse extends VirtualInputDevice { class 42 public VirtualMouse(VirtualMouseConfig config, IVirtualDevice virtualDevice, IBinder token) { in VirtualMouse() method in VirtualMouse
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 65 class VirtualMouse : public VirtualInputDevice { 69 VirtualMouse(android::base::unique_fd fd); 70 virtual ~VirtualMouse() override;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_companion_virtual_InputController.cpp | 298 return fd.ok() ? reinterpret_cast<jlong>(new VirtualMouse(std::move(fd))) : INVALID_PTR; in nativeOpenUinputMouse() 349 VirtualMouse* virtualMouse = reinterpret_cast<VirtualMouse*>(ptr); in nativeWriteButtonEvent() 356 VirtualMouse* virtualMouse = reinterpret_cast<VirtualMouse*>(ptr); in nativeWriteRelativeEvent() 363 VirtualMouse* virtualMouse = reinterpret_cast<VirtualMouse*>(ptr); in nativeWriteScrollEvent()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDeviceInternal.java | 45 import android.hardware.input.VirtualMouse; 301 VirtualMouse createVirtualMouse(@NonNull VirtualMouseConfig config) { in createVirtualMouse() 306 return new VirtualMouse(config, mVirtualDevice, token); in createVirtualMouse()
|
D | VirtualDeviceManager.java | 55 import android.hardware.input.VirtualMouse; 847 public VirtualMouse createVirtualMouse(@NonNull VirtualMouseConfig config) { in createVirtualMouse() 865 public VirtualMouse createVirtualMouse(@NonNull VirtualDisplay display, in createVirtualMouse()
|
/frameworks/base/core/api/ |
D | system-current.txt | 3475 …ifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMo… 3476 …ifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualMouse createVirtualMo… 5669 public class VirtualMouse implements java.io.Closeable {
|