/external/chromium_org/content/common/input/ |
touch_event_stream_validator.cc | 12 using blink::WebTouchPoint; 17 const WebTouchPoint* FindTouchPoint(const WebTouchEvent& event, int id) { 49 const WebTouchPoint& previous_point = previous_event.touches[i]; 50 if (previous_point.state == WebTouchPoint::StateCancelled || 51 previous_point.state == WebTouchPoint::StateReleased) 54 const WebTouchPoint* point = FindTouchPoint(event, previous_point.id); 60 const WebTouchPoint& point = event.touches[i]; 61 const WebTouchPoint* previous_point = 66 if (point.state != WebTouchPoint::StatePressed) 69 if (point.state == WebTouchPoint::StatePressed & [all...] |
web_touch_event_traits.cc | 11 using blink::WebTouchPoint; 17 blink::WebTouchPoint::State state) { 31 return AllTouchPointsHaveState(event, blink::WebTouchPoint::StatePressed); 48 WebTouchPoint::State newState = WebTouchPoint::StateUndefined; 51 newState = WebTouchPoint::StatePressed; 54 newState = WebTouchPoint::StateMoved; 57 newState = WebTouchPoint::StateReleased; 60 newState = WebTouchPoint::StateCancelled;
|
web_input_event_traits_unittest.cc | 15 using blink::WebTouchPoint; 23 static WebTouchPoint CreateTouchPoint(WebTouchPoint::State state, int id) { 24 WebTouchPoint touch; 86 CreateTouchPoint(WebTouchPoint::StateMoved, 1); 88 CreateTouchPoint(WebTouchPoint::StateMoved, 0); 95 CreateTouchPoint(WebTouchPoint::StateMoved, 1); 99 EXPECT_EQ(WebTouchPoint::StateUndefined, touch1.touches[1].state); 100 EXPECT_EQ(WebTouchPoint::StateMoved, touch1.touches[0].state); 104 touch0.touches[0] = CreateTouchPoint(WebTouchPoint::StateMoved, 1) [all...] |
web_touch_event_traits.h | 19 blink::WebTouchPoint::State state);
|
synthetic_web_input_event_builders.cc | 19 using blink::WebTouchPoint; 157 if (touches[i].state == WebTouchPoint::StateReleased) 161 touches[point].state = WebTouchPoint::StateStationary; 171 WebTouchPoint& point = touches[touchesLength]; 175 point.state = WebTouchPoint::StatePressed; 185 WebTouchPoint& point = touches[index]; 188 touches[index].state = WebTouchPoint::StateMoved; 195 touches[index].state = WebTouchPoint::StateReleased; 202 touches[index].state = WebTouchPoint::StateCancelled;
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebTouchPoint.h | 39 class WebTouchPoint { 41 WebTouchPoint()
|
WebInputEvent.h | 37 #include "WebTouchPoint.h" 492 WebTouchPoint touches[touchesLengthCap]; 496 WebTouchPoint changedTouches[touchesLengthCap]; 500 WebTouchPoint targetTouches[touchesLengthCap];
|
/external/chromium_org/content/browser/renderer_host/ |
ui_events_helper.h | 15 class WebTouchPoint; 37 // WebTouchPoint.position or WebTouchPoint.screenPosition. Is's up to the 54 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was 56 blink::WebTouchPoint* UpdateWebTouchEventFromUIEvent(
|
ui_events_helper.cc | 38 blink::WebTouchPoint::State state) { 40 case blink::WebTouchPoint::StateReleased: 43 case blink::WebTouchPoint::StatePressed: 46 case blink::WebTouchPoint::StateMoved: 49 case blink::WebTouchPoint::StateCancelled: 57 blink::WebTouchPoint::State TouchPointStateFromEvent( 61 return blink::WebTouchPoint::StatePressed; 63 return blink::WebTouchPoint::StateReleased; 65 return blink::WebTouchPoint::StateMoved; 67 return blink::WebTouchPoint::StateCancelled [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
motion_event_web.cc | 12 using blink::WebTouchPoint; 22 event, WebTouchPoint::StatePressed)) 28 event, WebTouchPoint::StateReleased)) 34 event, WebTouchPoint::StateCancelled)); 48 if (event.touches[i].state != WebTouchPoint::StateUndefined && 49 event.touches[i].state != WebTouchPoint::StateStationary)
|
web_input_event_util.cc | 15 using blink::WebTouchPoint; 157 // WebTouchPoint::State. 158 WebTouchPoint::State ToWebTouchPointState(MotionEvent::Action action, 162 return WebTouchPoint::StatePressed; 164 return WebTouchPoint::StateMoved; 166 return WebTouchPoint::StateReleased; 168 return WebTouchPoint::StateCancelled; 170 return is_action_pointer ? WebTouchPoint::StatePressed 171 : WebTouchPoint::StateStationary; 173 return is_action_pointer ? WebTouchPoint::StateRelease [all...] |
synthetic_gesture_target_base.cc | 17 using blink::WebTouchPoint; 60 CHECK(web_touch.touches[i].state != WebTouchPoint::StatePressed ||
|
mock_input_ack_handler.cc | 16 using blink::WebTouchPoint;
|
mock_input_router_client.cc | 17 using blink::WebTouchPoint;
|
touch_event_queue.cc | 16 using blink::WebTouchPoint; 766 const WebTouchPoint& point = event.touches[i]; 768 if (point.state == WebTouchPoint::StateStationary) 792 const WebTouchPoint& point = event.touches[i]; 793 if (point.state == WebTouchPoint::StateReleased || 794 point.state == WebTouchPoint::StateCancelled) 799 const WebTouchPoint& point = event.touches[i]; 800 if (point.state == WebTouchPoint::StatePressed)
|
input_router_impl_perftest.cc | 22 using blink::WebTouchPoint; 147 touch.touches[0].state = WebTouchPoint::StatePressed; 155 touch.touches[0].state = WebTouchPoint::StateMoved; 165 touch.touches[0].state = WebTouchPoint::StateReleased;
|
synthetic_gesture_target_android.cc | 72 const blink::WebTouchPoint* point = &web_touch.touches[i];
|
web_input_event_builders_android.cc | 20 using blink::WebTouchPoint;
|
touch_emulator.cc | 24 using blink::WebTouchPoint; 377 WebTouchPoint& point = touch_event_.touches[0];
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebInputEventConversion.cpp | 393 inline PlatformTouchPoint::State toPlatformTouchPointState(const WebTouchPoint::State state) 396 case WebTouchPoint::StateReleased: 398 case WebTouchPoint::StatePressed: 400 case WebTouchPoint::StateMoved: 402 case WebTouchPoint::StateStationary: 404 case WebTouchPoint::StateCancelled: 406 case WebTouchPoint::StateUndefined: 412 inline WebTouchPoint::State toWebTouchPointState(const AtomicString& type) 415 return WebTouchPoint::StateReleased; 417 return WebTouchPoint::StateCancelled [all...] |
WebInputEventConversion.h | 85 // Converts a WebTouchPoint to a WebCore::PlatformTouchPoint. 88 PlatformTouchPointBuilder(WebCore::Widget*, const WebTouchPoint&);
|
WebInputEvent.cpp | 64 WebTouchPoint touchPoints[3 * WebTouchEvent::touchesLengthCap];
|
/external/chromium_org/content/renderer/pepper/ |
event_conversion.cc | 36 using blink::WebTouchPoint; 219 void SetPPTouchPoints(const WebTouchPoint* touches, 223 const WebTouchPoint& touch_point = touches[i]; 259 typedef std::map<uint32_t, WebTouchPoint::State> TouchStateMap; 263 WebTouchPoint* web_touches, 269 WebTouchPoint pt; 274 pt.state = WebTouchPoint::StateStationary; 294 WebTouchPoint::State state = WebTouchPoint::StateUndefined; 299 state = WebTouchPoint::StatePressed [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
TestPlugin.cpp | 24 #include "third_party/WebKit/public/web/WebTouchPoint.h" 72 const char* pointState(WebTouchPoint::State state) 75 case WebTouchPoint::StateReleased: 77 case WebTouchPoint::StatePressed: 79 case WebTouchPoint::StateMoved: 81 case WebTouchPoint::StateCancelled: 88 void printTouchList(WebTestDelegate* delegate, const WebTouchPoint* points, int length)
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
TouchActionTest.cpp | 319 WebTouchPoint::StatePressed : 320 WebTouchPoint::StateCancelled);
|