Searched refs:virtio_input_absinfo (Results 1 – 4 of 4) sorted by relevance
/external/crosvm/devices/src/virtio/input/ |
D | defaults.rs | 8 use super::virtio_input_absinfo; 65 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo() argument 66 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_touchscreen_absinfo() 67 absinfo.insert(ABS_X, virtio_input_absinfo::new(0, width, 0, 0)); in default_touchscreen_absinfo() 68 absinfo.insert(ABS_Y, virtio_input_absinfo::new(0, height, 0, 0)); in default_touchscreen_absinfo() 79 fn default_trackpad_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_trackpad_absinfo() argument 80 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_trackpad_absinfo() 81 absinfo.insert(ABS_X, virtio_input_absinfo::new(0, width, 0, 0)); in default_trackpad_absinfo() 82 absinfo.insert(ABS_Y, virtio_input_absinfo::new(0, height, 0, 0)); in default_trackpad_absinfo()
|
D | evdev.rs | 11 use super::virtio_input_absinfo; 91 impl From<evdev_abs_info> for virtio_input_absinfo { implementation 93 virtio_input_absinfo { in from() 212 pub fn abs_info<T: AsRawFd>(fd: &T) -> BTreeMap<u16, virtio_input_absinfo> { in abs_info() argument 213 let mut ret: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in abs_info() 224 ret.insert(abs, virtio_input_absinfo::from(abs_info)); in abs_info()
|
D | mod.rs | 104 pub struct virtio_input_absinfo { struct 112 unsafe impl DataInit for virtio_input_absinfo {} implementation 114 impl virtio_input_absinfo { impl 115 fn new(min: u32, max: u32, fuzz: u32, flat: u32) -> virtio_input_absinfo { in new() argument 116 virtio_input_absinfo { in new() 170 fn set_absinfo(&mut self, absinfo: &virtio_input_absinfo) { in set_absinfo() argument 230 axis_info: BTreeMap<u16, virtio_input_absinfo>, 242 axis_info: BTreeMap<u16, virtio_input_absinfo>, in new() argument
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_input.h | 42 struct virtio_input_absinfo { struct 65 struct virtio_input_absinfo abs; argument
|