Home
last modified time | relevance | path

Searched refs:device_label (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/libs/input_connector/
Dsocket_input_connector.cpp230 Result<void> SendTouchEvent(const std::string& device_label, int x, int y,
232 Result<void> SendMultiTouchEvent(const std::string& device_label,
261 const std::string& device_label, int x, int y, bool down) { in SendTouchEvent() argument
268 auto ts_it = input_devices_.touch_devices.find(device_label); in SendTouchEvent()
270 "Unknown touch device: " << device_label); in SendTouchEvent()
277 const std::string& device_label, const std::vector<MultitouchSlot>& slots, in SendMultiTouchEvent() argument
282 auto ts_it = input_devices_.multitouch_devices.find(device_label); in SendMultiTouchEvent()
285 CF_EXPECT(SendTouchEvent(device_label, slot.x, slot.y, down)); in SendMultiTouchEvent()
395 const std::string& device_label, SharedFD server) { in WithMultitouchDevice() argument
396 CHECK(connector_->devices_.multitouch_devices.find(device_label) == in WithMultitouchDevice()
[all …]
Dsocket_input_connector.h42 void WithMultitouchDevice(const std::string& device_label, SharedFD server);
43 void WithTouchDevice(const std::string& device_label, SharedFD server);
Dinput_connector.h45 const std::string& device_label,
/device/google/cuttlefish/host/frontend/webrtc/
Dconnection_observer.cpp81 Result<void> OnTouchEvent(const std::string &device_label, int x, int y, in OnTouchEvent() argument
83 CF_EXPECT(input_events_sink_->SendTouchEvent(device_label, x, y, down)); in OnTouchEvent()
87 Result<void> OnMultiTouchEvent(const std::string &device_label, in OnMultiTouchEvent() argument
98 input_events_sink_->SendMultiTouchEvent(device_label, slots, down)); in OnMultiTouchEvent()
Dmain.cpp140 auto device_label = fmt::format("{}{}", label_prefix, device_idx); in main() local
143 inputs_builder.WithMultitouchDevice(device_label, touch_shared_fd); in main()
145 inputs_builder.WithTouchDevice(device_label, touch_shared_fd); in main()
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dtouch.js80 const device_label = touchInputElement.id;
95 {idArr, xArr, yArr, down: down, device_label}); field
Dcf_webrtc.js291 sendMultiTouch({idArr, xArr, yArr, down, device_label}) { field
298 device_label: device_label, property
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dconnection_observer.h47 virtual Result<void> OnTouchEvent(const std::string& device_label, int x,