Home
last modified time | relevance | path

Searched refs:touchpad (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadEvdev.cpp40 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 …]
DDvrVirtualTouchpadClient.cpp33 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()
DVirtualTouchpadClient.cpp49 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()
DVirtualTouchpadService.h16 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;
DVirtualTouchpadEvdev.h22 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()
DVirtualTouchpadService.cpp69 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/
DVirtualTouchpad_test.cpp102 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/
DIVirtualTouchpadService.aidl28 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/
Dvirtual_touchpad_client.h51 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/
DVirtualTouchpad.h51 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/
DVendor_054c_Product_05c4_Version_8111.kl67 # 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.
DVendor_054c_Product_09cc_Version_8111.kl67 # 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.
DVendor_054c_Product_05c4_Version_8000.kl67 # 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.
DVendor_054c_Product_0ba0_Version_8111.kl66 # 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.
DVendor_054c_Product_09cc_Version_8000.kl67 # 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.
DVendor_054c_Product_09cc_Version_8100.kl67 # 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.
DVendor_054c_Product_05c4_Version_8100.kl67 # 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.
DVendor_054c_Product_05c4.kl67 # The touchpad for this joystick will become a separate input device in future releases
DVendor_054c_Product_0ba0.kl67 # The touchpad for this joystick will become a separate input device in future releases
DVendor_054c_Product_09cc.kl67 # The touchpad for this joystick will become a separate input device in future releases
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-0.idc16 # Virtual touchpad for the primary display
Dvr-virtual-touchpad-1.idc16 # Virtual touchpad for the VR virtual display
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_api.h302 int touchpad, float x, float y,
305 int touchpad, int buttons);
307 int touchpad, float x, float y);