Home
last modified time | relevance | path

Searched refs:devinfo (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/events/ozone/evdev/
Devent_factory.cc23 bool IsTouchPad(const EventDeviceInfo& devinfo) { in IsTouchPad() argument
24 if (!devinfo.HasEventType(EV_ABS)) in IsTouchPad()
27 return devinfo.HasKeyEvent(BTN_LEFT) || devinfo.HasKeyEvent(BTN_MIDDLE) || in IsTouchPad()
28 devinfo.HasKeyEvent(BTN_RIGHT) || devinfo.HasKeyEvent(BTN_TOOL_FINGER); in IsTouchPad()
31 bool IsTouchScreen(const EventDeviceInfo& devinfo) { in IsTouchScreen() argument
32 return devinfo.HasEventType(EV_ABS) && !IsTouchPad(devinfo); in IsTouchScreen()
55 EventDeviceInfo devinfo; in StartProcessingEvents() local
56 if (!devinfo.Initialize(fd)) { in StartProcessingEvents()
62 if (IsTouchPad(devinfo)) { in StartProcessingEvents()
70 if (IsTouchScreen(devinfo)) in StartProcessingEvents()
[all …]
/external/chromium_org/ui/events/x/
Dtouch_factory_x11.cc124 XIDeviceInfo* devinfo = xi_dev_list.devices + i; in UpdateDeviceList() local
125 if (devinfo->use == XIFloatingSlave || devinfo->use == XIMasterPointer) { in UpdateDeviceList()
127 for (int k = 0; k < devinfo->num_classes; ++k) { in UpdateDeviceList()
128 XIAnyClassInfo* xiclassinfo = devinfo->classes[k]; in UpdateDeviceList()
134 touch_device_lookup_[devinfo->deviceid] = true; in UpdateDeviceList()
135 touch_device_list_[devinfo->deviceid] = true; in UpdateDeviceList()
143 pointer_device_lookup_[devinfo->deviceid] = true; in UpdateDeviceList()
/external/chromium/base/
Dmessage_pump_glib_x.cc299 XIDeviceInfo* devinfo = devices + i; in InitializeXInput2() local
300 if (devinfo->use == XIFloatingSlave || devinfo->use == XIMasterPointer) in InitializeXInput2()
301 pointer_devices_.insert(devinfo->deviceid); in InitializeXInput2()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c75 struct devinfo info; in CheckDrive()