Home
last modified time | relevance | path

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

/external/chromium_org/ui/events/test/
Devents_test_utils_x11.cc203 SetUpValuators(std::vector<Valuator>()); in InitGenericButtonEvent()
222 Valuator valuators[] = { in InitScrollEvent()
223 Valuator(DeviceDataManagerX11::DT_CMT_SCROLL_X, x_offset), in InitScrollEvent()
224 Valuator(DeviceDataManagerX11::DT_CMT_SCROLL_Y, y_offset), in InitScrollEvent()
225 Valuator(DeviceDataManagerX11::DT_CMT_ORDINAL_X, x_offset_ordinal), in InitScrollEvent()
226 Valuator(DeviceDataManagerX11::DT_CMT_ORDINAL_Y, y_offset_ordinal), in InitScrollEvent()
227 Valuator(DeviceDataManagerX11::DT_CMT_FINGER_COUNT, finger_count) in InitScrollEvent()
230 std::vector<Valuator>(valuators, valuators + arraysize(valuators))); in InitScrollEvent()
241 Valuator valuators[] = { in InitFlingScrollEvent()
242 Valuator(DeviceDataManagerX11::DT_CMT_FLING_STATE, is_cancel ? 1 : 0), in InitFlingScrollEvent()
[all …]
Devents_test_utils_x11.h19 struct Valuator { struct
20 Valuator(DeviceDataManagerX11::DataType type, double v) in Valuator() argument
80 const std::vector<Valuator>& valuators);
85 void SetUpValuators(const std::vector<Valuator>& valuators);
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc223 std::vector<Valuator> valuators; in TEST_F()
226 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_MAJOR, 20)); in TEST_F()
228 Valuator(DeviceDataManagerX11::DT_TOUCH_ORIENTATION, 0.3f)); in TEST_F()
229 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_PRESSURE, 100)); in TEST_F()
243 Valuator(DeviceDataManagerX11::DT_TOUCH_ORIENTATION, 0.5f)); in TEST_F()
255 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_MAJOR, 100)); in TEST_F()
256 valuators.push_back(Valuator( in TEST_F()
258 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_PRESSURE, 500)); in TEST_F()
271 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_PRESSURE, 50)); in TEST_F()
284 valuators.push_back(Valuator(DeviceDataManagerX11::DT_TOUCH_MAJOR, 50)); in TEST_F()
[all …]
/external/chromium_org/ash/host/
Dash_window_tree_host_x11_unittest.cc98 std::vector<ui::Valuator> valuators; in TEST_F()
161 std::vector<ui::Valuator> valuators; in TEST_F()