Searched refs:touch_device_id (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/ui/events/
H A Ddevice_data_manager.cc67 bool DeviceDataManager::IsTouchDeviceIdValid(int touch_device_id) const {
68 return (touch_device_id > 0 && touch_device_id < kMaxDeviceNum);
73 int touch_device_id,
75 if (IsTouchDeviceIdValid(touch_device_id)) {
76 touch_device_to_display_map_[touch_device_id] = display_id;
77 touch_device_transformer_map_[touch_device_id] = touch_transformer;
81 void DeviceDataManager::UpdateTouchRadiusScale(int touch_device_id, argument
83 if (IsTouchDeviceIdValid(touch_device_id))
84 touch_radius_scale_map_[touch_device_id]
71 UpdateTouchInfoForDisplay( int64_t display_id, int touch_device_id, const gfx::Transform& touch_transformer) argument
87 ApplyTouchRadiusScale(int touch_device_id, double* radius) argument
93 ApplyTouchTransformer(int touch_device_id, float* x, float* y) argument
[all...]
H A Ddevice_data_manager.h35 int touch_device_id,
37 void ApplyTouchTransformer(int touch_device_id, float* x, float* y);
38 int64_t GetDisplayForTouchDevice(int touch_device_id) const;
40 void UpdateTouchRadiusScale(int touch_device_id, double scale);
41 void ApplyTouchRadiusScale(int touch_device_id, double* radius);
60 bool IsTouchDeviceIdValid(int touch_device_id) const;
/external/chromium_org/ash/touch/
H A Dtouchscreen_util_unittest.cc74 displays_[i].touch_device_id());
84 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[0].touch_device_id());
85 EXPECT_EQ(1, displays_[1].touch_device_id());
86 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[2].touch_device_id());
87 EXPECT_EQ(2, displays_[3].touch_device_id());
96 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[0].touch_device_id());
97 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[1].touch_device_id());
98 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[2].touch_device_id());
99 EXPECT_EQ(2, displays_[3].touch_device_id());
109 EXPECT_EQ(ui::TouchscreenDevice::kInvalidId, displays_[0].touch_device_id());
[all...]
H A Dtouch_transformer_controller.cc38 if (touch_display.touch_device_id() == 0)
44 touch_display.touch_device_id(),
48 touch_display.touch_device_id(),
80 if (touch_display.touch_device_id() == 0 ||
95 if (touch_display.touch_device_id() == 0)
104 if (current_info.touch_device_id() == touch_display.touch_device_id()) {
208 device_manager->UpdateTouchRadiusScale(display1.touch_device_id(),
210 device_manager->UpdateTouchRadiusScale(display2.touch_device_id(),
217 single_display.touch_device_id(),
[all...]
H A Dtouchscreen_util.cc39 << internal_state->id() << " touch_device_id "
40 << internal_state->touch_device_id() << " size "
45 if (internal_state && internal_state->touch_device_id() == devices[i].id)
67 << " touch_device_id " << state->touch_device_id() << " size "
76 VLOG(2) << "No matching display for touch_device_id " << devices[i].id
96 << state->touch_device_id() << " to display " << state->id();
H A Dtouch_transformer_controller_unittest.cc18 int touch_device_id,
22 info.set_touch_device_id(touch_device_id);
52 internal_display_info.touch_device_id(),
58 external_display_info.touch_device_id(),
113 internal_display_info.touch_device_id(),
119 external_display_info.touch_device_id(),
167 display1.touch_device_id(),
172 display2.touch_device_id(),
17 CreateDisplayInfo(int64 id, int touch_device_id, const gfx::Rect& bounds) argument
/external/chromium_org/ash/display/
H A Ddisplay_info.h115 int touch_device_id() const { return touch_device_id_; } function in class:ash::DisplayInfo
/external/chromium_org/ui/events/x/
H A Ddevice_data_manager_x11.h228 bool TouchEventNeedsCalibrate(int touch_device_id) const;
H A Ddevice_data_manager_x11.cc664 bool DeviceDataManagerX11::TouchEventNeedsCalibrate(int touch_device_id) const {
666 int64 touch_display_id = GetDisplayForTouchDevice(touch_device_id);

Completed in 2521 milliseconds