HomeSort by relevance Sort by last modified time
    Searched refs:touches (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/dom/
TouchEvent.h 44 static PassRefPtr<TouchEvent> create(TouchList* touches,
50 return adoptRef(new TouchEvent(touches, targetTouches, changedTouches,
55 void initTouchEvent(TouchList* touches, TouchList* targetTouches,
61 TouchList* touches() const { return m_touches.get(); } function in class:WebCore::TouchEvent
65 void setTouches(PassRefPtr<TouchList> touches) { m_touches = touches; }
75 TouchEvent(TouchList* touches, TouchList* targetTouches,
TouchEvent.cpp 43 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches,
51 , m_touches(touches)
62 void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches,
72 m_touches = touches;
TouchEvent.idl 26 readonly attribute TouchList touches;
34 void initTouchEvent([Default=Undefined] optional TouchList touches,
EventContext.h 92 TouchList* touches() { return m_touches.get(); } function in class:WebCore::TouchEventContext
EventRetargeter.cpp 162 eventPathTouches[i] = touchEventContext->touches();
167 adjustTouchList(node, touchEvent.touches(), eventPath, eventPathTouches);
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebInputEventConversionTest.cpp 213 webTouchEvent.touches[0].state = WebTouchPoint::StateMoved;
214 webTouchEvent.touches[0].screenPosition.x = 10;
215 webTouchEvent.touches[0].screenPosition.y = 10;
216 webTouchEvent.touches[0].position.x = 10;
217 webTouchEvent.touches[0].position.y = 10;
218 webTouchEvent.touches[0].radiusX = 10;
219 webTouchEvent.touches[0].radiusY = 10;
273 EXPECT_EQ(10, webTouchBuilder.touches[0].screenPosition.x);
274 EXPECT_EQ(10, webTouchBuilder.touches[0].screenPosition.y);
275 EXPECT_EQ(10, webTouchBuilder.touches[0].position.x)
    [all...]
  /external/skia/tests/
PathOpsBoundsTest.cpp 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
56 REPORTER_ASSERT(reporter, touches);
63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
64 REPORTER_ASSERT(reporter, !touches);
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
InteractionController.java 284 * Touches down for a long press at the specified coordinates.
679 * @param touches each array of {@link PointerCoords} constitute a single pointer's touch path.
686 public boolean performMultiPointerGesture(PointerCoords[] ... touches) {
688 if (touches.length < 2) {
694 for (int x = 0; x < touches.length; x++)
695 maxSteps = (maxSteps < touches[x].length) ? touches[x].length : maxSteps;
698 PointerProperties[] properties = new PointerProperties[touches.length];
699 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
700 for (int x = 0; x < touches.length; x++)
    [all...]
  /frameworks/uiautomator/src/com/android/uiautomator/core/
InteractionController.java 284 * Touches down for a long press at the specified coordinates.
679 * @param touches each array of {@link PointerCoords} constitute a single pointer's touch path.
686 public boolean performMultiPointerGesture(PointerCoords[] ... touches) {
688 if (touches.length < 2) {
694 for (int x = 0; x < touches.length; x++)
695 maxSteps = (maxSteps < touches[x].length) ? touches[x].length : maxSteps;
698 PointerProperties[] properties = new PointerProperties[touches.length];
699 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
700 for (int x = 0; x < touches.length; x++)
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/input_event/
custom_events.cc 133 touches.push_back(touch);
140 for (size_t i = 0; i < touches.size(); ++i) {
141 const Touch& touch = touches[i];
custom_events.h 187 std::vector<Touch> touches; member in class:TouchEvent
  /external/chromium_org/content/browser/renderer_host/input/
touch_event_queue.cc 58 if (last_event.touches[i].state == WebKit::WebTouchPoint::StateMoved)
59 coalesced_event_.event.touches[i].state =
141 const WebKit::WebTouchPoint& point = event.touches[i];
148 const WebKit::WebTouchPoint& point = event.touches[i];
216 const WebKit::WebTouchPoint& point = event.touches[i];
immediate_input_router_unittest.cc 493 if (touch_event_.touches[i].state == WebTouchPoint::StateReleased)
496 touch_event_.touches[point] = touch_event_.touches[i];
497 touch_event_.touches[point].state =
509 touch_event_.touches[touch_event_.touchesLength];
522 WebTouchPoint& point = touch_event_.touches[index];
525 touch_event_.touches[index].state = WebTouchPoint::StateMoved;
531 touch_event_.touches[index].state = WebTouchPoint::StateReleased;
    [all...]
  /external/chromium_org/ppapi/shared_impl/
ppb_input_event_shared.cc 31 touches(),
138 data_.touches.push_back(point);
154 return static_cast<uint32_t>(data_.touches.size());
169 points = &data_.touches;
191 points = &data_.touches;
ppb_input_event_shared.h 53 std::vector<PP_TouchPoint> touches; member in struct:ppapi::InputEventData
  /external/chromium_org/content/browser/renderer_host/
render_widget_host_view_aura_unittest.cc 292 view_->touch_event_.touches[0].state);
299 view_->touch_event_.touches[0].state);
317 view_->touch_event_.touches[0].state);
324 view_->touch_event_.touches[0].state);
337 view_->touch_event_.touches[0].state);
349 view_->touch_event_.touches[0].state);
386 view_->touch_event_.touches[0].state);
393 view_->touch_event_.touches[0].state);
402 view_->touch_event_.touches[0].state);
ui_events_helper.cc 120 const WebKit::WebTouchPoint& point = touch.touches[i];
267 point = &web_event->touches[web_event->touchesLength++];
279 point = web_event->touches + i;
318 WebKit::WebTouchPoint* iter = web_event->touches + i;
  /external/chromium_org/third_party/WebKit/Source/web/
WebInputEventConversion.cpp 411 m_touchPoints.append(PlatformTouchPointBuilder(widget, event.touches[i]));
502 if (!event.touches())
504 if (event.touches()->length() != 1) {
505 if (event.touches()->length() || event.type() != eventNames().touchendEvent || !event.changedTouches() || event.changedTouches()->length() != 1)
509 const Touch* touch = event.touches()->length() == 1 ? event.touches()->item(0) : event.changedTouches()->item(0);
677 static void addTouchPoints(const Widget* widget, const AtomicString& touchType, TouchList* touches, WebTouchPoint* touchPoints, unsigned* touchPointsLength, const WebCore::RenderObject* renderObject)
679 unsigned numberOfTouches = std::min(touches->length(), static_cast<unsigned>(WebTouchEvent::touchesLengthCap));
681 const Touch* touch = touches->item(i);
717 addTouchPoints(widget, event.type(), event.touches(), touches, &touchesLength, renderObject)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
RangeInputType.cpp 171 TouchList* touches = event->targetTouches(); local
172 if (touches->length() == 1) {
173 Touch* touch = touches->item(0);
  /external/chromium_org/content/browser/android/
touch_point.cc 62 event.touches[idx] = wtp;
  /external/chromium_org/content/renderer/pepper/
event_conversion.cc 220 void SetPPTouchPoints(const WebTouchPoint* touches, uint32_t touches_length,
223 const WebTouchPoint& touch_point = touches[i];
242 SetPPTouchPoints(touch_event.touches, touch_event.touchesLength,
243 &result.touches);
255 // we have to set the state for the changed touches to be the same as the event
323 SetWebTouchPoints(event.touches, states_map, web_event->touches,
332 web_event->touches, &web_event->touchesLength);
  /external/chromium_org/chrome/browser/resources/standalone/
standalone_hack.js 191 x: event.touches[0].clientX,
192 y: event.touches[0].clientY
197 gestureActive = event.touches.length > 1;
204 var t = event.touches[0];
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
view.js 77 this.handleTouchChange_(event.touches[0]);
  /external/chromium_org/third_party/WebKit/public/web/
WebInputEvent.h 465 // Maximum number of simultaneous touches supported on
470 // List of all touches which are currently down.
471 WebTouchPoint touches[touchesLengthCap]; member in class:WebKit::WebTouchEvent
474 // List of all touches whose state has changed since the last WebTouchEvent
478 // List of all touches which are currently down and are targeting the event recipient.
  /external/chromium/chrome/browser/resources/touch_ntp/standalone/
standalone_hack.js 390 x: event.touches[0].clientX,
391 y: event.touches[0].clientY
396 gestureActive = event.touches.length > 1;
403 var t = event.touches[0];

Completed in 893 milliseconds

1 2