Searched refs:touch_point (Results 1 - 6 of 6) 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/shell/renderer/test_runner/
H A Devent_sender.cc1456 WebTouchPoint* touch_point = &touch_points_[index]; local
1457 touch_point->state = WebTouchPoint::StateReleased;
1466 WebTouchPoint* touch_point = &touch_points_[index]; local
1467 touch_point->state = WebTouchPoint::StateMoved;
1468 touch_point->position = WebFloatPoint(x, y);
1469 touch_point->screenPosition = touch_point->position;
1478 WebTouchPoint* touch_point = &touch_points_[index]; local
1479 touch_point->state = WebTouchPoint::StateCancelled;
1616 WebTouchPoint touch_point; local
1884 WebTouchPoint* touch_point = &touch_points_[i]; local
[all...]
/external/chromium_org/content/renderer/pepper/
H A Devent_conversion.cc223 const WebTouchPoint& touch_point = touches[i]; local
225 pp_pt.id = touch_point.id;
226 pp_pt.position.x = touch_point.position.x;
227 pp_pt.position.y = touch_point.position.y;
228 pp_pt.radius.x = touch_point.radiusX;
229 pp_pt.radius.y = touch_point.radiusY;
230 pp_pt.rotation_angle = touch_point.rotationAngle;
231 pp_pt.pressure = touch_point.force;
/external/chromium_org/content/browser/renderer_host/input/
H A Dsynthetic_gesture_controller_unittest.cc172 gfx::PointF touch_point(touch_event.touches[0].position.x,
174 gfx::Vector2dF delta = touch_point - last_touch_point_;
178 start_to_end_distance_ = touch_point - start_;
180 last_touch_point_ = touch_point;
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc1912 gfx::Point touch_point = gfx::ToFlooredPoint(touch_point_f); local
1914 ash::wm::ConvertPointToScreen(widget_window->GetRootWindow(), &touch_point);
1915 return touch_point;

Completed in 213 milliseconds