Home
last modified time | relevance | path

Searched refs:single_touch_spec (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/src/
Dmain.rs1500 let mut single_touch_spec = in set_argument() localVariable
1503 single_touch_spec.set_width(width.trim().parse().unwrap()); in set_argument()
1506 single_touch_spec.set_height(height.trim().parse().unwrap()); in set_argument()
1508 cfg.virtio_single_touch = Some(single_touch_spec); in set_argument()
Dlinux.rs633 fn create_single_touch_device(cfg: &Config, single_touch_spec: &TouchDeviceOption) -> DeviceResult { in create_single_touch_device()
634 let socket = single_touch_spec in create_single_touch_device()
642 let (width, height) = single_touch_spec.get_size(); in create_single_touch_device()
1423 if let Some(single_touch_spec) = &cfg.virtio_single_touch { in create_virtio_devices()
1424 devs.push(create_single_touch_device(cfg, single_touch_spec)?); in create_virtio_devices()