/external/chromium_org/ui/events/x/ |
D | device_data_manager.cc | 93 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 …]
|
D | events_x.cc | 121 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 …]
|
D | device_data_manager.h | 41 class EVENTS_BASE_EXPORT DeviceDataManager { 105 static DeviceDataManager* GetInstance(); 231 friend struct DefaultSingletonTraits<DeviceDataManager>; 233 DeviceDataManager(); 234 ~DeviceDataManager(); 295 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager);
|
D | events_x_unittest.cc | 182 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()
|
D | touch_factory_x11.cc | 34 if (!DeviceDataManager::GetInstance()->IsXInput2Available()) in TouchFactory() 105 if (!DeviceDataManager::GetInstance()->IsXInput2Available()) in UpdateDeviceList()
|
D | device_list_cache_x.cc | 17 return ui::DeviceDataManager::GetInstance()->IsXInput2Available(); in IsXI2Available()
|
/external/chromium_org/ui/events/test/ |
D | events_test_utils_x11.cc | 90 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 …]
|
D | events_test_utils_x11.h | 20 Valuator(DeviceDataManager::DataType type, double v) in Valuator() 23 DeviceDataManager::DataType data_type;
|
/external/chromium_org/chrome/browser/chromeos/ |
D | device_uma.cc | 82 ui::DeviceDataManager *manager = ui::DeviceDataManager::GetInstance(); in CheckTouchpadEvent() 101 if (ui::DeviceDataManager::GetInstance()->IsXIDeviceEvent(event) && in CheckIncomingEvent()
|
/external/chromium_org/ash/touch/ |
D | touch_hud_debug.cc | 77 ui::DeviceDataManager* manager = ui::DeviceDataManager::GetInstance(); in GetTrackingId() 80 ui::DeviceDataManager::DT_TOUCH_TRACKING_ID, in GetTrackingId()
|
/external/chromium_org/ash/wm/ |
D | sticky_keys_unittest.cc | 571 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/ |
D | x11_util.cc | 280 return DeviceDataManager::GetInstance()->IsXInput2Available(); in IsXInput2Available() 469 !ui::DeviceDataManager::GetInstance()->IsCMTGestureEvent( in CoalescePendingMotionEvents()
|
/external/chromium_org/ui/aura/ |
D | root_window_host_x11.cc | 529 ui::DeviceDataManager::GetInstance()->UpdateButtonMap(); in Dispatch()
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
D | desktop_root_window_host_x11.cc | 1436 ui::DeviceDataManager::GetInstance()->UpdateButtonMap(); in Dispatch()
|