/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | TouchList.h | 44 static PassRefPtrWillBeRawPtr<TouchList> create(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) argument 46 return adoptRefWillBeNoop(new TouchList(touches)); 64 TouchList(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) argument 66 m_values.swap(touches);
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | TouchEvent.h | 44 static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches, argument 49 return adoptRefWillBeNoop(new TouchEvent(touches, targetTouches, changedTouches, type, view, 53 void initTouchEvent(TouchList* touches, TouchList* targetTouches, 59 TouchList* touches() const { return m_touches.get(); } function in class:WebCore::FINAL 63 void setTouches(PassRefPtrWillBeRawPtr<TouchList> touches) { m_touches = touches; } argument 77 TouchEvent(TouchList* touches, TouchList* targetTouches,
|
H A D | TouchEvent.cpp | 42 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches, argument 48 , m_touches(touches) 59 void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches, argument 74 m_touches = touches;
|
H A D | TouchEvent.idl | 26 readonly attribute TouchList touches; 34 void initTouchEvent([Default=Undefined] optional TouchList touches,
|
H A D | TouchEventContext.h | 45 TouchList& touches() { return *m_touches; } function in class:WebCore::TouchEventContext
|
/external/chromium_org/content/common/input/ |
H A D | web_input_event_traits_unittest.cc | 69 touch0.touches[0].id = 7; 73 touch0.touches[0].id = 1; 74 touch1.touches[0].id = 0; 85 touch0.touches[0] = touch1.touches[1] = 87 touch0.touches[1] = touch1.touches[0] = 94 touch0.touches[0] = touch1.touches[1] = 97 ASSERT_EQ(1, touch1.touches[ [all...] |
H A D | touch_event_stream_validator.cc | 19 if (event.touches[i].id == id) 20 return &event.touches[i]; 49 const WebTouchPoint& previous_point = previous_event.touches[i]; 60 const WebTouchPoint& point = event.touches[i];
|
H A D | synthetic_web_input_event_builders.cc | 157 if (touches[i].state == WebTouchPoint::StateReleased) 160 touches[point] = touches[i]; 161 touches[point].state = WebTouchPoint::StateStationary; 171 WebTouchPoint& point = touches[touchesLength]; 185 WebTouchPoint& point = touches[index]; 188 touches[index].state = WebTouchPoint::StateMoved; 195 touches[index].state = WebTouchPoint::StateReleased; 202 touches[index].state = WebTouchPoint::StateCancelled;
|
H A D | web_touch_event_traits.cc | 21 if (event.touches[i].state != state) 67 event->touches[i].state = newState;
|
H A D | web_input_event_traits.cc | 99 if (event.touches[i].id == id) 116 // Ensure that we have a 1-to-1 mapping of pointer ids between touches. 121 GetIndexOfTouchID(event, event_to_coalesce.touches[i].id); 142 int i_old = GetIndexOfTouchID(old_event, event->touches[i].id); 143 if (old_event.touches[i_old].state == blink::WebTouchPoint::StateMoved) 144 event->touches[i].state = blink::WebTouchPoint::StateMoved;
|
/external/chromium_org/content/browser/renderer_host/input/ |
H A D | input_router_impl_perftest.cc | 140 Touches touches; local 146 touch.touches[0].id = 0; 147 touch.touches[0].state = WebTouchPoint::StatePressed; 148 touch.touches[0].position.x = origin.x(); 149 touch.touches[0].position.y = origin.y(); 150 touch.touches[0].screenPosition.x = origin.x(); 151 touch.touches[0].screenPosition.y = origin.y(); 152 touches.push_back(touch); 155 touch.touches[0].state = WebTouchPoint::StateMoved; 157 touch.touches[ 309 Touches touches = BuildTouchSequence(steps, origin, distance); local [all...] |
H A D | motion_event_web.cc | 48 if (event.touches[i].state != WebTouchPoint::StateUndefined && 49 event.touches[i].state != WebTouchPoint::StateStationary) 80 return event_.touches[pointer_index].id; 85 return event_.touches[pointer_index].position.x; 90 return event_.touches[pointer_index].position.y; 95 return event_.touches[pointer_index].screenPosition.x; 100 return event_.touches[pointer_index].screenPosition.y; 106 return 2.f * std::max(event_.touches[pointer_index].radiusX, 107 event_.touches[pointer_index].radiusY);
|
H A D | synthetic_gesture_target_base.cc | 60 CHECK(web_touch.touches[i].state != WebTouchPoint::StatePressed || 61 PointIsWithinContents(web_touch.touches[i].position.x, 62 web_touch.touches[i].position.y))
|
H A D | touch_event_queue.cc | 55 return (gfx::PointF(event.touches[0].position) - anchor).LengthSquared() > 203 gfx::PointF(event.touches[0].position); 220 gfx::PointF position(event.touches[0].position); 459 gfx::PointF(touch.event.touches[0].position); 466 // application be sent touches at key points in the gesture stream, 766 const WebTouchPoint& point = event.touches[i]; 792 const WebTouchPoint& point = event.touches[i]; 799 const WebTouchPoint& point = event.touches[i];
|
/external/chromium_org/third_party/skia/tests/ |
H A D | 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);
|
/external/skia/tests/ |
H A D | 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);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | WebInputEventConversionTest.cpp | 226 webTouchEvent.touches[0].state = WebTouchPoint::StateMoved; 227 webTouchEvent.touches[0].screenPosition.x = 10.6f; 228 webTouchEvent.touches[0].screenPosition.y = 10.4f; 229 webTouchEvent.touches[0].position.x = 10.6f; 230 webTouchEvent.touches[0].position.y = 10.4f; 231 webTouchEvent.touches[0].radiusX = 10.6f; 232 webTouchEvent.touches[0].radiusY = 10.4f; 234 EXPECT_FLOAT_EQ(10.6f, webTouchEvent.touches[0].screenPosition.x); 235 EXPECT_FLOAT_EQ(10.4f, webTouchEvent.touches[0].screenPosition.y); 236 EXPECT_FLOAT_EQ(10.6f, webTouchEvent.touches[ [all...] |
H A D | TouchActionTest.cpp | 318 webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ? 321 webTouchEvent.touches[0].id = kfakeTouchId; 322 webTouchEvent.touches[0].screenPosition.x = clientPoint.x(); 323 webTouchEvent.touches[0].screenPosition.y = clientPoint.y(); 324 webTouchEvent.touches[0].position.x = clientPoint.x(); 325 webTouchEvent.touches[0].position.y = clientPoint.y(); 326 webTouchEvent.touches[0].radiusX = 10; 327 webTouchEvent.touches[0].radiusY = 10;
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
H A D | splitter.js | 148 if (e.touches.length == 1) { 149 this.startDrag(e.touches[0].clientX, true); 169 if (e.touches.length == 1) 170 this.handleMove_(e.touches[0].clientX);
|
H A D | touch_handler.js | 68 * touches are removed based on the max tracking time and when direction 78 * touches are removed based on the max tracking time and when direction 211 * The maximum number of touches to track. 401 e.touches = []; 405 e.touches[0] = touch; 470 // Only process single touches. If there is already a touch happening, or 471 // two simultaneous touches then just ignore them. 472 if (e.touches.length > 1) 541 * @param {TouchList} touches The list of Touch objects to search. 545 findActiveTouch_: function(touches) { [all...] |
/external/chromium_org/chrome/browser/resources/standalone/ |
H A D | 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/ppapi/shared_impl/ |
H A D | ppb_input_event_shared.cc | 32 touches(), 124 data_.touches.push_back(point); 140 return static_cast<uint32_t>(data_.touches.size()); 155 points = &data_.touches; 177 points = &data_.touches;
|
/external/chromium_org/ui/events/gestures/ |
H A D | gesture_recognizer_impl.cc | 268 std::vector<std::pair<int, GestureConsumer*> >* touches) { 269 while (!touches->empty()) { 270 int touch_id = touches->begin()->first; 271 GestureConsumer* target = touches->begin()->second; 278 touches->erase(touches->begin()); 267 CancelTouches( std::vector<std::pair<int, GestureConsumer*> >* touches) argument
|
/external/chromium_org/ui/webui/resources/js/cr/ui/table/ |
H A D | table_header.js | 186 if (e.touches.length != 1) 188 var clientX = e.touches[0].clientX;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebInputEventConversion.cpp | 460 m_touchPoints.append(PlatformTouchPointBuilder(widget, event.touches[i])); 560 if (!event.touches()) 562 if (event.touches()->length() != 1) { 563 if (event.touches()->length() || event.type() != EventTypeNames::touchend || !event.changedTouches() || event.changedTouches()->length() != 1) 567 const Touch* touch = event.touches()->length() == 1 ? event.touches()->item(0) : event.changedTouches()->item(0); 746 static void addTouchPoints(const Widget* widget, const AtomicString& touchType, TouchList* touches, WebTouchPoint* touchPoints, unsigned* touchPointsLength, const WebCore::RenderObject* renderObject) argument 748 unsigned numberOfTouches = std::min(touches->length(), static_cast<unsigned>(WebTouchEvent::touchesLengthCap)); 750 const Touch* touch = touches->item(i); 787 addTouchPoints(widget, event.type(), event.touches(), touche [all...] |