Searched refs:xiev (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/events/x/ |
D | device_data_manager.cc | 272 bool DeviceDataManager::GetSlotNumber(const XIDeviceEvent* xiev, int* slot) { in GetSlotNumber() argument 275 if (!factory->IsMultiTouchDevice(xiev->sourceid)) { in GetSlotNumber() 279 return factory->QuerySlotForTrackingID(xiev->detail, slot); in GetSlotNumber() 290 XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(xev.xcookie.data); in GetEventRawData() local 291 if (xiev->sourceid >= kMaxDeviceNum || xiev->deviceid >= kMaxDeviceNum) in GetEventRawData() 294 const int sourceid = xiev->sourceid; in GetEventRawData() 295 double* valuators = xiev->valuators.values; in GetEventRawData() 297 if (XIMaskIsSet(xiev->valuators.mask, i)) { in GetEventRawData() 303 if (GetSlotNumber(xiev, &slot) && slot >= 0 && slot < kMaxSlotNum) in GetEventRawData() 317 XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(xev.xcookie.data); in GetEventData() local [all …]
|
D | touch_factory_x11.cc | 151 XIDeviceEvent* xiev = reinterpret_cast<XIDeviceEvent*>(event); in ShouldProcessXI2Event() local 157 return !touch_events_disabled_ && IsTouchDevice(xiev->deviceid); in ShouldProcessXI2Event() 165 if (!pointer_device_lookup_[xiev->deviceid]) in ShouldProcessXI2Event() 168 return IsTouchDevice(xiev->deviceid) ? !touch_events_disabled_ : true; in ShouldProcessXI2Event()
|
D | device_data_manager.h | 126 bool GetSlotNumber(const XIDeviceEvent* xiev, int* slot); 240 bool HasEventData(const XIDeviceEvent* xiev, const DataType type) const;
|
/external/chromium_org/ui/events/test/ |
D | events_test_utils_x11.cc | 89 void InitValuatorsForXIDeviceEvent(XIDeviceEvent* xiev) { in InitValuatorsForXIDeviceEvent() argument 91 xiev->valuators.mask_len = (valuator_count / 8) + 1; in InitValuatorsForXIDeviceEvent() 92 xiev->valuators.mask = new unsigned char[xiev->valuators.mask_len]; in InitValuatorsForXIDeviceEvent() 93 memset(xiev->valuators.mask, 0, xiev->valuators.mask_len); in InitValuatorsForXIDeviceEvent() 94 xiev->valuators.values = new double[valuator_count]; in InitValuatorsForXIDeviceEvent() 105 XIDeviceEvent* xiev = in CreateXInput2Event() local 107 memset(xiev, 0, sizeof(XIDeviceEvent)); in CreateXInput2Event() 108 xiev->deviceid = deviceid; in CreateXInput2Event() 109 xiev->sourceid = deviceid; in CreateXInput2Event() 110 xiev->evtype = evtype; in CreateXInput2Event() [all …]
|
/external/chromium_org/chrome/browser/chromeos/ |
D | xinput_hierarchy_changed_event_listener.cc | 118 XIDeviceEvent* xiev = reinterpret_cast<XIDeviceEvent*>(cookie->data); in ProcessedXEvent() local 119 if (xiev->deviceid == xiev->sourceid) { in ProcessedXEvent() 122 DeviceKeyPressedOrReleased(xiev->deviceid)); in ProcessedXEvent()
|
D | device_uma.cc | 72 XIDeviceEvent* xiev = in CheckTouchpadEvent() local 75 if (xiev->deviceid != xiev->sourceid) in CheckTouchpadEvent()
|