Searched refs:VirtualTouchscreen (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 281 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/ |
D | VirtualTouchscreen.java | 36 public class VirtualTouchscreen extends VirtualInputDevice { class 38 public VirtualTouchscreen(VirtualTouchscreenConfig config, in VirtualTouchscreen() method in VirtualTouchscreen
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 82 class VirtualTouchscreen : public VirtualInputDevice { 86 VirtualTouchscreen(android::base::unique_fd fd); 87 virtual ~VirtualTouchscreen() override;
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDeviceInternal.java | 51 import android.hardware.input.VirtualTouchscreen; 313 VirtualTouchscreen createVirtualTouchscreen( in createVirtualTouchscreen() 319 return new VirtualTouchscreen(config, mVirtualDevice, token); in createVirtualTouchscreen()
|
D | VirtualDeviceManager.java | 61 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/ |
D | com_android_server_companion_virtual_InputController.cpp | 305 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/ |
D | system-current.txt | 3479 …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 {
|