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; 90 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo() argument 91 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_touchscreen_absinfo() 92 absinfo.insert(ABS_X, virtio_input_absinfo::new(0, width, 0, 0)); in default_touchscreen_absinfo() 93 absinfo.insert(ABS_Y, virtio_input_absinfo::new(0, height, 0, 0)); in default_touchscreen_absinfo() 109 ) -> BTreeMap<u16, virtio_input_absinfo> { in default_multitouchscreen_absinfo() argument 110 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_multitouchscreen_absinfo() 111 absinfo.insert(ABS_MT_SLOT, virtio_input_absinfo::new(0, slot, 0, 0)); in default_multitouchscreen_absinfo() 112 absinfo.insert(ABS_MT_TRACKING_ID, virtio_input_absinfo::new(0, id, 0, 0)); in default_multitouchscreen_absinfo() 113 absinfo.insert(ABS_MT_POSITION_X, virtio_input_absinfo::new(0, width, 0, 0)); in default_multitouchscreen_absinfo() [all …]
|
D | evdev.rs | 9 use super::virtio_input_absinfo; 89 impl From<evdev_abs_info> for virtio_input_absinfo { implementation 91 virtio_input_absinfo { in from() 236 pub fn abs_info<T: AsRawDescriptor>(descriptor: &T) -> BTreeMap<u16, virtio_input_absinfo> { in abs_info() argument 237 let mut ret: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in abs_info() 252 ret.insert(abs, virtio_input_absinfo::from(abs_info)); in abs_info()
|
D | mod.rs | 116 pub struct virtio_input_absinfo { struct 124 unsafe impl DataInit for virtio_input_absinfo {} argument 126 impl virtio_input_absinfo { impl 127 fn new(min: u32, max: u32, fuzz: u32, flat: u32) -> virtio_input_absinfo { in new() argument 128 virtio_input_absinfo { in new() 182 fn set_absinfo(&mut self, absinfo: &virtio_input_absinfo) { in set_absinfo() argument 242 axis_info: BTreeMap<u16, virtio_input_absinfo>, 252 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
|