Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVirtualInputDevice.cpp281 const std::map<int, UinputAction> VirtualTouchscreen::TOUCH_ACTION_MAPPING = {
289 const std::map<int, int> VirtualTouchscreen::TOOL_TYPE_MAPPING = {
294 VirtualTouchscreen::VirtualTouchscreen(unique_fd fd) : VirtualInputDevice(std::move(fd)) {} in VirtualTouchscreen() function in android::VirtualTouchscreen
296 VirtualTouchscreen::~VirtualTouchscreen() {} in ~VirtualTouchscreen()
298 bool VirtualTouchscreen::isValidPointerId(int32_t pointerId, UinputAction uinputAction) { in isValidPointerId()
318 bool VirtualTouchscreen::writeTouchEvent(int32_t pointerId, int32_t toolType, int32_t action, in writeTouchEvent()
365 bool VirtualTouchscreen::handleTouchUp(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchUp()
385 bool VirtualTouchscreen::handleTouchDown(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchDown()
426 auto actionIterator = VirtualTouchscreen::TOUCH_ACTION_MAPPING.find(action); in writeMotionEvent()
427 if (actionIterator == VirtualTouchscreen::TOUCH_ACTION_MAPPING.end()) { in writeMotionEvent()
/frameworks/base/core/java/android/hardware/input/
DVirtualTouchscreen.java36 public class VirtualTouchscreen extends VirtualInputDevice { class
38 public VirtualTouchscreen(VirtualTouchscreenConfig config, in VirtualTouchscreen() method in VirtualTouchscreen
/frameworks/native/include/input/
DVirtualInputDevice.h82 class VirtualTouchscreen : public VirtualInputDevice {
86 VirtualTouchscreen(android::base::unique_fd fd);
87 virtual ~VirtualTouchscreen() override;
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceInternal.java51 import android.hardware.input.VirtualTouchscreen;
313 VirtualTouchscreen createVirtualTouchscreen( in createVirtualTouchscreen()
319 return new VirtualTouchscreen(config, mVirtualDevice, token); in createVirtualTouchscreen()
DVirtualDeviceManager.java61 import android.hardware.input.VirtualTouchscreen;
884 public VirtualTouchscreen createVirtualTouchscreen( in createVirtualTouchscreen()
904 public VirtualTouchscreen createVirtualTouchscreen(@NonNull VirtualDisplay display, in createVirtualTouchscreen()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp305 return fd.ok() ? reinterpret_cast<jlong>(new VirtualTouchscreen(std::move(fd))) : INVALID_PTR; in nativeOpenUinputTouchscreen()
340 VirtualTouchscreen* virtualTouchscreen = reinterpret_cast<VirtualTouchscreen*>(ptr); in nativeWriteTouchEvent()
/frameworks/base/core/api/
Dsystem-current.txt3479 …st.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtua…
3480 …st.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualTouchscreen createVirtua…
5869 public class VirtualTouchscreen implements java.io.Closeable {