Home
last modified time | relevance | path

Searched refs:touch_point (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/content/renderer/
Ddisambiguation_popup_helper.cc66 const gfx::Point& touch_point, in CropZoomArea() argument
73 int left = touch_point.x() - zoom_rect.x(); in CropZoomArea()
74 int right = zoom_rect.right() - touch_point.x(); in CropZoomArea()
75 int top = touch_point.y() - zoom_rect.y(); in CropZoomArea()
76 int bottom = zoom_rect.bottom() - touch_point.y(); in CropZoomArea()
80 return gfx::Rect(touch_point.x() - left, in CropZoomArea()
81 touch_point.y() - top, in CropZoomArea()
/external/chromium_org/content/renderer/pepper/
Devent_conversion.cc226 const WebTouchPoint& touch_point = touches[i]; in SetPPTouchPoints() local
228 (touch_point.state == WebTouchPoint::StateReleased || in SetPPTouchPoints()
229 touch_point.state == WebTouchPoint::StateCancelled)) { in SetPPTouchPoints()
233 (touch_point.state == WebTouchPoint::StateUndefined || in SetPPTouchPoints()
234 touch_point.state == WebTouchPoint::StateStationary)) { in SetPPTouchPoints()
238 pp_pt.id = touch_point.id; in SetPPTouchPoints()
239 pp_pt.position.x = touch_point.position.x; in SetPPTouchPoints()
240 pp_pt.position.y = touch_point.position.y; in SetPPTouchPoints()
241 pp_pt.radius.x = touch_point.radiusX; in SetPPTouchPoints()
242 pp_pt.radius.y = touch_point.radiusY; in SetPPTouchPoints()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_input_event.cc175 PP_TouchPoint touch_point = PP_MakeTouchPoint(); in CreateTouchEvent() local
176 touch_point.position = point; in CreateTouchEvent()
179 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TOUCHES, touch_point); in CreateTouchEvent()
180 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_CHANGEDTOUCHES, touch_point); in CreateTouchEvent()
181 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TARGETTOUCHES, touch_point); in CreateTouchEvent()
/external/chromium_org/content/shell/renderer/test_runner/
Devent_sender.cc1486 WebTouchPoint* touch_point = &touch_points_[index]; in ReleaseTouchPoint() local
1487 touch_point->state = WebTouchPoint::StateReleased; in ReleaseTouchPoint()
1496 WebTouchPoint* touch_point = &touch_points_[index]; in UpdateTouchPoint() local
1497 touch_point->state = WebTouchPoint::StateMoved; in UpdateTouchPoint()
1498 touch_point->position = WebFloatPoint(x, y); in UpdateTouchPoint()
1499 touch_point->screenPosition = touch_point->position; in UpdateTouchPoint()
1508 WebTouchPoint* touch_point = &touch_points_[index]; in CancelTouchPoint() local
1509 touch_point->state = WebTouchPoint::StateCancelled; in CancelTouchPoint()
1648 WebTouchPoint touch_point; in AddTouchPoint() local
1649 touch_point.state = WebTouchPoint::StatePressed; in AddTouchPoint()
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_gesture_controller_unittest.cc172 gfx::PointF touch_point(touch_event.touches[0].position.x, in DispatchInputEventToPlatform() local
174 gfx::Vector2dF delta = touch_point - last_touch_point_; in DispatchInputEventToPlatform()
178 start_to_end_distance_ = touch_point - start_; in DispatchInputEventToPlatform()
180 last_touch_point_ = touch_point; in DispatchInputEventToPlatform()
/external/chromium_org/native_client_sdk/src/libraries/ppapi_cpp/
Dlibrary.dsc136 'touch_point.h',
/external/chromium_org/native_client_sdk/src/doc/pepper_beta/cpp/
Dindex.rst209 * `touch_point.h <touch__point_8h.html>`_
/external/chromium_org/native_client_sdk/src/doc/pepper_stable/cpp/
Dindex.rst211 * `touch_point.h <touch__point_8h.html>`_
/external/chromium_org/native_client_sdk/src/doc/pepper_dev/cpp/
Dindex.rst221 * `touch_point.h <touch__point_8h.html>`_
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_drag_controller.cc1747 gfx::Point touch_point = gfx::ToFlooredPoint(touch_point_f); in GetCursorScreenPoint() local
1749 wm::ConvertPointToScreen(widget_window->GetRootWindow(), &touch_point); in GetCursorScreenPoint()
1750 return touch_point; in GetCursorScreenPoint()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_unittest.cc2003 gfx::Point touch_point(GetCursorPositionX(2), 0); in TEST_F() local
2008 Tap(touch_point); in TEST_F()
2015 Tap(touch_point); in TEST_F()
/external/chromium_org/ppapi/
Dppapi_sources.gypi229 'cpp/touch_point.h',