/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | TouchList.h | 45 static PassRefPtrWillBeRawPtr<TouchList> adopt(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) argument 47 return adoptRefWillBeNoop(new TouchList(touches)); 62 TouchList(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) argument 64 m_values.swap(touches);
|
/external/chromium_org/content/renderer/pepper/ |
H A D | event_conversion_unittest.cc | 23 if (actual.touches[j].id == expected.touches[i].id) 27 EXPECT_EQ(expected.touches[i].id, actual.touches[j].id); 28 EXPECT_EQ(expected.touches[i].state, actual.touches[j].state); 29 EXPECT_EQ(expected.touches[i].position.x, actual.touches[j].position.x); 30 EXPECT_EQ(expected.touches[i].position.y, actual.touches[ [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
H A D | motion_event_web.cc | 54 if (event.touches[i].state != WebTouchPoint::StateUndefined && 55 event.touches[i].state != WebTouchPoint::StateStationary) 86 return event_.touches[pointer_index].id; 91 return event_.touches[pointer_index].position.x; 96 return event_.touches[pointer_index].position.y; 101 return event_.touches[pointer_index].screenPosition.x; 106 return event_.touches[pointer_index].screenPosition.y; 111 return 2.f * std::max(event_.touches[pointer_index].radiusX, 112 event_.touches[pointer_index].radiusY); 117 return 2.f * std::min(event_.touches[pointer_inde [all...] |
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 | 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_emulator_unittest.cc | 79 EXPECT_EQ(last_mouse_x_, event.touches[0].position.x); 80 EXPECT_EQ(last_mouse_y_, event.touches[0].position.y); 211 event.touches[0].id = 0; 212 event.touches[0].state = state; 213 event.touches[0].position.x = x; 214 event.touches[0].position.y = y; 215 event.touches[0].screenPosition.x = x; 216 event.touches[0].screenPosition.y = y;
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | TouchEvent.h | 45 static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches, argument 50 return adoptRefWillBeNoop(new TouchEvent(touches, targetTouches, changedTouches, type, view, 54 void initTouchEvent(TouchList* touches, TouchList* targetTouches, 60 TouchList* touches() const { return m_touches.get(); } function in class:blink::FINAL 64 void setTouches(PassRefPtrWillBeRawPtr<TouchList> touches) { m_touches = touches; } argument 78 TouchEvent(TouchList* touches, TouchList* targetTouches,
|
H A D | TouchEvent.cpp | 42 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches, argument 48 , m_touches(touches) 58 void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches, argument 73 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:blink::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 | web_touch_event_traits.cc | 21 if (event.touches[i].state != state) 41 if (event.touches[i].state != blink::WebTouchPoint::StateReleased && 42 event.touches[i].state != blink::WebTouchPoint::StateCancelled) 81 event->touches[i].state = newState;
|
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 | touch_event_stream_validator.cc | 19 if (event.touches[i].id == id) 20 return &event.touches[i]; 57 const WebTouchPoint& previous_point = previous_event.touches[i]; 69 const WebTouchPoint& point = event.touches[i];
|
H A D | touch_event_stream_validator_unittest.cc | 128 event.touches[0].state = WebTouchPoint::StatePressed; 161 event.touches[0].state = static_cast<WebTouchPoint::State>(j); 162 if (event.touches[0].state == kValidTouchPointStatesForType[i]) {
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | WebInputEventConversionTest.cpp | 137 EXPECT_EQ(WebTouchPoint::StatePressed, webTouchBuilder.touches[0].state); 138 EXPECT_FLOAT_EQ(p0.screenPosition.x, webTouchBuilder.touches[0].screenPosition.x); 139 EXPECT_FLOAT_EQ(p0.screenPosition.y, webTouchBuilder.touches[0].screenPosition.y); 140 EXPECT_FLOAT_EQ(p0.position.x, webTouchBuilder.touches[0].position.x); 141 EXPECT_FLOAT_EQ(p0.position.y, webTouchBuilder.touches[0].position.y); 142 EXPECT_FLOAT_EQ(p0.radiusX, webTouchBuilder.touches[0].radiusX); 143 EXPECT_FLOAT_EQ(p0.radiusY, webTouchBuilder.touches[0].radiusY); 144 EXPECT_FLOAT_EQ(p0.rotationAngle, webTouchBuilder.touches[0].rotationAngle); 145 EXPECT_FLOAT_EQ(p0.force, webTouchBuilder.touches[0].force); 160 EXPECT_EQ(WebTouchPoint::StateMoved, webTouchBuilder.touches[ [all...] |
H A D | TouchActionTest.cpp | 315 webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ? 318 webTouchEvent.touches[0].id = kfakeTouchId; 319 webTouchEvent.touches[0].screenPosition.x = clientPoint.x(); 320 webTouchEvent.touches[0].screenPosition.y = clientPoint.y(); 321 webTouchEvent.touches[0].position.x = clientPoint.x(); 322 webTouchEvent.touches[0].position.y = clientPoint.y(); 323 webTouchEvent.touches[0].radiusX = 10; 324 webTouchEvent.touches[0].radiusY = 10;
|
/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/ui/webui/resources/js/cr/ui/ |
H A D | splitter.js | 147 if (e.touches.length == 1) { 148 this.startDrag(e.touches[0].clientX, true); 168 if (e.touches.length == 1) 169 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/ui/file_manager/gallery/js/ |
H A D | slide_mode.js | 1419 * touches. 1423 var touch1 = event.touches[0]; 1424 var touch2 = event.touches[1]; 1433 * touches. 1435 * two touches. 1439 var dx1 = event1.touches[1].clientX - event1.touches[0].clientX; 1440 var dy1 = event1.touches[1].clientY - event1.touches[0].clientY; 1441 var dx2 = event2.touches[ [all...] |
/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/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;
|