/external/chromium_org/content/renderer/pepper/ |
D | event_conversion_unittest.cc | 19 ASSERT_EQ(expected.touchesLength, actual.touchesLength); in CompareWebTouchEvents() 20 for (size_t i = 0; i < expected.touchesLength; ++i) { in CompareWebTouchEvents() 22 for (; j < actual.touchesLength; ++j) { in CompareWebTouchEvents() 26 ASSERT_NE(j, actual.touchesLength); in CompareWebTouchEvents() 59 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F() 86 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F() 113 ASSERT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F() 141 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F()
|
D | event_conversion.cc | 256 touch_event.touches, touch_event.touchesLength, ACTIVE, &result.touches); in AppendTouchEvent() 258 touch_event.touchesLength, in AppendTouchEvent() 262 touch_event.touchesLength, in AppendTouchEvent() 346 web_event->touchesLength = 0; in BuildTouchEvent() 353 &web_event->touchesLength); in BuildTouchEvent() 357 &web_event->touchesLength); in BuildTouchEvent()
|
/external/chromium_org/content/common/input/ |
D | web_touch_event_traits.cc | 18 if (!event.touchesLength) in AllTouchPointsHaveState() 20 for (size_t i = 0; i < event.touchesLength; ++i) { in AllTouchPointsHaveState() 28 DCHECK(event.touchesLength); in IsTouchSequenceStart() 38 if (!event.touchesLength) in IsTouchSequenceEnd() 40 for (size_t i = 0; i < event.touchesLength; ++i) { in IsTouchSequenceEnd() 80 for (size_t i = 0; i < event->touchesLength; ++i) in ResetTypeAndTouchStates()
|
D | touch_event_stream_validator.cc | 18 for (unsigned i = 0; i < event.touchesLength; ++i) { in FindTouchPoint() 41 if (!event.touchesLength) { in Validate() 56 for (unsigned i = 0; i < previous_event.touchesLength; ++i) { in Validate() 68 for (unsigned i = 0; i < event.touchesLength; ++i) { in Validate()
|
D | synthetic_web_input_event_builders.cc | 156 for (unsigned int i = 0; i < touchesLength; ++i) { in ResetPoints() 164 touchesLength = point; in ResetPoints() 169 if (touchesLength == touchesLengthCap) in PressPoint() 171 WebTouchPoint& point = touches[touchesLength]; in PressPoint() 172 point.id = touchesLength; in PressPoint() 177 ++touchesLength; in PressPoint()
|
D | web_input_event_traits.cc | 98 for (unsigned i = 0; i < event.touchesLength; ++i) { in GetIndexOfTouchID() 110 event.touchesLength != event_to_coalesce.touchesLength || in CanCoalesce() 111 event.touchesLength > WebTouchEvent::touchesLengthCap) in CanCoalesce() 118 (1 << event.touchesLength) - 1); in CanCoalesce() 119 for (unsigned i = 0; i < event_to_coalesce.touchesLength; ++i) { in CanCoalesce() 141 for (unsigned i = 0; i < event->touchesLength; ++i) { in Coalesce()
|
D | touch_event_stream_validator_unittest.cc | 127 event.touchesLength = 1; in TEST() 156 event.touchesLength = 1; in TEST()
|
D | web_input_event_traits_unittest.cc | 37 event.touchesLength = touch_count; in CreateTouch()
|
D | input_param_traits_unittest.cc | 172 touch_event.touchesLength = 1; in TEST_F()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | motion_event_web.cc | 24 DCHECK(event.touchesLength); in GetActionFrom() 53 for (size_t i = 0; i < event.touchesLength; ++i) { in GetActionIndexFrom() 82 size_t MotionEventWeb::GetPointerCount() const { return event_.touchesLength; } in GetPointerCount()
|
D | touch_event_queue.cc | 250 if (event.touchesLength > 1) { in FilterEvent() 252 } else if (event.touchesLength == 1) { in FilterEvent() 747 for (unsigned int i = 0; i < event.touchesLength; ++i) { in FilterBeforeForwarding() 766 for (unsigned i = 0; i < event.touchesLength; ++i) { in UpdateTouchConsumerStates() 773 for (unsigned i = 0; i < event.touchesLength; ++i) { in UpdateTouchConsumerStates()
|
D | web_input_event_util.cc | 270 result.touchesLength = in CreateWebTouchEventFromMotionEvent() 273 DCHECK_GT(result.touchesLength, 0U); in CreateWebTouchEventFromMotionEvent() 275 for (size_t i = 0; i < result.touchesLength; ++i) in CreateWebTouchEventFromMotionEvent()
|
D | synthetic_gesture_target_android.cc | 70 const unsigned num_touches = web_touch.touchesLength; in DispatchWebTouchEventToPlatform()
|
D | synthetic_gesture_target_base.cc | 59 for (unsigned i = 0; i < web_touch.touchesLength; i++) in DispatchInputEventToPlatform()
|
D | touch_emulator_unittest.cc | 78 EXPECT_EQ(1U, event.touchesLength); in ForwardEmulatedTouchEvent() 210 event.touchesLength = 1; in MakeTouchEvent()
|
D | synthetic_gesture_controller_unittest.cc | 160 ASSERT_EQ(touch_event.touchesLength, 1U); in DispatchInputEventToPlatform() 209 ASSERT_EQ(touch_event.touchesLength, 2U); in DispatchInputEventToPlatform() 309 ASSERT_EQ(touch_event.touchesLength, 1U); in DispatchInputEventToPlatform()
|
D | touch_event_queue_unittest.cc | 809 followup_event.touchesLength = 1; in TEST_F() 878 followup_event.touchesLength = 1; in TEST_F() 887 stationary_event.touchesLength = 1; in TEST_F() 2081 followup_cancel.touchesLength = 1; in TEST_F()
|
D | touch_emulator.cc | 418 touch_event_.touchesLength = 1; in FillTouchEventAndPoint()
|
D | input_router_impl_perftest.cc | 144 touch.touchesLength = 1; in BuildTouchSequence()
|
/external/chromium_org/content/browser/renderer_host/ |
D | ui_events_helper.cc | 123 for (unsigned i = 0; i < touch.touchesLength; ++i) { in MakeUITouchEventsFromWebTouchEvents() 253 if (web_event->touchesLength < blink::WebTouchEvent::touchesLengthCap) { in UpdateWebTouchEventFromUIEvent() 254 point = &web_event->touches[web_event->touchesLength++]; in UpdateWebTouchEventFromUIEvent() 265 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent() 297 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent()
|
D | render_widget_host_view_aura_unittest.cc | 837 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 845 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 853 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F() 865 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 873 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 881 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F() 887 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 906 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() 915 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F() 943 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebInputEventConversionTest.cpp | 135 ASSERT_EQ(1u, webTouchBuilder.touchesLength); in TEST() 158 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST() 175 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST() 192 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST() 212 … ASSERT_EQ(static_cast<unsigned>(WebTouchEvent::touchesLengthCap), webTouchBuilder.touchesLength); in TEST() 346 webTouchEvent.touchesLength = 1; in TEST() 413 ASSERT_EQ(1u, webTouchBuilder.touchesLength); in TEST() 552 webTouchEvent.touchesLength = 1; in TEST() 696 webTouchEvent.touchesLength = 1; in TEST()
|
D | TouchActionTest.cpp | 314 webTouchEvent.touchesLength = 1; in sendTouchEvent()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebInputEvent.h | 490 unsigned touchesLength; variable 501 , touchesLength(0) in WebTouchEvent()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebInputEventConversion.cpp | 457 for (unsigned i = 0; i < event.touchesLength; ++i) in PlatformTouchEventBuilder() 804 …toWebTouchPointState(event.type()), event.changedTouches(), touches, &touchesLength, renderObject); in WebTouchEventBuilder() 805 …ed(widget, WebTouchPoint::StateStationary, event.touches(), touches, &touchesLength, renderObject); in WebTouchEventBuilder()
|