Home
last modified time | relevance | path

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

12

/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/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/
DTouchpadTutorialActivity.kt17 package com.android.systemui.touchpad.tutorial.ui.view
30 import com.android.systemui.touchpad.tutorial.ui.BackGestureTutorialViewModel
31 import com.android.systemui.touchpad.tutorial.ui.GestureViewModelFactory
32 import com.android.systemui.touchpad.tutorial.ui.HomeGestureTutorialViewModel
33 import com.android.systemui.touchpad.tutorial.ui.Screen.BACK_GESTURE
34 import com.android.systemui.touchpad.tutorial.ui.Screen.HOME_GESTURE
35 import com.android.systemui.touchpad.tutorial.ui.Screen.TUTORIAL_SELECTION
36 import com.android.systemui.touchpad.tutorial.ui.TouchpadTutorialViewModel
/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/native/libs/input/
Dinput_flags.aconfig21 description: "Set to true to enable timer support for the touchpad Gestures library"
56 …description: "Enabling additional touchpad palm rejection will disable the tap to click while the …
63 …description: "In addition to touchpad palm rejection v1, v2 will also cancel ongoing move gestures…
99 …description: "Change the acceleration curves for mouse pointer movements to match the touchpad one…
121 description: "Enable fling scrolling to be stopped by putting a finger on the touchpad again"
/frameworks/base/data/keyboards/
DVendor_054c_Product_09cc.idc47 # actually moving smoothly across the touchpad, triggering the touchpad stack's
54 # Since this touchpad doesn't seem to have drumroll issues, we can safely
58 # Because of the way this touchpad is positioned, touches around the edges are
DVendor_054c_Product_05c4.idc47 # actually moving smoothly across the touchpad, triggering the touchpad stack's
54 # Since this touchpad doesn't seem to have to drumroll issues, we can safely
58 # Because of the way this touchpad is positioned, touches around the edges are
DVendor_03f6_Product_a001.idc19 # Reports from this touchpad sometimes get bunched together due to Bluetooth
21 # To fix this, set a fake delta using the touchpad's known report rate.
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_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_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_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_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_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_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.
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/
DGestureViewModelFactory.kt17 package com.android.systemui.touchpad.tutorial.ui
DTouchpadTutorialViewModel.kt17 package com.android.systemui.touchpad.tutorial.ui
/frameworks/native/services/inputflinger/docs/
Dpointer_capture.md10touchpad will be delivered with the source `SOURCE_TOUCHPAD`, and their `AXIS_X` and `AXIS_Y` will…
11 - Events from mouse and touchpad devices are dispatched to the focused `InputWindow`.

12