Searched refs:valuators (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/ui/events/test/ |
D | events_test_utils_x11.cc | 94 xiev->valuators.mask_len = (valuator_count / 8) + 1; in InitValuatorsForXIDeviceEvent() 95 xiev->valuators.mask = new unsigned char[xiev->valuators.mask_len]; in InitValuatorsForXIDeviceEvent() 96 memset(xiev->valuators.mask, 0, xiev->valuators.mask_len); in InitValuatorsForXIDeviceEvent() 97 xiev->valuators.values = new double[valuator_count]; in InitValuatorsForXIDeviceEvent() 137 delete[] xiev->valuators.mask; in operator ()() 138 delete[] xiev->valuators.values; in operator ()() 222 Valuator valuators[] = { in InitScrollEvent() local 230 std::vector<Valuator>(valuators, valuators + arraysize(valuators))); in InitScrollEvent() 241 Valuator valuators[] = { in InitFlingScrollEvent() local 250 std::vector<Valuator>(valuators, valuators + arraysize(valuators))); in InitFlingScrollEvent() [all …]
|
D | events_test_utils_x11.h | 80 const std::vector<Valuator>& valuators); 85 void SetUpValuators(const std::vector<Valuator>& valuators);
|
/external/chromium_org/ui/events/x/ |
D | device_data_manager_x11.cc | 304 double* valuators = xiev->valuators.values; in GetEventRawData() local 306 if (XIMaskIsSet(xiev->valuators.mask, i)) { in GetEventRawData() 309 (*data)[type] = *valuators; in GetEventRawData() 313 last_seen_valuator_[sourceid][slot][type] = *valuators; in GetEventRawData() 316 valuators++; in GetEventRawData() 349 if (XIMaskIsSet(xiev->valuators.mask, val_index)) { in GetEventData() 350 double* valuators = xiev->valuators.values; in GetEventData() local 352 if (XIMaskIsSet(xiev->valuators.mask, val_index)) in GetEventData() 353 ++valuators; in GetEventData() 355 *value = *valuators; in GetEventData() [all …]
|
D | events_x_unittest.cc | 223 std::vector<Valuator> valuators; in TEST_F() local 226 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_MAJOR, 20)); in TEST_F() 227 valuators.push_back( in TEST_F() 229 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_PRESSURE, 100)); in TEST_F() 232 0, XI_TouchBegin, 5, gfx::Point(10, 10), valuators); in TEST_F() 241 valuators.clear(); in TEST_F() 242 valuators.push_back( in TEST_F() 245 0, XI_TouchUpdate, 5, gfx::Point(20, 20), valuators); in TEST_F() 254 valuators.clear(); in TEST_F() 255 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_MAJOR, 100)); in TEST_F() [all …]
|
/external/chromium_org/ash/host/ |
D | ash_window_tree_host_x11_unittest.cc | 98 std::vector<ui::Valuator> valuators; in TEST_F() local 106 0, XI_TouchBegin, 5, gfx::Point(1500, 2500), valuators); in TEST_F() 115 0, XI_TouchBegin, 5, gfx::Point(1500, 1500), valuators); in TEST_F() 123 0, XI_TouchUpdate, 5, gfx::Point(1500, 1600), valuators); in TEST_F() 131 0, XI_TouchEnd, 5, gfx::Point(1500, 1600), valuators); in TEST_F() 161 std::vector<ui::Valuator> valuators; in TEST_F() local 171 0, XI_TouchBegin, 5, gfx::Point(1500, 2500), valuators); in TEST_F() 184 0, XI_TouchBegin, 6, gfx::Point(1600, 2600), valuators); in TEST_F() 197 0, XI_TouchUpdate, 5, gfx::Point(1500, 2550), valuators); in TEST_F() 210 0, XI_TouchUpdate, 6, gfx::Point(1600, 2650), valuators); in TEST_F() [all …]
|