Searched defs:touch_point (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/content/renderer/
H A Ddisambiguation_popup_helper.cc66 const gfx::Point& touch_point,
73 int left = touch_point.x() - zoom_rect.x();
74 int right = zoom_rect.right() - touch_point.x();
75 int top = touch_point.y() - zoom_rect.y();
76 int bottom = zoom_rect.bottom() - touch_point.y();
80 return gfx::Rect(touch_point.x() - left,
81 touch_point.y() - top,
64 CropZoomArea(const gfx::Rect& zoom_rect, const gfx::Size& viewport_size, const gfx::Point& touch_point, float scale) argument
/external/chromium_org/ppapi/tests/
H A Dtest_input_event.cc175 PP_TouchPoint touch_point = PP_MakeTouchPoint(); local
176 touch_point.position = point;
179 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TOUCHES, touch_point);
180 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_CHANGEDTOUCHES, touch_point);
181 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TARGETTOUCHES, touch_point);
/external/chromium_org/content/renderer/pepper/
H A Devent_conversion.cc226 const WebTouchPoint& touch_point = touches[i]; local
228 (touch_point.state == WebTouchPoint::StateReleased ||
229 touch_point.state == WebTouchPoint::StateCancelled)) {
233 (touch_point.state == WebTouchPoint::StateUndefined ||
234 touch_point.state == WebTouchPoint::StateStationary)) {
238 pp_pt.id = touch_point.id;
239 pp_pt.position.x = touch_point.position.x;
240 pp_pt.position.y = touch_point.position.y;
241 pp_pt.radius.x = touch_point.radiusX;
242 pp_pt.radius.y = touch_point
[all...]
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc1747 gfx::Point touch_point = gfx::ToFlooredPoint(touch_point_f); local
1749 wm::ConvertPointToScreen(widget_window->GetRootWindow(), &touch_point);
1750 return touch_point;
/external/chromium_org/content/shell/renderer/test_runner/
H A Devent_sender.cc1486 WebTouchPoint* touch_point = &touch_points_[index]; local
1487 touch_point->state = WebTouchPoint::StateReleased;
1496 WebTouchPoint* touch_point = &touch_points_[index]; local
1497 touch_point->state = WebTouchPoint::StateMoved;
1498 touch_point->position = WebFloatPoint(x, y);
1499 touch_point->screenPosition = touch_point->position;
1508 WebTouchPoint* touch_point = &touch_points_[index]; local
1509 touch_point->state = WebTouchPoint::StateCancelled;
1648 WebTouchPoint touch_point; local
1918 WebTouchPoint* touch_point = &touch_points_[i]; local
[all...]

Completed in 298 milliseconds