Home
last modified time | relevance | path

Searched refs:DeviceDataManager (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/ui/events/x/
Ddevice_data_manager.cc93 const int kCMTDataTypeStart = ui::DeviceDataManager::DT_CMT_SCROLL_X;
94 const int kCMTDataTypeEnd = ui::DeviceDataManager::DT_CMT_FINGER_COUNT;
95 const int kTouchDataTypeStart = ui::DeviceDataManager::DT_TOUCH_MAJOR;
96 const int kTouchDataTypeEnd = ui::DeviceDataManager::DT_TOUCH_RAW_TIMESTAMP;
100 bool DeviceDataManager::IsCMTDataType(const int type) { in IsCMTDataType()
104 bool DeviceDataManager::IsTouchDataType(const int type) { in IsTouchDataType()
108 DeviceDataManager* DeviceDataManager::GetInstance() { in GetInstance()
109 return Singleton<DeviceDataManager>::get(); in GetInstance()
112 DeviceDataManager::DeviceDataManager() in DeviceDataManager() function in ui::DeviceDataManager
126 DeviceDataManager::~DeviceDataManager() { in ~DeviceDataManager()
[all …]
Devents_x.cc121 if (!ui::DeviceDataManager::GetInstance()->GetDataRange( in TouchEventIsGeneratedHack()
122 deviceid, ui::DeviceDataManager::DT_TOUCH_MAJOR, &min, &max)) { in TouchEventIsGeneratedHack()
177 ui::DeviceDataManager::GetInstance()->GetMappedButton(i) : i; in GetButtonMaskForX2Event()
221 ui::DeviceDataManager::DataType val, in GetTouchParamFromXEvent()
223 ui::DeviceDataManager::GetInstance()->GetEventData( in GetTouchParamFromXEvent()
240 DeviceDataManager::GetInstance()->UpdateDeviceList(display); in UpdateDeviceList()
301 } else if (DeviceDataManager::GetInstance()->IsScrollEvent( in EventTypeFromNative()
304 } else if (DeviceDataManager::GetInstance()->IsCMTMetricsEvent( in EventTypeFromNative()
401 } else if (DeviceDataManager::GetInstance()->GetEventData(*native_event, in EventTimeFromNative()
402 DeviceDataManager::DT_TOUCH_RAW_TIMESTAMP, &touch_timestamp)) { in EventTimeFromNative()
[all …]
Ddevice_data_manager.h41 class EVENTS_BASE_EXPORT DeviceDataManager {
105 static DeviceDataManager* GetInstance();
231 friend struct DefaultSingletonTraits<DeviceDataManager>;
233 DeviceDataManager();
234 ~DeviceDataManager();
295 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager);
Devents_x_unittest.cc182 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_MAJOR, 20)); in TEST()
183 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_ORIENTATION, 0.3f)); in TEST()
184 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_PRESSURE, 100)); in TEST()
197 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_ORIENTATION, 0.5f)); in TEST()
209 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_MAJOR, 100)); in TEST()
210 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_ORIENTATION, 0.9f)); in TEST()
211 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_PRESSURE, 500)); in TEST()
224 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_PRESSURE, 50)); in TEST()
237 valuators.push_back(Valuator(DeviceDataManager::DT_TOUCH_MAJOR, 50)); in TEST()
Dtouch_factory_x11.cc34 if (!DeviceDataManager::GetInstance()->IsXInput2Available()) in TouchFactory()
105 if (!DeviceDataManager::GetInstance()->IsXInput2Available()) in UpdateDeviceList()
Ddevice_list_cache_x.cc17 return ui::DeviceDataManager::GetInstance()->IsXInput2Available(); in IsXI2Available()
/external/chromium_org/ui/events/test/
Devents_test_utils_x11.cc90 int valuator_count = ui::DeviceDataManager::DT_LAST_ENTRY; in InitValuatorsForXIDeviceEvent()
193 Valuator(DeviceDataManager::DT_CMT_SCROLL_X, x_offset), in InitScrollEvent()
194 Valuator(DeviceDataManager::DT_CMT_SCROLL_Y, y_offset), in InitScrollEvent()
195 Valuator(DeviceDataManager::DT_CMT_ORDINAL_X, x_offset_ordinal), in InitScrollEvent()
196 Valuator(DeviceDataManager::DT_CMT_ORDINAL_Y, y_offset_ordinal), in InitScrollEvent()
197 Valuator(DeviceDataManager::DT_CMT_FINGER_COUNT, finger_count) in InitScrollEvent()
213 Valuator(DeviceDataManager::DT_CMT_FLING_STATE, is_cancel ? 1 : 0), in InitFlingScrollEvent()
214 Valuator(DeviceDataManager::DT_CMT_FLING_Y, y_velocity), in InitFlingScrollEvent()
215 Valuator(DeviceDataManager::DT_CMT_ORDINAL_Y, y_velocity_ordinal), in InitFlingScrollEvent()
216 Valuator(DeviceDataManager::DT_CMT_FLING_X, x_velocity), in InitFlingScrollEvent()
[all …]
Devents_test_utils_x11.h20 Valuator(DeviceDataManager::DataType type, double v) in Valuator()
23 DeviceDataManager::DataType data_type;
/external/chromium_org/chrome/browser/chromeos/
Ddevice_uma.cc82 ui::DeviceDataManager *manager = ui::DeviceDataManager::GetInstance(); in CheckTouchpadEvent()
101 if (ui::DeviceDataManager::GetInstance()->IsXIDeviceEvent(event) && in CheckIncomingEvent()
/external/chromium_org/ash/touch/
Dtouch_hud_debug.cc77 ui::DeviceDataManager* manager = ui::DeviceDataManager::GetInstance(); in GetTrackingId()
80 ui::DeviceDataManager::DT_TOUCH_TRACKING_ID, in GetTrackingId()
/external/chromium_org/ash/wm/
Dsticky_keys_unittest.cc571 ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true); in TEST_F()
624 ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true); in TEST_F()
662 ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true); in TEST_F()
/external/chromium_org/ui/base/x/
Dx11_util.cc280 return DeviceDataManager::GetInstance()->IsXInput2Available(); in IsXInput2Available()
469 !ui::DeviceDataManager::GetInstance()->IsCMTGestureEvent( in CoalescePendingMotionEvents()
/external/chromium_org/ui/aura/
Droot_window_host_x11.cc529 ui::DeviceDataManager::GetInstance()->UpdateButtonMap(); in Dispatch()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_root_window_host_x11.cc1436 ui::DeviceDataManager::GetInstance()->UpdateButtonMap(); in Dispatch()