/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TouchList.h | 44 static PassRefPtrWillBeRawPtr<TouchList> create(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) 46 return adoptRefWillBeNoop(new TouchList(touches)); 64 TouchList(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) 66 m_values.swap(touches);
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
TouchEvent.h | 44 static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches, 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; } 77 TouchEvent(TouchList* touches, TouchList* targetTouches,
|
TouchEvent.cpp | 42 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches, 48 , m_touches(touches) 59 void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches, 74 m_touches = touches;
|
TouchEventContext.h | 45 TouchList& touches() { return *m_touches; } function in class:WebCore::TouchEventContext
|
TouchEvent.idl | 26 readonly attribute TouchList touches; 34 void initTouchEvent([Default=Undefined] optional TouchList touches,
|
/external/chromium_org/content/common/input/ |
web_input_event_traits_unittest.cc | 60 // Touches of different types won't coalesce. 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] [all...] |
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];
|
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;
|
web_touch_event_traits.cc | 21 if (event.touches[i].state != state) 67 event->touches[i].state = newState;
|
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/ |
input_router_impl_perftest.cc | 136 typedef std::vector<WebTouchEvent> Touches; 137 Touches BuildTouchSequence(size_t steps, 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() 309 Touches touches = BuildTouchSequence(steps, origin, distance); local [all...] |
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);
|
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))
|
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];
|
synthetic_gesture_controller_unittest.cc | 164 start_.SetPoint(touch_event.touches[0].position.x, 165 touch_event.touches[0].position.y); 172 gfx::PointF touch_point(touch_event.touches[0].position.x, 173 touch_event.touches[0].position.y); 214 start_0_ = gfx::PointF(touch_event.touches[0].position); 215 start_1_ = gfx::PointF(touch_event.touches[1].position); 225 gfx::PointF current_0 = gfx::PointF(touch_event.touches[0].position); 226 gfx::PointF current_1 = gfx::PointF(touch_event.touches[1].position); 314 position_ = gfx::PointF(touch_event.touches[0].position); 321 EXPECT_EQ(position_, gfx::PointF(touch_event.touches[0].position)) [all...] |
/external/chromium_org/third_party/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);
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
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[0].position.x) [all...] |
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;
|
/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...] |
/external/chromium_org/ppapi/shared_impl/ |
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/ |
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());
|
gesture_recognizer_impl.h | 64 void CancelTouches(std::vector<std::pair<int, GestureConsumer*> >* touches);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
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) 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(), touches, &touchesLength, renderObject) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
RangeInputType.cpp | 167 TouchList* touches = event->targetTouches(); local 168 if (touches->length() == 1) { 169 sliderThumbElement()->setPositionFromPoint(touches->item(0)->absoluteLocation());
|