/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadEvdev.cpp | 40 std::unique_ptr<VirtualTouchpadEvdev> touchpad(new VirtualTouchpadEvdev()); in Create() local 41 touchpad->Reset(); in Create() 42 return touchpad; in Create() 46 for (auto& touchpad : touchpad_) { in Reset() local 47 if (touchpad.injector) { in Reset() 48 touchpad.injector->Close(); in Reset() 50 touchpad.injector = nullptr; in Reset() 51 touchpad.owned_injector.reset(); in Reset() 52 touchpad.last_device_x = INT32_MIN; in Reset() 53 touchpad.last_device_y = INT32_MIN; in Reset() [all …]
|
D | DvrVirtualTouchpadClient.cpp | 33 int dvrVirtualTouchpadTouch(DvrVirtualTouchpad* client, int touchpad, float x, in dvrVirtualTouchpadTouch() argument 35 return FromC(client)->Touch(touchpad, x, y, pressure); in dvrVirtualTouchpadTouch() 38 int dvrVirtualTouchpadButtonState(DvrVirtualTouchpad* client, int touchpad, in dvrVirtualTouchpadButtonState() argument 40 return FromC(client)->ButtonState(touchpad, buttons); in dvrVirtualTouchpadButtonState() 43 int dvrVirtualTouchpadScroll(DvrVirtualTouchpad* client, int touchpad, float x, in dvrVirtualTouchpadScroll() argument 45 return FromC(client)->Scroll(touchpad, x, y); in dvrVirtualTouchpadScroll()
|
D | VirtualTouchpadClient.cpp | 49 status_t Touch(int touchpad, float x, float y, float pressure) override { in Touch() argument 53 return service_->touch(touchpad, x, y, pressure).transactionError(); in Touch() 56 status_t ButtonState(int touchpad, int buttons) override { in ButtonState() argument 60 return service_->buttonState(touchpad, buttons).transactionError(); in ButtonState() 63 status_t Scroll(int touchpad, float x, float y) override { in Scroll() argument 67 return service_->scroll(touchpad, x, y).transactionError(); in Scroll()
|
D | VirtualTouchpadService.h | 16 explicit VirtualTouchpadService(std::unique_ptr<VirtualTouchpad> touchpad) in VirtualTouchpadService() argument 17 : touchpad_(std::move(touchpad)), client_pid_(0) {} in VirtualTouchpadService() 24 binder::Status touch(int touchpad, float x, float y, float pressure) override; 25 binder::Status buttonState(int touchpad, int buttons) override; 26 binder::Status scroll(int touchpad, float x, float y) override;
|
D | VirtualTouchpadEvdev.h | 22 status_t Touch(int touchpad, float x, float y, float pressure) override; 23 status_t ButtonState(int touchpad, int buttons) override; 24 status_t Scroll(int touchpad, float x, float y) override; 34 inline void SetEvdevInjectorForTesting(int touchpad, in SetEvdevInjectorForTesting() argument 36 touchpad_[touchpad].injector = injector; in SetEvdevInjectorForTesting()
|
D | VirtualTouchpadService.cpp | 69 binder::Status VirtualTouchpadService::touch(int touchpad, float x, float y, in touch() argument 74 if (const status_t error = touchpad_->Touch(touchpad, x, y, pressure)) { in touch() 80 binder::Status VirtualTouchpadService::buttonState(int touchpad, int buttons) { in buttonState() argument 84 if (const status_t error = touchpad_->ButtonState(touchpad, buttons)) { in buttonState() 90 binder::Status VirtualTouchpadService::scroll(int touchpad, float x, float y) { in scroll() argument 94 if (const status_t error = touchpad_->Scroll(touchpad, x, y)) { in scroll()
|
/frameworks/native/services/vr/virtual_touchpad/tests/ |
D | VirtualTouchpad_test.cpp | 102 VirtualTouchpadForTesting* const touchpad = new VirtualTouchpadForTesting(); in New() local 103 touchpad->Reset(); in New() 105 touchpad->SetEvdevInjectorForTesting(t, &touchpad->injector[t]); in New() 107 return touchpad; in New() 118 std::unique_ptr<VirtualTouchpadForTesting> touchpad( in TEST_F() local 122 status_t touch_status = touchpad->Attach(); in TEST_F() 127 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() 129 uidev = touchpad->injector[t].GetUiDev(); in TEST_F() 146 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() 170 expect.Write(touchpad->injector[t].GetUiDev(), sizeof(uinput_user_dev)); in TEST_F() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/ |
D | IVirtualTouchpadService.aidl | 28 void touch(int touchpad, float x, float y, float pressure) = 2; in touch() argument 36 void buttonState(int touchpad, int buttons) = 3; in buttonState() argument 47 void scroll(int touchpad, float x, float y) = 4; in scroll() argument
|
/frameworks/native/services/vr/virtual_touchpad/include/dvr/ |
D | virtual_touchpad_client.h | 51 int dvrVirtualTouchpadTouch(DvrVirtualTouchpad* client, int touchpad, float x, 61 int dvrVirtualTouchpadButtonState(DvrVirtualTouchpad* client, int touchpad, 72 int dvrVirtualTouchpadScroll(DvrVirtualTouchpad* client, int touchpad, float x,
|
/frameworks/native/services/vr/virtual_touchpad/include/ |
D | VirtualTouchpad.h | 51 virtual status_t Touch(int touchpad, float x, float y, float pressure) = 0; 62 virtual status_t ButtonState(int touchpad, int buttons) = 0; 72 virtual status_t Scroll(int touchpad, float x, float y) = 0;
|
/frameworks/base/data/keyboards/ |
D | Vendor_054c_Product_05c4_Version_8111.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_09cc_Version_8111.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_05c4_Version_8000.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_0ba0_Version_8111.kl | 66 # In kernel versions >= 4.10, the touchpad is a separate input device, 67 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_09cc_Version_8000.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_09cc_Version_8100.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_05c4_Version_8100.kl | 67 # In kernel versions >= 4.10, the touchpad is a separate input device, 68 # so the touchpad button click will not be covered by this layout.
|
D | Vendor_054c_Product_05c4.kl | 67 # The touchpad for this joystick will become a separate input device in future releases
|
D | Vendor_054c_Product_0ba0.kl | 67 # The touchpad for this joystick will become a separate input device in future releases
|
D | Vendor_054c_Product_09cc.kl | 67 # The touchpad for this joystick will become a separate input device in future releases
|
/frameworks/native/services/vr/virtual_touchpad/idc/ |
D | vr-virtual-touchpad-0.idc | 16 # Virtual touchpad for the primary display
|
D | vr-virtual-touchpad-1.idc | 16 # Virtual touchpad for the VR virtual display
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_api.h | 302 int touchpad, float x, float y, 305 int touchpad, int buttons); 307 int touchpad, float x, float y);
|