Home
last modified time | relevance | path

Searched refs:VirtualMouse (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/input/
DVirtualInputDevice.cpp240 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/
DVirtualMouse.java39 public class VirtualMouse extends VirtualInputDevice { class
42 public VirtualMouse(VirtualMouseConfig config, IVirtualDevice virtualDevice, IBinder token) { in VirtualMouse() method in VirtualMouse
/frameworks/native/include/input/
DVirtualInputDevice.h65 class VirtualMouse : public VirtualInputDevice {
69 VirtualMouse(android::base::unique_fd fd);
70 virtual ~VirtualMouse() override;
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp298 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/
DVirtualDeviceInternal.java45 import android.hardware.input.VirtualMouse;
301 VirtualMouse createVirtualMouse(@NonNull VirtualMouseConfig config) { in createVirtualMouse()
306 return new VirtualMouse(config, mVirtualDevice, token); in createVirtualMouse()
DVirtualDeviceManager.java55 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/
Dsystem-current.txt3475 …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 {